java.lang.ClassFormatError: Truncated class file

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 843802, 1 year ago
via Oracle Community by 843807, 4 months ago
Truncated class file
via Google Groups by Grzegorz Pypec, 2 months ago
via Oracle Community by 807596, 1 year ago
Invalid or out-of-bounds class index in EnclosingMethod attribute in class file com/paciolan/tcs/richclient/seatmap/SeatMapApplet$1
via Oracle Community by 843807, 1 year ago
java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at undefined.XMLObjectConverter.getUnmarshaller(XMLObjectConverter.java:96)
at undefined.XMLObjectConverter.XMLToObject(XMLObjectConverter.java:79)
at undefined.XMLObjectConverter.XMLToObject(XMLObjectConverter.java:51)
at undefined.ProcedureExecutionApplet.init(ProcedureExecutionApplet.java:31)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

3 times, 1 month ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
2 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago

Write tip

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