java.lang.ClassFormatError: com/sun/tools/javac/v8/comp/Attr (Truncated class file)

Oracle Community | 807596 | 1 decade ago
  1. 0

    compiler error?

    Oracle Community | 1 decade ago | 807596
    java.lang.ClassFormatError: com/sun/tools/javac/v8/comp/Attr (Truncated class file)
  2. 0

    compiler error?

    Oracle Community | 1 decade ago | 807555
    java.lang.ClassFormatError: com/sun/tools/javac/v8/comp/Attr (Truncated class file)
  3. 0

    Bug ID: JDK-4309152 # Compiler silently generates bytecode that exceeds VM limits

    sun.com | 11 months ago
    java.lang.ClassFormatError: com/sun/tools/javac/v8/comp/Flow (Illegal constant p ool index)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassFormatError

    Oracle Community | 1 decade ago | 843829
    java.lang.ClassFormatError: com/sun/tools/javac/v8/code/Symtab (Bad index in stant pool #424)
  6. 0

    Junit Testing in Eclipse throws an Exception

    Stack Overflow | 5 years ago | amit modi
    java.lang.ClassFormatError: Truncated class file

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassFormatError

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

      at java.lang.ClassLoader.defineClass0()
    2. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.defineClass0(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:512)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:126)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:57)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:196)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(URLClassLoader.java:189)
      9. java.lang.ClassLoader.loadClass(ClassLoader.java:309)
      10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      11. java.lang.ClassLoader.loadClass(ClassLoader.java:265)
      12. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:325)
      12 frames
    3. com.sun.tools
      Main.compile
      1. com.sun.tools.javac.v8.JavaCompiler.<init>(JavaCompiler.java:100)
      2. com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:127)
      3. com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:141)
      4. com.sun.tools.javac.v8.Main.compile(Main.java:523)
      4 frames
    4. Java Tools
      Main.main
      1. com.sun.tools.javac.Main.compile(Main.java:32)
      2. com.sun.tools.javac.Main.main(Main.java:23)
      2 frames