IBM Support

IX90058: MARSHAL EXCEPTION WHEN UNMARSHALLING AN ENUM SENT BY A OMG10336 NON-COMPLIANT JDK

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 de-marshalling
    an enum.
    org.omg.CORBA.MARSHAL: No available data: Read beyond end of
    input stream  vmcid: OMG  minor code: 8 completed: Maybe
    .
    Stack Trace: org.omg.CORBA.MARSHAL: No available data: Read
    beyond end of input stream  vmcid: OMG  minor code: 8 completed:
    Maybe
    at
    com.ibm.rmi.iiop.CDRInputStream.alignAndCheck(CDRInputStream.jav
    a:830)
    at
    com.ibm.rmi.iiop.CDRInputStream.read_wstring(CDRInputStream.java
    :1196)
    at
    com.ibm.rmi.iiop.CDRInputStream.fast_read_value(CDRInputStream.j
    ava:2024)
    at
    com.ibm.rmi.io.IIOPInputStream.readValueType(IIOPInputStream.jav
    a:2275)
    at
    com.ibm.rmi.io.IIOPInputStream.readObjectField(IIOPInputStream.j
    ava:2247)
    at
    com.ibm.rmi.io.IIOPInputStream.inputClassFields(IIOPInputStream.
    java:1950)
    at
    com.ibm.rmi.io.IIOPInputStream.inputObjectUsingClassDesc(IIOPInp
    utStream.java:1500)
    at
    com.ibm.rmi.io.IIOPInputStream.continueSimpleReadObject(IIOPInpu
    tStream.java:528)
    at
    com.ibm.rmi.io.IIOPInputStream.simpleReadObjectLoop(IIOPInputStr
    eam.java:511)
    at
    com.ibm.rmi.io.IIOPInputStream.simpleReadObject(IIOPInputStream.
    java:454)
    at
    com.ibm.rmi.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:
    209)
    at
    com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:2
    186)
    .
    The problem is seen only when ENUM type is sent from a OMG10336
    non compliant JDK to Java 5 SR11 FP1 ( and above ) and Java 6 SR
    6 (an above).
    

Local fix

Problem summary

  • The readEnum explicitly reads only the ordinal and enum value.
    If the sender is pre OMG 10336 ibm sdk, there will be additional
    data sent as part of enum which gets read as the values for the
    subsequent fields.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR10
    .
    In readEnum, check if the sender is non OMG 10336 compliant,
    walk through the additional data and discard it.
    .
    To obtain the fix:
    Install build 20110126 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IX90058

  • Reported component name

    ORB

  • Reported component ID

    620700123

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-08

  • Closed date

    2011-02-01

  • Last modified date

    2011-02-01

  • APAR is sysrouted FROM one or more of the following:

    IZ86140

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    ORB

  • Fixed component ID

    620700123

Applicable component levels

  • R600 PSN

       UP

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

Document Information

Modified date:
01 February 2011