PDA

View Full Version : IllegalStateException


xmonader
06-29-2010, 10:52 AM
I'm trying to run a CodeIgniter application on Quercus
http://sourceforge.net/projects/hewarforum/

and getting this after installation


java.lang.IllegalStateException
at com.caucho.quercus.env.MethodMap.get(MethodMap.jav a:143)
at com.caucho.quercus.env.ObjectExtValue.callMethod(O bjectExtValue.java:760)
at com.caucho.quercus.env.Value.callMethod(Value.java :1520)
at com.caucho.quercus.expr.ObjectMethodVarExpr.eval(O bjectMethodVarExpr.java:107)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.ForeachStatement.exec ute(ForeachStatement.java:103)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:431)
at com.caucho.quercus.program.Function.callMethod(Fun ction.java:464)
at com.caucho.quercus.env.ObjectExtValue.callMethod(O bjectExtValue.java:762)
at com.caucho.quercus.expr.AbstractMethodExpr.eval(Ab stractMethodExpr.java:97)
at com.caucho.quercus.expr.ObjectMethodExpr.eval(Obje ctMethodExpr.java:97)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:431)
at com.caucho.quercus.program.Function.callMethod(Fun ction.java:464)
at com.caucho.quercus.env.ObjectExtValue.callMethod(O bjectExtValue.java:762)
at com.caucho.quercus.expr.AbstractMethodExpr.eval(Ab stractMethodExpr.java:97)
at com.caucho.quercus.expr.ObjectMethodExpr.eval(Obje ctMethodExpr.java:97)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:431)
at com.caucho.quercus.program.Function.callMethod(Fun ction.java:464)
at com.caucho.quercus.env.QuercusClass.callNew(Quercu sClass.java:956)
at com.caucho.quercus.expr.ObjectNewVarExpr.eval(Obje ctNewVarExpr.java:104)
at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:49 7)
at com.caucho.quercus.expr.BinaryAssignExpr.eval(Bina ryAssignExpr.java:88)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.QuercusProgram.execute( QuercusProgram.java:413)
at com.caucho.quercus.page.InterpretedPage.execute(In terpretedPage.java:89)
at com.caucho.quercus.env.Env.executePage(Env.java:38 91)
at com.caucho.quercus.env.Env.include(Env.java:5348)
at com.caucho.quercus.env.Env.includeOnce(Env.java:53 01)
at com.caucho.quercus.expr.FunIncludeOnceExpr.eval(Fu nIncludeOnceExpr.java:89)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.QuercusProgram.execute( QuercusProgram.java:413)
at com.caucho.quercus.page.InterpretedPage.execute(In terpretedPage.java:89)
at com.caucho.quercus.env.Env.executePageTop(Env.java :3902)
at com.caucho.quercus.env.Env.executeTop(Env.java:384 5)
at com.caucho.quercus.servlet.QuercusServletImpl.serv ice(QuercusServletImpl.java:187)
at com.caucho.quercus.servlet.QuercusServlet.service( QuercusServlet.java:582)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:96)
at com.caucho.server.dispatch.ServletFilterChain.doFi lter(ServletFilterChain.java:109)
at com.caucho.server.webapp.WebAppFilterChain.doFilte r(WebAppFilterChain.java:183)
at com.caucho.server.webapp.AccessLogFilterChain.doFi lter(AccessLogFilterChain.java:103)
at com.caucho.server.dispatch.ServletInvocation.servi ce(ServletInvocation.java:286)
at com.caucho.server.http.HttpRequest.handleRequest(H ttpRequest.java:789)
at com.caucho.network.listen.TcpSocketLink.dispatchRe quest(TcpSocketLink.java:660)
at com.caucho.network.listen.TcpSocketLink.handleRequ estsImpl(TcpSocketLink.java:624)
at com.caucho.network.listen.TcpSocketLink.handleRequ ests(TcpSocketLink.java:575)
at com.caucho.network.listen.TcpSocketLink$AcceptTask .doTask(TcpSocketLink.java:1183)
at com.caucho.network.listen.TcpSocketLink$Connection ReadTask.runThread(TcpSocketLink.java:1118)
at com.caucho.network.listen.TcpSocketLink$AcceptTask .run(TcpSocketLink.java:1150)
at com.caucho.util.ThreadPool$PoolThread.runTasks(Thr eadPool.java:901)
at com.caucho.util.ThreadPool$PoolThread.run(ThreadPo ol.java:866)

emil
07-01-2010, 10:58 PM
Hi,

CodeIgniter isn't supported yet, but I've filed a bug here anyway:

http://bugs.caucho.com/view.php?id=4103

Thanks,
Emil

domdorn
07-02-2010, 04:06 PM
@xmonader: If you would like to be notified about changes in the bug, please add a note in the issue tracker (you have to register there).

nam
12-08-2012, 09:25 AM
Unable to reproduce for 4.0.33.

I downloaded hewarforum, installed it, and I see the forum load up correctly in Quercus.

akhlesh
03-01-2013, 10:48 AM
EVERE: Servlet.service() for servlet Quercus Servlet threw exception
java.lang.IllegalStateException: Call to undefined function
at com.caucho.quercus.env.MethodMap.get(MethodMap.jav a:143)
at com.caucho.quercus.env.ObjectExtValue.callMethod(O bjectExtValue.java:807)
at com.caucho.quercus.env.Value.callMethod(Value.java :1533)
at com.caucho.quercus.expr.ObjectMethodVarExpr.eval(O bjectMethodVarExpr.java:113)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:437)
at com.caucho.quercus.program.Function.callMethod(Fun ction.java:473)
at com.caucho.quercus.env.ObjectExtValue.callMethod(O bjectExtValue.java:809)
at com.caucho.quercus.expr.AbstractMethodExpr.eval(Ab stractMethodExpr.java:97)
at com.caucho.quercus.expr.ObjectMethodExpr.eval(Obje ctMethodExpr.java:97)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.ForeachStatement.exec ute(ForeachStatement.java:103)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.statement.IfStatement.execute(I fStatement.java:84)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:437)
at com.caucho.quercus.program.Function.callMethod(Fun ction.java:473)
at com.caucho.quercus.env.ObjectExtValue.callMethod(O bjectExtValue.java:809)
at com.caucho.quercus.expr.AbstractMethodExpr.eval(Ab stractMethodExpr.java:97)
at com.caucho.quercus.expr.ObjectMethodExpr.eval(Obje ctMethodExpr.java:97)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.IfStatement.execute(I fStatement.java:84)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:437)
at com.caucho.quercus.program.Function.callMethod(Fun ction.java:473)
at com.caucho.quercus.env.ObjectExtValue.callMethod(O bjectExtValue.java:809)
at com.caucho.quercus.expr.AbstractMethodExpr.eval(Ab stractMethodExpr.java:97)
at com.caucho.quercus.expr.ObjectMethodExpr.eval(Obje ctMethodExpr.java:97)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.statement.IfStatement.execute(I fStatement.java:84)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:437)
at com.caucho.quercus.program.Function.callMethod(Fun ction.java:473)
at com.caucho.quercus.env.ObjectExtValue.callMethod(O bjectExtValue.java:809)
at com.caucho.quercus.expr.AbstractMethodExpr.eval(Ab stractMethodExpr.java:97)
at com.caucho.quercus.expr.ObjectMethodExpr.eval(Obje ctMethodExpr.java:97)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:437)
at com.caucho.quercus.program.Function.callMethod(Fun ction.java:473)
at com.caucho.quercus.env.QuercusClass.callNew(Quercu sClass.java:969)
at com.caucho.quercus.expr.ObjectNewVarExpr.eval(Obje ctNewVarExpr.java:104)
at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:49 7)
at com.caucho.quercus.expr.BinaryAssignExpr.eval(Bina ryAssignExpr.java:88)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.QuercusProgram.execute( QuercusProgram.java:413)
at com.caucho.quercus.page.InterpretedPage.execute(In terpretedPage.java:89)
at com.caucho.quercus.env.Env.executePage(Env.java:39 83)
at com.caucho.quercus.env.Env.include(Env.java:5467)
at com.caucho.quercus.env.Env.includeOnce(Env.java:54 20)
at com.caucho.quercus.expr.FunIncludeOnceExpr.eval(Fu nIncludeOnceExpr.java:92)
at com.caucho.quercus.expr.Expr.evalTop(Expr.java:523 )
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:67)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.QuercusProgram.execute( QuercusProgram.java:413)
at com.caucho.quercus.page.InterpretedPage.execute(In terpretedPage.java:89)
at com.caucho.quercus.env.Env.executePageTop(Env.java :3994)
at com.caucho.quercus.env.Env.executeTop(Env.java:393 5)
at com.caucho.quercus.servlet.QuercusServletImpl.serv ice(QuercusServletImpl.java:189)
at com.caucho.quercus.servlet.QuercusServlet.service( QuercusServlet.java:594)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
====================


Please suggest any one... How to deploy codeiginter project in tomcat server.

nam
03-01-2013, 09:37 PM
Have you tried the latest version of Quercus?

http://caucho.com/download/quercus-4.0.35.war