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 Coderanch by Alfonsus Hartanto, 1 year ago
Absent Code attribute in method that is not native or abstract in class file javax/validation/Validation
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
via roseindia.net by Unknown author, 1 year ago
Absent Code attribute in method that is not native or abstract in class file javax/mail/MessagingException
java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at oracle.apps.fnd.security.ConnectionManager.class$(ConnectionManager.java:386)
at oracle.apps.fnd.security.ConnectionManager.(ConnectionManager.java:404)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at oracle.apps.fnd.common.AppsContext.class$(AppsContext.java:71)
at oracle.apps.fnd.common.AppsContext.makeConnectionManager(AppsContext.java:868)
at oracle.apps.fnd.common.Context.setConnectionManager(Context.java:484)
at oracle.apps.fnd.common.Context.setConnectionManager(Context.java:468)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:533)
at oracle.apps.fnd.common.AppsContext.(AppsContext.java:301)
at oracle.apps.fnd.cp.request.CpContext.(CpContext.java:144)
at oracle.apps.fnd.cp.request.CpContext.(CpContext.java:127)
at oracle.apps.fnd.cp.request.Run.main(Run.java:127)

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.