java.io.StreamCorruptedException: Type code out of range, is 125 at java.io.ObjectInputStream.peekCode(ObjectInputStream.java, Compiled C ode)

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

Solutions on the web

via Oracle Community by 3004, 1 year ago
Type code out of range, is 125 at java.io.ObjectInputStream.peekCode(ObjectInputStream.java, Compiled C ode)
via Oracle Community by 843829, 1 year ago
Type code out of range, is 125 at java.io.ObjectInputStream.peekCode(ObjectInputStream.java, Compiled Code) at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
via Stack Overflow by Mat
, 2 years ago
Wrong format: ac 03-03 01:56:27.452: W/System.err(3631): at java.io.ObjectInputStream.corruptStream(ObjectInputStream.java:830) 03-03 01:56:27.452: W/System.err(3631): at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:943)
via Stack Overflow by Daulang
, 1 year ago
invalid type code: 53 at java.io.ObjectInputStream.readObject0(Unknown Source)
java.io.StreamCorruptedException: Type code out of range, is 125 at java.io.ObjectInputStream.peekCode(ObjectInputStream.java, Compiled C ode)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.util.HashSet.readObject(HashSet.java:246)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:1685)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1165)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:106)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:114)
at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByType(AdminMBeanHomeImpl_WLStub.java:552)
at weblogic.management.commandline.CommandLine.listMatchedMBeans(CommandLine.java:515)
at weblogic.management.commandline.CommandLine.doCommandline(CommandLine.java:89)

Users with the same issue

You are the first who have seen this exception.

Write tip

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