IBM Support

IZ85781: JAVA6 FAILURES WHEN ENCODING/DECODING BEAN CLASSES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Exception during encoding:java.lang.Exception:
    failed to write statement: Collections$UnmodifiableSet.add("A");
    Continue...
    Exception during encoding:java.lang.Exception: failed to write
    statement: Collections$UnmodifiableSet.add("B");
    Continue...
    Exception during encoding:java.lang.Exception: failed to write
    statement: Collections$UnmodifiableSet.add("C");
    Continue...
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • This problem is caused when a object of internal class in
    java.util.Collections, for instance,
    Collections.unmodifiableCollection(Collection<?>), IBMJDK prints
    exception message like:
    Exception during encoding:java.lang.Exception: failed to write
    statement: Collections$UnmodifiableSet.add("A");
    Continue...
    while SUNJDK successfully encodes the object.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    .
    java.beans.UtilCollectionsPersistenceDelegate has been added to
    Beans module to process those objects generated by methods of
    java.util.Collections to prevent the above exception to be
    thrown.
    .
    To obtain the fix:
    Install build 20101002 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ85781

  • 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-09-28

  • Closed date

    2010-10-08

  • Last modified date

    2013-10-21

  • 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:
21 October 2013