net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null

Google Groups | red | 2 years ago
  1. 0

    java.lang.ClassFormatError: Invalid method Code length 65556 in class file

    Google Groups | 2 years ago | red
    net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
  2. 0

    Is this tested in windows ?

    GitHub | 2 years ago | stuaxo
    java.lang.RuntimeException: java.lang.ClassFormatError: Truncated class file
  3. 0

    REPL invalid class created (only on 2.11)

    GitHub | 2 years ago | VladUreche
    java.lang.ClassFormatError: Illegal class modifiers in class C: 0x209
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Illegal modifiers rt4

    GitHub | 3 years ago | rduke56
    java.lang.ClassFormatError: Method getUid in class dk has illegal modifiers: 0x11
  6. 0

    java.lang.ClassFormatError: Duplicate method name&signature in class file $_php_module_330fc34b3ba3416bb9077b398a52006a_class0

    GitHub | 3 years ago | POPSuL
    java.lang.RuntimeException: java.lang.ClassFormatError: Duplicate method name&signature in class file $_php_module_330fc34b3ba3416bb9077b398a52006a_class0

    13 unregistered visitors
    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

      Invalid method Code length 67622 in class file com.package.MyClass$$EnhancerByCGLIB$$281952b3_4

      at java.lang.ClassLoader.defineClass()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      1 frame
    3. Code Generation Library
      AbstractClassGenerator.create
      1. net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
      2. net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
      2 frames
    4. IDEA
      Enhancer.createClass
      1. net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
      2. net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
      2 frames
    5. Spock Framework - Core Module
      SpecInternals.MockImpl
      1. org.spockframework.mock.runtime.ProxyBasedMockFactory$CglibMockFactory.createMock(ProxyBasedMockFactory.java:91)
      2. org.spockframework.mock.runtime.ProxyBasedMockFactory.create(ProxyBasedMockFactory.java:49)
      3. org.spockframework.mock.runtime.JavaMockFactory.create(JavaMockFactory.java:51)
      4. org.spockframework.mock.runtime.CompositeMockFactory.create(CompositeMockFactory.java:44)
      5. org.spockframework.lang.SpecInternals.createMock(SpecInternals.java:47)
      6. org.spockframework.lang.SpecInternals.createMockImpl(SpecInternals.java:282)
      7. org.spockframework.lang.SpecInternals.MockImpl(SpecInternals.java:99)
      7 frames
    6. com.package
      MySpec.$spock_initializeFields
      1. com.package.MySpec.$spock_initializeFields(MySpec.groovy:28)
      1 frame