IBM Support

PI91529: NULLPOINTEREXCEPTION IS THROWN WHEN PROCESSING APPLICATION DEPLOYMENT.XML FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During application server startup , it processes every
    application deployment.xml file when starting those apps
    however when there is a corruption for example :
    
        <targetMappings
    xmi:id="DeploymentTargetMapping_1510814874186"
    enable="false"/>
    
    This is missing a "target" attribute which throws NPE but this
    is not useful to determine what is missing in deployment.xml
    file.
    

Local fix

  • Redeploy the application
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: The server emits warning WSVR0100W      *
    *                      indicating a NullPointerException       *
    *                      occurred while starting an              *
    *                      application.                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When starting an application the server emits warning
    WSVR0100W indicating a NullPointerException occurred in class
    com.ibm.ws.runtime.component.DeployedApplicationImpl:
    [22/11/18 12:37:01:962 CET] 0000007a ApplicationMg E
    WSVR0100W: An error occurred initializing, ibmasyncrsp
    java.lang.NullPointerException
    at
    com.ibm.ws.runtime.component.DeployedApplicationImpl.
    initialize(DeployedApplicationImpl.java:551)
    at
    com.ibm.ws.runtime.component.DeployedApplicationImpl.
    initialize(DeployedApplicationImpl.java:443)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.
    initializeApplication(ApplicationMgrImpl.java:408)
    at
    com.ibm.ws.runtime.component.ApplicationMgrImpl.start
    (ApplicationMgrImpl.java:2211)
    at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start
    (CompositionUnitMgrImpl.java:435)
    at
    com.ibm.ws.runtime.component.CompositionUnitImpl.start
    (CompositionUnitImpl.java:123)
    at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start
    (CompositionUnitMgrImpl.java:378)
    This NullPointerException occurs whenever the
    targetMappings element within the application deployment
    descriptor (i.e., the deployment.xml file) lacks the
    "target" attribute.  Here's a example of a well-formed
    targetMapping element.
    <targetMappings
    xmi:id="DeploymentTargetMapping_1510814874186"
    enable="false"
    target="ServerTarget_1185820123453/>
    

Problem conclusion

  • Apply APAR PI91529 to resolve the NullPointerException that
    occurs whenever the server starts an application that lacks
    the target attribute within its deployment description.
    
    PI91529 does not resolve the corrupted application
    deployment. That is, after applying PI91529 the server will
    continue to emit warning WSVR0100W whenever the application
    deployment is corrupt. For this problem, however, the warning
    will provide information about the corruption rather than a
    NullPointerException.
    
    To resolve a corrupt application deployment, either restore
    the deployment to a previous working version or reinstall
    the application.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.16 and 9.0.5.0.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI91529

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-13

  • Closed date

    2019-04-17

  • Last modified date

    2019-04-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022