Anonymous | Login | Signup for a new account | 12-17-2024 08:34 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002004 | [Quercus] | crash | always | 09-12-07 07:36 | 09-12-07 13:09 | ||||
Reporter | attila75 | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.2 | ||||||
Summary | 0002004: NullPointerException in MysqliModule.java:937 | ||||||||
Description |
I am new to Resin/Quercus. Somehow I managed to install Drupal 5.2 (just for the record http://wiki.caucho.com/Quercus:_Drupal [^] and http://terracotta.org/confluence/display/wiki/Drupal [^] are the most important links and even the first one is not linked into the documentation!). There was even a strange thing which only the latter link mentions: "# visit the Drupal setup page at http://localhost:8080/drupal [^] and provide the details of the database you just created # after you submit the form, you'll see the same empty form again, this seems weird but don't fred, the form just changed the values of a configuration file, you now need to install the database structure for real # put the cursor focus on your browser's location text field, and press enter to perform the actual installation of the database structure" But that is not the most important problem I report here. If I try to use it with the mysqli driver (instead of the mysql driver) it will crash. If I change it to mysql than back to mysqli then it will work for a while (strange, perhaps it is due to the compiling of the settings.php? I think I restarted resin after configuration, but not sure). Environment: Windows XP SP2 and the latest stable software: MySQL 5.0.45 MySQL Connector/J 5.0.7 Drupal 5.2 Caucho Resin 3.1.2 Java SE 6 update 2 Anyway here comes the stack trace: c:\APPS>run-resin.bat c:\APPS>java -jar resin-3.1.2/lib/resin.jar Resin-3.1.2 (built Wed, 18 Jul 2007 11:16:59 PDT) Copyright(c) 1998-2007 Caucho Technology. All rights reserved. Using Resin(R) Open Source under the GNU Public License (GPL). See http://www.caucho.com [^] for information on Resin Professional, including caching, clustering, JNI acceleration, and OpenSSL integration. Starting Resin on Wed, 12 Sep 2007 14:30:05 +0200 (CEST) [14:30:06.629] 'select-manager' requires Resin Professional. See http://www.caucho.com [^] for information and licensing. [14:30:06.629] Server[id=,cluster=app-tier] starting [14:30:06.629] [14:30:06.629] Windows XP 5.1 x86 [14:30:06.629] Java 1.6.0_02-b06, 32, mixed mode, sharing, Cp1250, hu, Sun Microsystems Inc. [14:30:06.629] user.name: avangel [14:30:06.629] resin.home = c:\APPS\resin-3.1.2\ [14:30:06.629] root.directory = c:\APPS\resin-3.1.2\ [14:30:06.629] resin.conf = /c:/APPS/resin-3.1.2/conf/resin.conf [14:30:06.723] [14:30:06.723] hmux listening to localhost:6800 [14:30:06.738] http listening to *:8080 [14:30:06.785] Host[] starting [14:30:06.894] WebApp[http://localhost:8080] [^] starting [14:30:06.957] WebApp[http://localhost:8080/drupal] [^] starting [14:30:07.129] WebApp[http://localhost:8080/resin-doc] [^] starting [14:30:07.176] WebApp[http://localhost:8080/xxxxxxxx] [^] starting [14:30:07.223] WebApp[http://localhost:8080/resin-admin] [^] starting [14:30:07.223] Resin started in 2000ms [14:32:03.411] java.lang.NullPointerException [14:32:03.411] at com.caucho.quercus.lib.db.MysqliModule.escapeString(MysqliModule.java:937) [14:32:03.411] at com.caucho.quercus.lib.db.MysqliModule.mysqli_real_escape_string(MysqliModule.java:928) [14:32:03.411] at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source) [14:32:03.411] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [14:32:03.411] at java.lang.reflect.Method.invoke(Unknown Source) [14:32:03.411] at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:613) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:486) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:472) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:182) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126) [14:32:03.411] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.Function.callImpl(Function.java:334) [14:32:03.411] at com.caucho.quercus.program.Function.call(Function.java:274) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:182) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126) [14:32:03.411] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.SwitchStatement.execute(SwitchStatement.java:87) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.Function.callImpl(Function.java:334) [14:32:03.411] at com.caucho.quercus.program.Function.call(Function.java:274) [14:32:03.411] at com.caucho.quercus.program.AbstractFunction.call(AbstractFunction.java:243) [14:32:03.411] at com.caucho.quercus.env.CallbackFunction.call(CallbackFunction.java:106) [14:32:03.411] at com.caucho.quercus.lib.RegexpModule.pregReplaceCallbackImpl(RegexpModule.java:686) [14:32:03.411] at com.caucho.quercus.lib.RegexpModule.pregReplaceCallback(RegexpModule.java:929) [14:32:03.411] at com.caucho.quercus.lib.RegexpModule.preg_replace_callback(RegexpModule.java:890) [14:32:03.411] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) [14:32:03.411] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [14:32:03.411] at java.lang.reflect.Method.invoke(Unknown Source) [14:32:03.411] at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:613) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:486) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:472) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.callCopy(JavaInvoker.java:481) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalCopy(FunctionExpr.java:150) [14:32:03.411] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77) [14:32:03.411] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.Function.callImpl(Function.java:334) [14:32:03.411] at com.caucho.quercus.program.Function.call(Function.java:274) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:182) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126) [14:32:03.411] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.Function.callImpl(Function.java:334) [14:32:03.411] at com.caucho.quercus.program.Function.call(Function.java:274) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:182) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126) [14:32:03.411] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.Function.callImpl(Function.java:334) [14:32:03.411] at com.caucho.quercus.program.Function.call(Function.java:274) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:182) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126) [14:32:03.411] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.SwitchStatement.execute(SwitchStatement.java:87) [14:32:03.411] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239) [14:32:03.411] at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61) [14:32:03.411] at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119) [14:32:03.411] at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:123) [14:32:03.411] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:350) [14:32:03.411] at javax.servlet.http.HttpServlet.service(HttpServlet.java:91) [14:32:03.411] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103) [14:32:03.411] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) [14:32:03.411] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240) [14:32:03.411] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263) [14:32:03.411] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481) [14:32:03.411] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685) [14:32:03.411] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607) [14:32:03.411] at java.lang.Thread.run(Unknown Source) [14:32:03.411] Caused by: com.caucho.quercus.QuercusExecutionException: java.lang.NullPointerException [14:32:03.411] at com.caucho.quercus.lib.db.MysqliModule.escapeString(MysqliModule.java:937) [14:32:03.411] at com.caucho.quercus.lib.db.MysqliModule.mysqli_real_escape_string(MysqliModule.java:928) [14:32:03.411] at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source) [14:32:03.411] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [14:32:03.411] at java.lang.reflect.Method.invoke(Unknown Source) [14:32:03.411] at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:613) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:486) [14:32:03.411] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:472) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:182) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126) [14:32:03.411] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.Function.callImpl(Function.java:334) [14:32:03.411] at com.caucho.quercus.program.Function.call(Function.java:274) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:182) [14:32:03.411] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:126) [14:32:03.411] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68) [14:32:03.411] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99) [14:32:03.411] at com.caucho.quercus.program.SwitchStatement.execute(SwitchStatement.java:87) [14:32:03.411] at ._db_query_callback(/c:/APPS/resin-3.1.2/webapps/drupal/includes/database.inc:148) [14:32:03.411] at .(/c:/APPS/resin-3.1.2/webapps/drupal/index.php:19) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |