java.io.StreamCorruptedException: InputStream does not contain a serialized object

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Update Tomcat container adapters to 1.0.0.CR8 or further. If that doesn't work, 0D0A3C21 in ASCII is <!, first characters in a HTML file, so, check if you're not reading a different file or if there's an issue with your deserialization.

,
Expert tip

If you're using Liferay, check the steps in the last message on how to fix it: https://goo.gl/feXWKU

Solutions on the web

via Oracle Community by 3004, 4 months ago
InputStream does not contain a serialized object
via Google Groups by ash, 2 years ago
Input does not contain a serialized object
via Oracle Community by 3004, 4 months ago
InputStream does not contain a serialized object
via jakarta-cactus-user by Monojit Choudhury, 1 year ago
InputStream does not contain a seriali zed object
via Coderanch by monojit choudhury, 11 months ago
InputStream does not contain a seriali zed object
via Oracle Community by 843790, 4 months ago
InputStream does not contain a serialized object
java.io.StreamCorruptedException: InputStream does not contain a serialized object
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849)
at java.io.ObjectInputStream.(ObjectInputStream.java:168)
at weblogic.common.internal.ReplacerObjectInputStream.(ReplacerObjectInputStream.java:33)
at weblogic.common.internal.ReplacerObjectInputStream.(ReplacerObjectInputStream.java:43)
at weblogic.common.internal.ReplacerObjectInputStream.(ReplacerObjectInputStream.java:54)
at weblogic.ejb20.swap.PassivationUtils.read(PassivationUtils.java:50)
at weblogic.ejb20.swap.ReplicatedMemorySwap.read(ReplicatedMemorySwap.java:111)
at weblogic.ejb20.manager.StatefulSessionManager.getBean(StatefulSessionManager.java:173)
at weblogic.ejb20.manager.StatefulSessionManager.preInvoke(StatefulSessionManager.java:231)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:113)
at weblogic.ejb20.internal.StatefulEJBObject.preInvoke(StatefulEJBObject.java:136)
at com.cp2.ejbsfBeanEOImpl.ejbsfResult(ejbsfBeanEOImpl.java:23)
at com.cp2.ejbsfBeanEOImpl_WLSkel.invoke(ejbsfBeanEOImpl_WLSkel.java:108)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:128)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:103)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
at weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRequest.java:90)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
at com.cp2.ejbsfBeanEOImpl_WLStub.ejbsfResult(ejbsfBeanEOImpl_WLStub.java:175)
at com.cp1.rb1.executeAction(rb1.java:99)
at undefined.controller.doGet(controller.java:51)
at undefined.controller.doPost(controller.java:16)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Users with the same issue

Once, 1 year ago
Once, 3 months ago
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Once, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.