java.lang.ClassFormatError

com/sun/tools/javac/v8/comp/Attr (Truncated class file)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1176

  • via Oracle Community by 807596, 1 year ago
    com/sun/tools/javac/v8/comp/Attr (Truncated class file)
  • via Oracle Community by 807555, 11 months ago
    com/sun/tools/javac/v8/comp/Attr (Truncated class file)
  • com/sun/tools/javac/v8/comp/Flow (Illegal constant p ool index)
  • Stack trace

    • java.lang.ClassFormatError: com/sun/tools/javac/v8/comp/Attr (Truncated class file) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:512) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:126) at java.net.URLClassLoader.defineClass(URLClassLoader.java:249) at java.net.URLClassLoader.access$100(URLClassLoader.java:57) at java.net.URLClassLoader$1.run(URLClassLoader.java:196) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:189) at java.lang.ClassLoader.loadClass(ClassLoader.java:309) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:265) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:325) at com.sun.tools.javac.v8.JavaCompiler.<init>(JavaCompiler.java:100) at com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:127) at com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:141) at com.sun.tools.javac.v8.Main.compile(Main.java:523) at com.sun.tools.javac.Main.compile(Main.java:32) at com.sun.tools.javac.Main.main(Main.java:23)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.