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

Solutions on the web

via Google Groups by Anro le Roux, 1 year ago
Truncated class file
via Stack Overflow by luiscubal
, 1 year ago
Inconsistent constant value type in class file test
via Stack Overflow by vikeng21
, 2 years ago
Absent Code attribute in method that is not native or abstract in class file javax/mail/Message
via Stack Overflow by amit modi
, 2 years ago
via Coderanch by james lim, 1 year ago
Unknown constant tag 108 in class file HelloWorld
via netbeans.org by Unknown author, 1 year ago
Absent Code attribute in method that is not native or abstract in class file javax/ejb/embeddable/EJBContainer
java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at fb.rt.FBManager.createFB(FBManager.java:259)
at fb.rt.FBManager.create(FBManager.java:233)
at fb.rt.FBManager.executeRequest(FBManager.java:383)
at fb.rt.Resource.transmitCommand(Resource.java:103)
at fb.rt.Resource.transmitCommand(Resource.java:113)
at fb.rt.tools.SystemManager.transmitCommand(SystemManager.java:589)
at fb.rt.tools.SystemManager.sendCommand(SystemManager.java:477)
at fb.rt.tools.SystemManager.createFB(SystemManager.java:321)
at fb.rt.tools.SystemManager.test(SystemManager.java:525)
at fb.rt.tools.SystemManager.create(SystemManager.java:303)
at fb.rt.tools.SystemManager.launch(SystemManager.java:446)
at fb.tools.swing.editor.actions.RunAction$1.run(RunAction.java:58)

Users with the same issue

3 times, 3 months ago
Once, 6 months ago
Once, 1 year ago
Once, 1 year ago
Once, 1 year ago

Write tip

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