java.io.StreamCorruptedException: invalid stream header

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Blob field using cmp

    Oracle Community | 1 decade ago | 807581
    java.io.StreamCorruptedException: invalid stream header

    Root Cause Analysis

    1. java.io.StreamCorruptedException

      invalid stream header

      at com.sun.jdo.spi.persistence.support.ejb.cmp.JDOEJB11HelperImpl.readSerializableObjectFromByteArray()
    2. com.sun.jdo
      JDOEJB11HelperImpl.readSerializableObjectFromByteArray
      1. com.sun.jdo.spi.persistence.support.ejb.cmp.JDOEJB11HelperImpl.readSerializableObjectFromByteArray(JDOEJB11HelperImpl.java:340)
      1 frame
    3. orclblobfolder.orclejb
      _orclblobBean_1927863344_ConcreteImpl_EJBObjectImpl_Tie._invoke
      1. orclblobfolder.orclejb.orclblobBean_1927863344_ConcreteImpl.getImage(orclblobBean_1927863344_ConcreteImpl.java:177)
      2. orclblobfolder.orclejb.orclblobBean.getBlobImage(orclblobBean.java:84)
      3. orclblobfolder.orclejb.orclblobBean_1927863344_ConcreteImpl_EJBObjectImpl.getBlobImage(orclblobBean_1927863344_ConcreteImpl_EJBObjectImpl.java:22)
      4. orclblobfolder.orclejb._orclblobBean_1927863344_ConcreteImpl_EJBObjectImpl_Tie._invoke(Unknown Source)
      4 frames
    4. com.sun.corba
      GenericPOAClientSC.invoke
      1. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
      2. com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
      3. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
      4. com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
      5. com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:96)
      6. com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:237)
      7. com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:97)
      7 frames
    5. Java RT
      ObjectImpl._invoke
      1. org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
      1 frame
    6. orclblobfolder.orclejb
      _orclblob_Stub.getBlobImage
      1. orclblobfolder.orclejb._orclblob_Stub.getBlobImage(Unknown Source)
      2. orclblobfolder.orclejb._orclblob_Stub.getBlobImage(Unknown Source)
      2 frames
    7. Unknown
      test.doGet
      1. test.processRequest(test.java:67)
      2. test.doGet(test.java:127)
      2 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    9. Glassfish Core
      StandardWrapperValve$1.run
      1. org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
      2. org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
      3. org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
      3 frames
    10. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    11. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
      2. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
      6 frames
    12. com.iplanet.ias
      WebContainer.service
      1. com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
      2. com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
      2 frames