java.lang.IllegalStateException: Failed to transform class with name com.StaticClass. Reason: java.io.IOException: invalid constant type: 18

JBoss Issue Tracker | Shailendra Yadav | 1 year ago
  1. 0

    https://github.com/jayway/powermock/issues/583

    JBoss Issue Tracker | 1 year ago | Shailendra Yadav
    java.lang.IllegalStateException: Failed to transform class with name com.StaticClass. Reason: java.io.IOException: invalid constant type: 18
  2. 0

    https://github.com/jayway/powermock/issues/583

    JBoss Issue Tracker | 1 year ago | Shailendra Yadav
    java.lang.IllegalStateException: Failed to transform class with name com.StaticClass. Reason: java.io.IOException: invalid constant type: 18
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 150#228642662

    GitHub | 5 months ago | cxfly
    java.lang.RuntimeException: java.io.IOException: invalid constant type: 18

    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.RuntimeException

      java.io.IOException: invalid constant type: 18

      at javassist.CtClassType.getClassFile2()
    2. Javassist
      CodeGen.atStmnt
      1. javassist.CtClassType.getClassFile2(CtClassType.java:203)
      2. javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:110)
      3. javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:96)
      4. javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:704)
      5. javassist.expr.NewExpr$ProceedForNew.setReturnType(NewExpr.java:243)
      6. javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:146)
      7. javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
      8. javassist.compiler.TypeChecker.atVariableAssign(TypeChecker.java:248)
      9. javassist.compiler.TypeChecker.atAssignExpr(TypeChecker.java:217)
      10. javassist.compiler.ast.AssignExpr.accept(AssignExpr.java:38)
      11. javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:241)
      12. javassist.compiler.CodeGen.atStmnt(CodeGen.java:329)
      12 frames