IBM Support

PH36441: FIX DESERIALIZATION ISSUE FOR LISTS WHEN JAXB.FP.FALLBACK.FOR.TYPED.ARRAYS IS ENABLED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • java.lang.InstantiationError:
    ch.css.common.ibm.jaxb.bug.Child
    at
    ch.css.common.ibm.jaxb.bug.Child_JAXB_Deserialization_Stub.start
    (ch.css.common.ibm.jaxb.bug.Child_JAXB_Deserialization_Stub.java
    )
    
    This problem resulted using Subclasses in a List or child XML
    elements after setting system property
    -Djaxb.fp.fallback.for.typed.arrays=true for
    https://www.ibm.com/support/pages/apar/PI80477)
    
    XML development reproduced the issue locally and confirmed that
    it was related to enabling jaxb.fp.fallback.for.typed.arrays
    property.
    
    Depending on contents of JAXBContext (if does have typed array
    such as int[]) there is no difference between
    -Dcom.ibm.xml.xlxp.jaxb.opti.level=2 set and without it. As the
    JAXBContexts with arrays such as int[] are not supported by
    optimized code.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Failure to deserialize List when        *
    *                      jaxb.fp.fallback.for.typed.arrays=true  *
    *                      system property is enabled              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Failure to deserialize a List correctly when system property
    jaxb.fp.fallback.for.typed.arrays introduced in PI80477 is
    enabled.
    java.lang.InstantiationError is thrown as the the unmarshaller
    does not correctly track the type of objects in the list.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH36441

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-04-20

  • Closed date

    2021-07-12

  • Last modified date

    2021-07-12

  • 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

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900"}]

Document Information

Modified date:
16 July 2021