IBM Support

PM97876: JAXB RUNTIME MAY LOSE SOME PRIMITIVE TYPE VALUES OR WRITE THEM TO AN INCORRECT FIELD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When an XML document contains an xsi:type attribute the IBM
    JAXB Unmarshaller may occasionally omit a primitive type value
    from the JAXB object or write it to an incorrect field.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server V7.0   *
    *                  users of JAXB and JAX-WS.                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Unmarshalling of an XML document with   *
    *                      the IBM JAXB runtime may result in an   *
    *                      object with missing data or data that   *
    *                      has been written to an incorrect        *
    *                      location.                               *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack that contains this       *
    *                  APAR.                                       *
    ****************************************************************
    An application attempting to unmarshal a document containing
    an xsi:type attribute and primitive type values may receive a
    JAXB object which is missing data that was in the original XML
    document or a JAXB object which contains data that has been
    written to an incorrect location.
    

Problem conclusion

  • For efficiency, the JAXB Unmarshaller generates stub classes
    at runtime to assist in unmarshalling the XML document. An
    error in the generation of these classes could cause primitive
    type values to be skipped or written to incorrect fields when
    the enclosing element has an xsi:type attribute. The problem
    was resolved by fixing the stub class code generator so that
    it correctly handles this scenario.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.31. 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

    PM97876

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-26

  • Closed date

    2013-11-06

  • Last modified date

    2013-11-06

  • 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

  • R700 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":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 November 2021