java.lang.IllegalStateException: Failed to transform class with name com.gnx.company.UtilityClass Reason: javassist.bytecode.Utf8Info cannot be cast to javassist.bytecode.ClassInfo

Google Groups | Mark Warner | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    PowerMockito @prepareForTest issue

    Google Groups | 1 year ago | Mark Warner
    java.lang.IllegalStateException: Failed to transform class with name com.gnx.company.UtilityClass Reason: javassist.bytecode.Utf8Info cannot be cast to javassist.bytecode.ClassInfo
  2. 0

    java.lang.IllegalStateException: Failed to transform class with ... javassist.bytecode.Utf8Info cannot be cast to javassist.bytecode.ClassInfo

    Stack Overflow | 1 year ago | James Franco
    java.lang.IllegalStateException: Failed to transform class with name com.gnx.company.UtilityClass Reason: javassist.bytecode.Utf8Info cannot be cast to javassist.bytecode.ClassInfo

    Root Cause Analysis

    1. java.lang.ClassCastException

      javassist.bytecode.Utf8Info cannot be cast to javassist.bytecode.ClassInfo

      at javassist.bytecode.ConstPool.getClassInfo()
    2. Javassist
      MapMaker.make
      1. javassist.bytecode.ConstPool.getClassInfo(ConstPool.java:232)
      2. javassist.bytecode.stackmap.Tracer.doOpcode148_201(Tracer.java:631)
      3. javassist.bytecode.stackmap.Tracer.doOpcode(Tracer.java:81)
      4. javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:187)
      5. javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:199)
      5 frames