java.io.StreamCorruptedException: invalid stream header: 00426000

MuleSoft JIRA | manish kumar | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    i want to receive some data over TCP connection but getting some exception: Below is exception Exception stack is: 1. invalid stream header: 00426000 (java.io.StreamCorruptedException) java.io.ObjectInputStream:-1 (null) 2. java.io.StreamCorruptedException: invalid stream header: 00426000 (org.apache.commons.lang.SerializationException) org.mule.util.SerializationUtils:89 (null) 3. Failed to transform from "byte[]" to "Object" (org.mule.api.transformer.TransformerException) org.mule.transformer.simple.ByteArrayToSerializable:58 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.io.StreamCorruptedException: invalid stream header: 00426000 at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at org.apache.commons.io.input.ClassLoaderObjectInputStream.<init>(ClassLoaderObjectInputStream.java:51) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** at org.mule.transport.tcp.protocols.MuleMessageWorker.doRead(MuleMessageWorker.java:76) at org.mule.transport.tcp.protocols.MuleMessageEOFProtocol.read(MuleMessageEOFProtocol.java:36) at org.mule.transport.tcp.TcpMessageReceiver$TcpWorker.getNextMessage(TcpMessageReceiver.java:364) at org.mule.transport.AbstractReceiverResourceWorker.doRun(AbstractReceiverResourceWorker.java:44) at org.mule.transport.AbstractReceiverWorker.run(AbstractReceiverWorker.java:65) at org.mule.work.WorkerContext.run(WorkerContext.java:311) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Herewith attached my java file and config.xml

    MuleSoft JIRA | 2 years ago | manish kumar
    java.io.StreamCorruptedException: invalid stream header: 00426000
  2. 0

    i want to receive some data over TCP connection but getting some exception: Below is exception Exception stack is: 1. invalid stream header: 00426000 (java.io.StreamCorruptedException) java.io.ObjectInputStream:-1 (null) 2. java.io.StreamCorruptedException: invalid stream header: 00426000 (org.apache.commons.lang.SerializationException) org.mule.util.SerializationUtils:89 (null) 3. Failed to transform from "byte[]" to "Object" (org.mule.api.transformer.TransformerException) org.mule.transformer.simple.ByteArrayToSerializable:58 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.io.StreamCorruptedException: invalid stream header: 00426000 at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at org.apache.commons.io.input.ClassLoaderObjectInputStream.<init>(ClassLoaderObjectInputStream.java:51) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** at org.mule.transport.tcp.protocols.MuleMessageWorker.doRead(MuleMessageWorker.java:76) at org.mule.transport.tcp.protocols.MuleMessageEOFProtocol.read(MuleMessageEOFProtocol.java:36) at org.mule.transport.tcp.TcpMessageReceiver$TcpWorker.getNextMessage(TcpMessageReceiver.java:364) at org.mule.transport.AbstractReceiverResourceWorker.doRun(AbstractReceiverResourceWorker.java:44) at org.mule.transport.AbstractReceiverWorker.run(AbstractReceiverWorker.java:65) at org.mule.work.WorkerContext.run(WorkerContext.java:311) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Herewith attached my java file and config.xml

    MuleSoft JIRA | 2 years ago | manish kumar
    java.io.StreamCorruptedException: invalid stream header: 00426000
  3. 0

    I want to receive data over TCP connection but i am getting below exception. I am n ot able to connect over TCP , i have tried with Http connection and I am able to receive request. I have attached herewith my config.xml kindly look into this problem. EXCEPTION IS:- + Started app 'DoorwayLine' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ERROR 2015-01-29 16:05:20,122 [[DoorwayLine].tcpconnector.receiver.02] org.mule.exception.DefaultSystemExceptionStrategy: Caught exception in Exception Strategy: ******************************************************************************** Message : Failed to transform from "byte[]" to "Object" Code : MULE_ERROR-109 -------------------------------------------------------------------------------- Exception stack is: 1. invalid stream header: 00426000 (java.io.StreamCorruptedException) java.io.ObjectInputStream:-1 (null) 2. java.io.StreamCorruptedException: invalid stream header: 00426000 (org.apache.commons.lang.SerializationException) org.mule.util.SerializationUtils:89 (null) 3. Failed to transform from "byte[]" to "Object" (org.mule.api.transformer.TransformerException) org.mule.transformer.simple.ByteArrayToSerializable:58 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.io.StreamCorruptedException: invalid stream header: 00426000 at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at org.apache.commons.io.input.ClassLoaderObjectInputStream.<init>(ClassLoaderObjectInputStream.java:51) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** java.io.IOException: ******************************************************************************** Message : Failed to transform from "byte[]" to "Object" Code : MULE_ERROR-109 -------------------------------------------------------------------------------- Exception stack is: 1. invalid stream header: 00426000 (java.io.StreamCorruptedException) java.io.ObjectInputStream:-1 (null) 2. java.io.StreamCorruptedException: invalid stream header: 00426000 (org.apache.commons.lang.SerializationException) org.mule.util.SerializationUtils:89 (null) 3. Failed to transform from "byte[]" to "Object" (org.mule.api.transformer.TransformerException) org.mule.transformer.simple.ByteArrayToSerializable:58 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.io.StreamCorruptedException: invalid stream header: 00426000 at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at org.apache.commons.io.input.ClassLoaderObjectInputStream.<init>(ClassLoaderObjectInputStream.java:51) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** at org.mule.transport.tcp.protocols.MuleMessageWorker.doRead(MuleMessageWorker.java:76) at org.mule.transport.tcp.protocols.MuleMessageEOFProtocol.read(MuleMessageEOFProtocol.java:36) at org.mule.transport.tcp.TcpMessageReceiver$TcpWorker.getNextMessage(TcpMessageReceiver.java:364) at org.mule.transport.AbstractReceiverResourceWorker.doRun(AbstractReceiverResourceWorker.java:44) at org.mule.transport.AbstractReceiverWorker.run(AbstractReceiverWorker.java:65) at org.mule.work.WorkerContext.run(WorkerContext.java:311) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    MuleSoft JIRA | 2 years ago | manish kumar
    java.io.StreamCorruptedException: invalid stream header: 00426000 (org.apache.commons.lang.SerializationException) org.mule.util.SerializationUtils:89 (null) 3. Failed to transform from "byte[]" to "Object" (org.mule.api.transformer.TransformerException) org.mule.transformer.simple.ByteArrayToSerializable:58 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.io.StreamCorruptedException: invalid stream header: 00426000
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Update Tomcat container adapters to 1.0.0.CR8 or further
    via jboss.org
  6. 0

    help!!! java.io.StreamCorruptedException:invalid stream header

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

  1. Axelo 1 times, last 3 weeks ago
  2. tererecool 2 times, last 7 months ago
  3. Stefan Braune 4 times, last 9 months ago
  4. RoiOtero 1 times, last 10 months ago
  5. MoYapro 15 times, last 10 months ago
47 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.StreamCorruptedException

    invalid stream header: 00426000

    at java.io.ObjectInputStream.readStreamHeader()
  2. Java RT
    ObjectInputStream.<init>
    1. java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    2. java.io.ObjectInputStream.<init>(Unknown Source)
    2 frames
  3. Commons IO
    ClassLoaderObjectInputStream.<init>
    1. org.apache.commons.io.input.ClassLoaderObjectInputStream.<init>(ClassLoaderObjectInputStream.java:51)
    1 frame