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: 5.0.0 SR12 FP3 . 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 20101013 or later
Temporary fix
Comments
APAR Information
APAR number
IZ86140
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
2010-10-08
Closed date
2010-11-30
Last modified date
2011-01-05
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
PM24112 IX90058 IX90060
Fix information
Fixed component name
JAVA 5 ORB
Fixed component ID
620500123
Applicable component levels
R500 PSN
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBB","label":"ORB"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
05 January 2011