Skip to main content

IZ59603: INSTANTIATIONERROR WHILE UNMARSHALLING AN ENUM WITH ABSTRACT MET HOD


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: A MARSHAL exception is thrown when serializing an
    enum containing an abstract method.
    .
    Stack Trace: Exception in thread "P=712281:O=0:CT"
    org.omg.CORBA.MARSHAL: Unable to read value from underlying
    bridge : MyEnum  vmcid
    : IBM  minor code: 897  completed: No
            at
    com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1
    672)
            at Test.main(Test.java:34)
    Caused by: java.lang.InstantiationError: MyEnum
            at
    sun.reflect.GeneratedSerializationConstructorAccessor1.newInstan
    ce(Unknown Source)
            at
    java.lang.reflect.Constructor.newInstance(Constructor.java:522)
            at
    com.ibm.rmi.io.IIOPInputStream.allocateNewObject(IIOPInputStream
    .java:2399)
            at
    com.ibm.rmi.io.IIOPInputStream.allocateNewObject(IIOPInputStream
    .java:2379)
            at
    com.ibm.rmi.io.IIOPInputStream.allocateNewSerializableObject(IIO
    PInputStream.java:2315)
            at
    com.ibm.rmi.io.IIOPInputStream.readSerializable(IIOPInputStream.
    java:1123)
            at
    com.ibm.rmi.io.IIOPInputStream.simpleReadObjectInternal(IIOPInpu
    tStream.java:410)
            at
    com.ibm.rmi.io.IIOPInputStream.simpleReadObject(IIOPInputStream.
    java:446)
            at
    com.ibm.rmi.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:
    209)
            at
    com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1
    638)
            ... 1 more
    .
    

Local fix

Problem summary

  • MARSHAL exception is thrown when de-serializing enum having  an
    abstract method.
    

Problem conclusion

  • The logic in reading enum code is fixed to resolve the MARSHAL
    exception.
    
    This defect will be fixed in:
    SDK5 SR11 FP1
    
    Fixed with Hursley defect 155001
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ59603

  • Reported component name

    JAVA 5 ORB

  • Reported component ID

    620500123

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-01

  • Closed date

    2009-10-27

  • Last modified date

    2010-07-01

  • 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 5 ORB

  • Fixed component ID

    620500123

Applicable component levels

  • R500 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

ORB


Software version:
5.0


Reference #:
IZ59603


Modified date:
2010-07-01

Translate my page

Content navigation