IBM Support

PM70443: GETTING NULLPOINTEREXCEPTION WHEN RUNNING LAZY PARSING MODULE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is getting a NullPointerException when calling
    TypeRegistry.performSchemaLoad.
    The SCA module is using lazy parsing. The behaviour does not
    occur when using the eager parsing.
    User is getting the error below:
    
    [8/1/12 21:04:09:723 EDT] 00000050 FfdcProvider  W
    com.ibm.ws.ffdc.impl.
    FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on
    
    /app/websphere/< >/logs/ffdc/< >/.
    <ffdc.txt>.txt com.
    ibm.ws.sca.internal.jaxws.handler.JaxWsExportHandler 002
    
    [8/1/12 21:04:09:745 EDT] 00000050 WebServiceExc E
    org.apache.axis2.
    jaxws.WebServiceExceptionLogger log A
    javax.xml.ws.WebServiceException
    throwable was caught.  The detail message is: at
    com.ibm.wsspi.sca.
    
    ::::::::::::::::::::::
    
    Caused by: java.lang.NullPointerException
    
     at
    com.ibm.xml.xml4j.internal.s1.impl.xs.traversers.XSDHandler.
    addRelatedType(Unknown Source)
    
     at
    com.ibm.xml.xml4j.internal.s1.impl.xs.traversers.XSDHandler.
    expandRelatedElementComponents(Unknown Source)
    
     at
    com.ibm.xml.xml4j.internal.s1.impl.xs.traversers.XSDHandler.
    addRelatedElement(Unknown Source)
    

Local fix

  • Use eager parser in the meantime.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server        *
    *                  Feature                                     *
    *                  Pack for XML users                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: During schema load, a                   *
    *                      NullPointerException is thrown from     *
    *                      XSDHandler.addRelatedType()             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Target namespace of a schema component can be null. The NPE is
    caused by calling .equals() on a null namespace.
    

Problem conclusion

  • Fixed by calling .equals() on a non-null String and passing the
    target namespace as a parameter to .equals().
    
    The fix for this APAR is currently targeted for inclusion in XML
    Feature Pack fix pack 1.0.0.15. 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

    PM70443

  • Reported component name

    WAS SCA FEATURE

  • Reported component ID

    5724J0854

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-07

  • Closed date

    2012-10-16

  • Last modified date

    2012-10-16

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

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

    PM70605

Fix information

  • Fixed component name

    XML FEATUREPACK

  • Fixed component ID

    5724J0856

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022