IBM Support

PM15736: NullPointerException may occur when CDATA is present in the SOAP message body sent to a JAX-WS Web service

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When CDATA is present in SOAP message body, the
    java.lang.NullPointerException error may occur:
    
    Caused by: java.lang.NullPointerException
    at java.lang.StringBuilder.append(StringBuilder.java:112)
    at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector
    .handleCharacters(StAXStreamConnector.java:305)
    at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector
    .bridge(StAXStreamConnector.java:169)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl
    .unmarshal0(UnmarshallerImpl.java:340)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl
    .unmarshal(UnmarshallerImpl.java:312)
    at
    org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl$2
    .run(JAXBBlockImpl.java:317)
    ... ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Feature    *
    *                  Pack for Web Services users of JAX-WS       *
    ****************************************************************
    * PROBLEM DESCRIPTION: When theJAX-WS engine processes the     *
    *                      SOAP message, the CDATA in the          *
    *                      SOAP message body is skipped.           *
    ****************************************************************
    * RECOMMENDATION:  Install a fixpack containing this APAR      *
    ****************************************************************
    When the JAX-WS runtime processes a SOAP message with CDATA in
    theSOAP body, a java.lang.NullPointerException error may occur:
    
    Caused by:
    java.lang.NullPointerException
    at
    java.lang.StringBuilder.append(StringBuilder.java:112)
    at
    com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.han
    dleCharacters(StAXStreamConnector.java:305)
    at
    com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bri
    dge(StAXStreamConnector.java:169)
    at
    com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmars
    hal0(UnmarshallerImpl.java:340)
    at
    com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmars
    hal(UnmarshallerImpl.java:312)
    at
    org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl$2.
    run(JAXBBlockImpl.java:317)
    ... ...
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM15736

  • Reported component name

    WEBSERVIC FEATU

  • Reported component ID

    5724J0850

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-02

  • Closed date

    2010-06-08

  • Last modified date

    2010-06-08

  • 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

    WEBSERVIC FEATU

  • Fixed component ID

    5724J0850

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 October 2021