IBM Support

IX90157: ERROR IN DE-SERIALIZATION OF ENUM TYPE IN EJB

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

  • Error Message: InstantiationError occurred while un-marshalling
    a Enum type in EJB
    .
    Stack Trace: Exception in thread "P=499421:O=0:CT"
    java.lang.InstantiationError:examples.EntityModeat
    sun.reflect.GeneratedSerializationConstructorAccessor1.newInstan
    ce(Unknown Source)at
    java.lang.reflect.Constructor.newInstance(Constructor.java:541)a
    t
    com.ibm.rmi.io.SunSerializableFactory$1.run(SunSerializableFacto
    ry.java:111)at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:330)at
    com.ibm.rmi.io.SunSerializableFactory.createSerializable(SunSeri
    alizableFactory.java:87)at
    com.ibm.rmi.io.IIOPInputStream.readSerializable(IIOPInputStream.
    java:1564)at
    com.ibm.rmi.io.IIOPInputStream.simpleReadObjectInternal(IIOPInpu
    tStream.java:653)at
    com.ibm.rmi.io.IIOPInputStream.simpleReadObject(IIOPInputStream.
    java:689)
    .
    

Local fix

  • Start the server with following Java option
    -Dcom.ibm.CORBA.UseSchemaIDR=false. Note that there will be a
    performance impact as this option disables the optimized path.
    

Problem summary

  • The optimized path failed to recognize the complex/special Enum
    types as Enum and fails later. There are no issues with simple
    Enum types.
    

Problem conclusion

  • The optimized path is updated to recognize the complex/special
    Enum types and (un)marshal it without any issues.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR3       (7.1.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IX90157

  • Reported component name

    ORB

  • Reported component ID

    620700123

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-22

  • Closed date

    2014-12-23

  • Last modified date

    2014-12-23

  • 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

    ORB

  • Fixed component ID

    620700123

Applicable component levels

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBB","label":"ORB"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
23 December 2014