java.lang.IllegalStateException: Failed to transform class with name org.slf4j.LoggerFactory. Reason: java.io.IOException: invalid constant type: 15

Stack Overflow | Luchko Serega | 4 months ago
  1. 0

    Using PowerMock causes java.lang.VerifyError exception

    codegur.com | 4 months ago
    java.lang.IllegalStateException: Failed to transform class with name org.slf4j.LoggerFactory. Reason: java.io.IOException: invalid constant type: 15
  2. 0

    Test passed in IDE but failed in TeamCity

    Stack Overflow | 4 months ago | Luchko Serega
    java.lang.IllegalStateException: Failed to transform class with name org.slf4j.LoggerFactory. Reason: java.io.IOException: invalid constant type: 15
  3. 0

    Bulding Jenkins with NetBeans errors

    Stack Overflow | 2 years ago | user3474468
    java.lang.IllegalStateException: Failed to transform class with name hudson.cli.CLI. Reason: java.io.IOException: invalid constant type: 15
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mockito Test: verify static method was called inside fragment

    Stack Overflow | 5 months ago | Cbr
    java.lang.IllegalStateException: Failed to transform class with name android.app.Activity. Reason: android.app.LoaderManagerImpl
  6. 0

    Junit test with powermock gives initialization error via eclipse but runs through command line

    Stack Overflow | 3 years ago | user3642013
    java.lang.IllegalStateException: Failed to transform class with name com.paychex.mobile.remote.ReportingMobileRemoteTest. Reason: Invalid index

    5 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.IllegalStateException

      Failed to transform class with name org.slf4j.LoggerFactory. Reason: java.io.IOException: invalid constant type: 15

      at org.powermock.core.classloader.MockClassLoader.loadMockClass()
    2. powermock-core
      DeferSupportingClassLoader.loadClass
      1. org.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:267)
      2. org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:180)
      3. org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:70)
      3 frames
    3. Java RT
      Class.getAnnotation
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      2. java.lang.Class.forName0(Native Method)
      3. java.lang.Class.forName(Class.java:348)
      4. sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
      5. sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
      6. sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
      7. sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:439)
      8. sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:420)
      9. sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
      10. sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
      11. sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
      12. sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
      13. sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
      14. sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
      15. java.lang.Class.createAnnotationData(Class.java:3521)
      16. java.lang.Class.annotationData(Class.java:3510)
      17. java.lang.Class.getAnnotation(Class.java:3415)
      17 frames
    4. JUnit
      MethodValidator.validateTestMethods
      1. org.junit.internal.MethodSorter.getDeclaredMethods(MethodSorter.java:52)
      2. org.junit.internal.runners.TestClass.getAnnotatedMethods(TestClass.java:45)
      3. org.junit.internal.runners.MethodValidator.validateTestMethods(MethodValidator.java:71)
      3 frames