IBM Support

PM99659: Java applications using enums that implement a toString( ) method with XDF maps.

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

  • An ObjectGridRuntimeException exception is thrown with the
    message "No enum constant XXXX" where XXXX is the name of the
    toString( ) output of the previously serialized enum.
    Enum values that implement the toString( ) method are being
    incorrectly serialized and cannot be deserialized
    

Local fix

  • Corrected the serialization logic to use the appropriate enum
    name when serializing an enum.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users with applications that are using      *
    *                  enums                                       *
    *                  that implement a toString( ) method with    *
    *                  eXtreme data format (XDF) maps.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: An ObjectGridRuntimeException           *
    *                      exception occurs. The following message *
    *                      is displayed: "No enum constant XXXX"   *
    *                      where XXXX is the name of the toString( *
    *                      )                                       *
    *                      output of the previously serialized     *
    *                      enum.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Enum values that implement the toString( ) method are being
    not serialized correctly and cannot be deserialized.
    

Problem conclusion

  • The serialization logic was corrected to use the appropriate enu
    name when serializing an enum.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM99659

  • Reported component name

    WS EXTREME SCAL

  • Reported component ID

    5724X6702

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-22

  • Closed date

    2013-10-29

  • Last modified date

    2013-10-29

  • 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

    WS EXTREME SCAL

  • Fixed component ID

    5724X6702

Applicable component levels

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTVLU","label":"WebSphere eXtreme Scale"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"860","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2013