You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like there is an issue with woinject on Java 8. We upgraded our server to Java 8 this weekend and my only app using wounit doesn't want to start. Are you aware of this problem?
Thanks a lot!
Martin
Exception in thread "main" java.lang.Error: Cannot initialize the application to take advantage of WOInject features.
at com.woinject.WOInject.init(WOInject.java:89)
at com.app.AppRunner.main(AppRunner.java:8)
Caused by: java.lang.RuntimeException: java.io.IOException: invalid constant type: 18 at 15
at javassist.CtClassType.getClassFile2(CtClassType.java:204)
at javassist.CtClassType.subtypeOf(CtClassType.java:304)
at javassist.CtClassType.subtypeOf(CtClassType.java:319)
at javassist.CtClassType.subtypeOf(CtClassType.java:315)
at javassist.CtClassType.subtypeOf(CtClassType.java:315)
at javassist.compiler.MemberResolver.compareSignature(MemberResolver.java:235)
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:107)
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:84)
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:711)
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:688)
at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157)
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46)
at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242)
at javassist.compiler.CodeGen.compileExpr(CodeGen.java:229)
at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:598)
at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:425)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:363)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.Javac.compileStmnt(Javac.java:569)
at javassist.CtBehavior.insertBefore(CtBehavior.java:721)
at javassist.CtBehavior.insertBefore(CtBehavior.java:701)
at com.woinject.WOInject.init(WOInject.java:73)
... 1 more
Caused by: java.io.IOException: invalid constant type: 18 at 15
at javassist.bytecode.ConstPool.readOne(ConstPool.java:1044)
at javassist.bytecode.ConstPool.read(ConstPool.java:984)
at javassist.bytecode.ConstPool.(ConstPool.java:125)
at javassist.bytecode.ClassFile.read(ClassFile.java:770)
at javassist.bytecode.ClassFile.(ClassFile.java:114)
at javassist.CtClassType.getClassFile2(CtClassType.java:191)
... 24 more
The text was updated successfully, but these errors were encountered:
Hi Henrique,
It seems like there is an issue with woinject on Java 8. We upgraded our server to Java 8 this weekend and my only app using wounit doesn't want to start. Are you aware of this problem?
Thanks a lot!
Martin
Exception in thread "main" java.lang.Error: Cannot initialize the application to take advantage of WOInject features.
at com.woinject.WOInject.init(WOInject.java:89)
at com.app.AppRunner.main(AppRunner.java:8)
Caused by: java.lang.RuntimeException: java.io.IOException: invalid constant type: 18 at 15
at javassist.CtClassType.getClassFile2(CtClassType.java:204)
at javassist.CtClassType.subtypeOf(CtClassType.java:304)
at javassist.CtClassType.subtypeOf(CtClassType.java:319)
at javassist.CtClassType.subtypeOf(CtClassType.java:315)
at javassist.CtClassType.subtypeOf(CtClassType.java:315)
at javassist.compiler.MemberResolver.compareSignature(MemberResolver.java:235)
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:107)
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:84)
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:711)
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:688)
at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157)
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46)
at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242)
at javassist.compiler.CodeGen.compileExpr(CodeGen.java:229)
at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:598)
at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:425)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:363)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.Javac.compileStmnt(Javac.java:569)
at javassist.CtBehavior.insertBefore(CtBehavior.java:721)
at javassist.CtBehavior.insertBefore(CtBehavior.java:701)
at com.woinject.WOInject.init(WOInject.java:73)
... 1 more
Caused by: java.io.IOException: invalid constant type: 18 at 15
at javassist.bytecode.ConstPool.readOne(ConstPool.java:1044)
at javassist.bytecode.ConstPool.read(ConstPool.java:984)
at javassist.bytecode.ConstPool.(ConstPool.java:125)
at javassist.bytecode.ClassFile.read(ClassFile.java:770)
at javassist.bytecode.ClassFile.(ClassFile.java:114)
at javassist.CtClassType.getClassFile2(CtClassType.java:191)
... 24 more
The text was updated successfully, but these errors were encountered: