java.io.StreamCorruptedException: Type code out of range, is 0

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 843797, 1 year ago
via Google Groups by Marek Futrega, 2 years ago
Type code out of range, is 0
via Oracle Community by 3004, 1 year ago
Type code out of range, is 0
via Oracle Community by 3004, 1 year ago
via Oracle Community by 3004, 1 year ago
java.io.StreamCorruptedException: Type code out of range, is 0
at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1556)
at java.io.ObjectInputStream.refill(ObjectInputStream.java:1684)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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