IBM Support

IZ83492: ENCODED.SETESCAPE() RETURNS NULLPOINTEREXCEPTION WITH WEBSERVICE INOKE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NullPointerException
    .
    Stack Trace: Caused by: java.lang.NullPointerException
                       at
    com.sun.xml.bind.v2.runtime.output.Encoded.setEscape(Encoded.jav
    a:71)
     at
    com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput.doText(UTF8XmlO
    utput.java:255)
     at
    com.sun.xml.bind.v2.runtime.output.UTF8XmlOutput.text(UTF8XmlOut
    put.java:244)
     at
    com.sun.xml.bind.v2.runtime.XMLSerializer.leafElement(XMLSeriali
    zer.java:292)
     at
    com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$1.writ
    eLeafElement(RuntimeBuiltinLeafInfoImpl.java:172)
     at
    com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$1.writ
    eLeafElement(RuntimeBuiltinLeafInfoImpl.java:171)
     at
    com.sun.xml.bind.v2.model.impl.RuntimeEnumLeafInfoImpl.writeLeaf
    Element(RuntimeEnumLeafInfoImpl.java:127)
     at
    com.sun.xml.bind.v2.model.impl.RuntimeEnumLeafInfoImpl.writeLeaf
    Element(RuntimeEnumLeafInfoImpl.java:29)
     at
    com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$Composite
    TransducedAccessorImpl.writeLeafElementTransducedAccessor.java:2
    14)
     at
    com.sun.xml.bind.v2.runtime.property.SingleElementLeafProperty.s
    erializeBody(SingleElementLeafProperty.java:62)
     at
    com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(Clas
    sBeanInfoImpl.java:286)
    
     at
    com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSeri
    alizer.java:619)
    
     at
    com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.s
    erializeBody(SingleElementNodeProperty.java:113)
    .
    

Local fix

  • NA
    

Problem summary

  • Marshaller.marshall throws NPE if an adapter adapts a non-null
    bound value to null.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    .
    Null detection logic wasn't taking the adapter into account,
    that is fixed with IBM Java6 SR9.
    .
    To obtain the fix:
    Install build 20101008 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ83492

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-08-26

  • Closed date

    2010-10-20

  • Last modified date

    2010-10-20

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 October 2010