[ 
https://issues.apache.org/jira/browse/IGNITE-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013526#comment-15013526
 ] 

Sergey Kozlov commented on IGNITE-1772:
---------------------------------------

This is rarely reproducible issue and need more deep investigations

> java.io.StreamCorruptedException with invalid type code
> -------------------------------------------------------
>
>                 Key: IGNITE-1772
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1772
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: ignite-1.4
>         Environment: Windows, Oracle JDK 1.8_60
>            Reporter: Sergey Kozlov
>            Assignee: Yakov Zhdanov
>            Priority: Minor
>             Fix For: 1.6
>
>
> 1. Open examples project in IDEA
> 2. Build/compile project
> 3. Run ExampeNodeStartup
> 4. Run CacheAsyncApiExample, ComputeTaskMapExample a few times in random 
> order until getting following exception:
> {noformat}
> [15:06:40,961][ERROR][tcp-disco-sock-reader-#10%null][TcpDiscoverySpi] Failed 
> to read message 
> [sock=Socket[addr=/0:0:0:0:0:0:0:1,port=50106,localport=47501], 
> locNodeId=1276ca1d-80f6-4481-9245-9aa28a916d68, 
> rmtNodeId=f9f29bed-e8d7-433a-baa7-62628077d781]
> class org.apache.ignite.IgniteCheckedException: Failed to deserialize object 
> with given class loader: sun.misc.Launcher$AppClassLoader@27716f4
>       at 
> org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:105)
>       at 
> org.apache.ignite.spi.discovery.tcp.ServerImpl$SocketReader.body(ServerImpl.java:4785)
>       at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
> Caused by: java.io.StreamCorruptedException: invalid type code: 69
>       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1379)
>       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
>       at java.util.ArrayDeque.readObject(ArrayDeque.java:888)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:497)
>       at 
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
>       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)
>       at 
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
>       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
>       at 
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)
>       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)
>       at 
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
>       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
>       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
>       at 
> org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:102)
>       ... 2 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to