java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags) *at Jv ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)* *at Jv DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)* at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)

Oracle Community | PVM | 6 years ago
  1. 0

    javac error on R12.1.1

    Oracle Community | 6 years ago | PVM
    java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags) *at Jv ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)* *at Jv DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)* at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
  2. 0

    Problem on Project: GWT + JPA(eclipselink 2.4) + DB(postgresql 9)

    Google Groups | 4 years ago | Eduardo Miguel Borges da Silva
    java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/Persistence <br> <blockquote> <span style="white-space:pre"> </span>at java.lang.ClassLoader.defineClass1(Native Method)
  3. 0

    Injecting code in an existing method using BCEL

    Stack Overflow | 3 years ago | Peter
    java.lang.ClassFormatError: LVTT entry for 'nodes' in class file net/sourceforge/pmd/AbstractRuleChainVisitor does not match any LVT entry
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    .jar works in Windows but not Linux (stacktrace)

    Stack Overflow | 5 years ago | maxmackie
    java.lang.ClassFormatError: KioskMenu (unrecognized class file version)
  6. 0

    Scala can't deal with huge objects?

    Stack Overflow | 4 years ago | bitmagier
    java.lang.ClassFormatError: Invalid this class index 4280 in constant pool in class file bm/statistic/ChiSquareAlpha$

  1. esaar 2 times, last 4 months ago
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.main.Main (erroneous method access flags) *at Jv ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)* *at Jv ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)* *at Jv DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)* at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0) at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)

    at java.net.URLClassLoader.findClass()
  2. Java RT
    URLClassLoader.findClass
    1. java.net.URLClassLoader.findClass(java.lang.String)
    1 frame
  3. gnu.gcj.runtime
    VMClassLoader.findClass
    1. gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String)
    1 frame