APAR status
Closed as program error.
Error description
Error Message: A proper type of exception (org.omg.CORBA.BAD_OPERATION) needs to be thrown out of the extract() method of IBM ORB-generated Helper classes whenever the actual type of provided Any object does not match the type expected by the Helper.Currently, the auto-generated xxxHelper.extract() method may throw org.omg.CORBA.MARSHAL or OutOfMemoryError exception object when calling code provides an Any object as the argument to extract() method in auto-generated Helper classes and the actual marshalled IDL type in the Any object does not correspond to the IDL type workable by the Helper.There is a third category of exceptions that need to be addressed. There is no type check in the idlj generated helper class to thwart unmarshalling when the returned type is not compatible with the expected type. The exception thrown when the unmarshalling fails is not helpful in debugging either. . Stack Trace: N/A .
Local fix
Problem summary
There is no type check in the idlj generated helper class to thwart unmarshalling when the returned type is not compatible with the expected type. The exception thrown when the unmarshalling fails is not helpful in debugging either.
Problem conclusion
This APAR will be fixed in the following Java Releases: 6 SR16 (6.0.16.0) 7 SR7 (7.0.7.0) 6 R1 SR8 (6.1.8.0) 7 R1 SR1 (7.1.1.0) . IDLJ code has been fixed such that the generated Helper class has a typecode equivalence check to ensure that the complex type being unmarshalled matches the expected typecode else throws a BAD_OPERATION ex
Temporary fix
Comments
APAR Information
APAR number
IX90141
Reported component name
ORB
Reported component ID
620700123
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-04-02
Closed date
2014-04-02
Last modified date
2014-04-30
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
R600 PSY
UP
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":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
30 April 2014