Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003407 [Quercus] major always 03-22-09 12:27 03-22-09 12:27
Reporter dkyriakis View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.1.8
Summary 0003407: NPE running ProjectPiewr
Description As specified in issue: http://bugs.caucho.com/view.php?id=3406 [^]
ProjectPier can't be installed directly in Quercus.

But if I install the application with PHP, and run it only in Quercus (so that it's doing the DB creation and all the stuff), than I get the following NPE trying to access it:
----------------------------------------------------
java.lang.NullPointerException
    at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:148)
    at com.caucho.quercus.expr.AppendExpr.eval(AppendExpr.java:85)
    at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
    at com.caucho.quercus.program.Function.callImpl(Function.java:352)
    at com.caucho.quercus.program.Function.call(Function.java:292)
    at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:309)
    at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:557)
    at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:850)
    at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:148)
    at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:398)
    at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:86)
    at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
    at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:105)
    at com.caucho.quercus.program.Function.callImpl(Function.java:352)
    at com.caucho.quercus.program.Function.call(Function.java:292)
    at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:309)
    at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:557)
    at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:850)
    at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:148)
    at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
    at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:105)
    at com.caucho.quercus.program.Function.callImpl(Function.java:352)
    at com.caucho.quercus.program.Function.call(Function.java:292)
    at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:309)
    at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:557)
    at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:850)
    at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:148)
    at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
    at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:105)
    at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:84)
    at com.caucho.quercus.program.TryStatement.execute(TryStatement.java:124)
    at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:105)
    at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:272)
    at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:70)
    at com.caucho.quercus.env.Env.include(Env.java:3742)
    at com.caucho.quercus.expr.IncludeExpr.eval(IncludeExpr.java:86)
    at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
    at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:105)
    at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:272)
    at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:70)
    at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119)
    at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:149)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:355)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:730)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:649)
    at java.lang.Thread.run(Thread.java:619)

Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
03-22-09 12:27 dkyriakis New Issue
03-22-09 12:36 dkyriakis Issue Monitored: dkyriakis


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker