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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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