View Question

java.io.IOException: invalid constant type: 18

Hi there

I'm trying to install Astah Share on Centos 7 using the Oracle JVM 1.8, but I am getting an Exception on startup and am unable to login May 04, 2017 12:26:59 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /astahshare threw load() exception java.lang.RuntimeException: java.io.IOException: invalid constant type: 18 at javassist.CtClassType.getClassFile2(CtClassType.java:207) at javassist.CtClassType.subtypeOf(CtClassType.java:286) at javassist.CtClassType.subtypeOf(CtClassType.java:301) at javassist.CtClassType.subtypeOf(CtClassType.java:301) at javassist.compiler.MemberResolver.compareSignature(MemberResolver.java:227) at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:115) at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:96) at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:704) at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:681) at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156) at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45) at javassist.compiler.JvstTypeChecker.atCastToRtype(JvstTypeChecker.java:112) at javassist.compiler.JvstTypeChecker.atCastExpr(JvstTypeChecker.java:93) at javassist.compiler.ast.CastExpr.accept(CastExpr.java:54) at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:235) at javassist.compiler.CodeGen.compileExpr(CodeGen.java:222) at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:591) at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:424) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:356) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285) at javassist.compiler.Javac.compileBody(Javac.java:212) at javassist.CtBehavior.setBody(CtBehavior.java:341) at javassist.CtBehavior.setBody(CtBehavior.java:316) at javassist.CtNewMethod.make(CtNewMethod.java:135) at org.seasar.framework.aop.javassist.AbstractGenerator.createMethod(AbstractGenerator.java:465) at org.seasar.framework.aop.javassist.EnhancedClassGenerator.createInvokeSuperMethod(EnhancedClassGenerator.java:90) at org.seasar.framework.aop.javassist.AspectWeaver.createInvokeSuperMethod(AspectWeaver.java:231) at org.seasar.framework.aop.javassist.AspectWeaver.setInterceptors(AspectWeaver.java:133) at org.seasar.framework.aop.proxy.AopProxy.setupAspects(AopProxy.java:150) at org.seasar.framework.aop.proxy.AopProxy.(AopProxy.java:110) at org.seasar.framework.container.util.AopProxyUtil.getConcreteClass(AopProxyUtil.java:54) at org.seasar.framework.container.impl.ComponentDefImpl.getConcreteClass(ComponentDefImpl.java:140) at org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:235) at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:563) at org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:167) at org.seasar.framework.container.servlet.SingletonS2ContainerInitializer.initialize(SingletonS2ContainerInitializer.java:55) at org.seasar.framework.container.servlet.S2ContainerServlet.initializeContainer(S2ContainerServlet.java:139) at org.seasar.framework.container.servlet.S2ContainerServlet.init(S2ContainerServlet.java:127) at javax.servlet.GenericServlet.init(GenericServlet.java:160) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)

and get this error when trying to log in Error was occurred class:com.change_vision.webpf.control.commands::LoginCommand type:fault code:Server.Processing string:java.io.IOException: invalid constant type: 18

How should I proceed to get the software working ?

Product: Astah Share

Hi Simon,

Thanks for trying out Astah Share and we are sorry that you encountered this error. Running the server with Java 8 may cause this error, so try running it with Java 7.

Thanks, Satomi

Hi Satomi

Downgrading to 1.7u80 resolved this issue.

many thanks

Hey Simon,

Great it worked. Thanks for the update!

Cheers,

SJ

Answer Question

This content has the following tags: