Skip to main content

IV28420: JAVAX.NAMING.COMPOSITENAME READ/WRITEOBJECT CAUSE MARSHELL ERROR


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: java.io.StreamCorruptedException
    .
    Stack Trace: java.io.StreamCorruptedException: Default data must
    be read first
            at
    com.sun.corba.se.impl.io.InputStreamHook$InReadObjectDefaultsSen
    tStat
    e.readData(InputStreamHook.java:401)
            at
    com.sun.corba.se.impl.io.IIOPInputStream.readInt(IIOPInputStream
    .java
    :796)
            at
    javax.naming.CompositeName.readObject(CompositeName.java:561)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    .
    

Local fix

Problem summary

  • If javax.naming.ComposiyeName object is marshalled/demarshalled
    between IBM and Oracle JDK, an exception is thrown due to
    defaultWriteObject being
    called in IBM's implementation and not in Oracle's.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR12
    6.0.1 SR4
    .
    CompositeName.writeObject has been updated to prevent this
    problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV28420

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-21

  • Closed date

    2012-09-25

  • Last modified date

    2012-09-25

  • 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 CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 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

Java Class Libraries


Software version:
6.0


Reference #:
IV28420


Modified date:
2012-09-25

Translate my page

Content navigation