PDA

View Full Version : java.lang.NullPointerException GAE Quercus drupal


ibrahim_dia
10-30-2009, 03:12 AM
Hi all
i am having this error trying to run drupal on GAE via Quercus and JIQL . i am a php developer don't know anything about java

Thanks for help

The server is running at http://localhost:8080/
[jiql DataSource created.]
jiqlDataSource url NOT Set.
jiqlDataSource user NOT Set.
jiqlDataSource password NOT Set.
ST.invoke ERROR: null:public static com.caucho.quercus.env.Value com.caucho.quercus.lib.db.MysqlModule.mysql_query( com.caucho.quercus.env.Env,com.caucho.quercus.env. StringValue,com.caucho.quercus.lib.db.Mysqli)->:Env[]:SELECT 1 FROM nubian_access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1:Mysqli[ConnectionEntry[ds=jiqlDataSource[activeCount=-1, autoCommit=true, closed=false, driverClass=org.jiql.jdbc.Driver, loginTimeout=60, maxCount=200, minCount=1, password=null, readOnly=false, url=jdbc:jiql://local, useCount=1, user=null], user=null]]
Fri Oct 30 02:37:59 UTC 2009[ERROR]: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.caucho.quercus.module.StaticFunction.invoke(St aticFunction.java:135)
at com.caucho.quercus.env.JavaInvoker.callMethod(Java Invoker.java:670)
at com.caucho.quercus.env.JavaInvoker.call(JavaInvoke r.java:605)
at com.caucho.quercus.env.AbstractJavaMethod.callCopy (AbstractJavaMethod.java:138)
at com.caucho.quercus.expr.FunctionExpr.evalImpl(Func tionExpr.java:180)
at com.caucho.quercus.expr.FunctionExpr.evalCopy(Func tionExpr.java:150)
at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr .java:86)
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:64)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:381)
at com.caucho.quercus.program.Function.call(Function. java:310)
at com.caucho.quercus.expr.FunctionExpr.evalImpl(Func tionExpr.java:182)
at com.caucho.quercus.expr.FunctionExpr.eval(Function Expr.java:126)
at com.caucho.quercus.statement.ReturnStatement.execu te(ReturnStatement.java:68)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:381)
at com.caucho.quercus.program.Function.call(Function. java:310)
at com.caucho.quercus.expr.FunctionExpr.evalImpl(Func tionExpr.java:182)
at com.caucho.quercus.expr.FunctionExpr.eval(Function Expr.java:126)
at com.caucho.quercus.program.Function.evalArguments( Function.java:210)
at com.caucho.quercus.expr.FunctionExpr.evalImpl(Func tionExpr.java:170)
at com.caucho.quercus.expr.FunctionExpr.eval(Function Expr.java:126)
at com.caucho.quercus.expr.Expr.evalBoolean(Expr.java :501)
at com.caucho.quercus.expr.AndExpr.eval(AndExpr.java: 68)
at com.caucho.quercus.statement.ReturnStatement.execu te(ReturnStatement.java:68)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:381)
at com.caucho.quercus.program.Function.call(Function. java:310)
at com.caucho.quercus.expr.FunctionExpr.evalImpl(Func tionExpr.java:182)
at com.caucho.quercus.expr.FunctionExpr.eval(Function Expr.java:126)
at com.caucho.quercus.expr.Expr.evalBoolean(Expr.java :501)
at com.caucho.quercus.statement.IfStatement.execute(I fStatement.java:80)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.statement.SwitchStatement.execu te(SwitchStatement.java:99)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:381)
at com.caucho.quercus.program.Function.call(Function. java:310)
at com.caucho.quercus.expr.FunctionExpr.evalImpl(Func tionExpr.java:182)
at com.caucho.quercus.expr.FunctionExpr.eval(Function Expr.java:126)
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:64)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.statement.WhileStatement.execut e(WhileStatement.java:73)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.Function.callImpl(Funct ion.java:381)
at com.caucho.quercus.program.Function.call(Function. java:310)
at com.caucho.quercus.expr.FunctionExpr.evalImpl(Func tionExpr.java:182)
at com.caucho.quercus.expr.FunctionExpr.eval(Function Expr.java:126)
at com.caucho.quercus.statement.ExprStatement.execute (ExprStatement.java:64)
at com.caucho.quercus.statement.BlockStatement.execut e(BlockStatement.java:105)
at com.caucho.quercus.program.QuercusProgram.execute( QuercusProgram.java:400)
at com.caucho.quercus.page.InterpretedPage.execute(In terpretedPage.java:89)
at com.caucho.quercus.env.Env.executePageTop(Env.java :3443)
at com.caucho.quercus.env.Env.executeTop(Env.java:338 9)
at com.caucho.quercus.servlet.GoogleQuercusServlet.se rvice(GoogleQuercusServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:405)
at com.google.apphosting.utils.jetty.DevAppEngineWebA ppContext.handle(DevAppEngineWebAppContext.java:54 )
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispa tcher.java:268)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispa tcher.java:126)
at com.google.appengine.tools.development.StaticFileU tils.serveWelcomeFileAsForward(StaticFileUtils.jav a:80)
at com.google.appengine.tools.development.LocalResour ceFileServlet.maybeServeWelcomeFile(LocalResourceF ileServlet.java:247)
at com.google.appengine.tools.development.LocalResour ceFileServlet.doGet(LocalResourceFileServlet.java: 120)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1093)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1084)
at com.google.appengine.tools.development.StaticFileF ilter.doFilter(StaticFileFilter.java:121)
at
at com.caucho.quercus.statement.SwitchStatement.execu te(SwitchStatement.java:99)
at ._drupal_bootstrap(C:\Users\ME\workspace\emobyl\wa r\includes\bootstrap.inc:996)
at .drupal_bootstrap(C:\Users\ME\workspace\emobyl\war \includes\bootstrap.inc:986)

nam
10-30-2009, 06:52 PM
We'll need to take a look at both JIQL and jetty. I've filed a bug report at:

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

ibrahim_dia
11-13-2009, 09:25 PM
is there any news about this error i have been trying to debug the drupal core but nothing i don't know java so help will be great
Thanks

nam
11-13-2009, 09:52 PM
No no yet. We're currently finishing up the 4.0.2 release. We can definitely take a look at it after the 4.0.2 release.