Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
611 | minor | always | 12-31-05 06:47 | 12-31-05 18:45 | |
|
|||||
Reporter: | bago | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.18 | ||
|
|||||
Summary: | 0000611: NPE in mysql_fetch_field | ||||
Description: |
Maybe this is related to 0000554 that should be fixed. [15:45:07.596] [15:45:07.596] [15:45:07.596] merging .smap for _wp_22dl10n__php.class [15:45:07.596] merging .smap for _wp_22dl10n__php.class [15:45:07.656] idle PoolItem[connection-pool-0,0,com.caucho.sql.ManagedConnectionImpl@1700391] [15:45:07.676] javax.resource.ResourceExcepdatabastion: java.sql.SQLException: No Database Selected [15:45:07.676] at com.caucho.sql.ManagedConnectionImpl.cleanup(ManagedConnectionImpl.java:625) [15:45:07.676] at com.caucho.jca.ConnectionPool.toIdle(ConnectionPool.java:528) [15:45:07.676] at com.caucho.jca.PoolItem.toIdle(PoolItem.java:1070) [15:45:07.676] at com.caucho.jca.UserPoolItem.close(UserPoolItem.java:368) [15:45:07.676] at com.caucho.jca.PoolItem.connectionClosed(PoolItem.java:537) [15:45:07.676] at com.caucho.sql.ManagedConnectionImpl.closeEvent(ManagedConnectionImpl.java:452) [15:45:07.676] at com.caucho.sql.UserConnection.close(UserConnection.java:645) [15:45:07.676] at com.caucho.quercus.resources.JdbcConnectionResource.close(JdbcConnectionResource.java:601) [15:45:07.676] at com.caucho.quercus.env.Env.close(Env.java:2739) [15:45:07.676] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:212) [15:45:07.676] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) [15:45:07.676] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) [15:45:07.676] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) [15:45:07.676] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) [15:45:07.676] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:267) [15:45:07.676] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:388) [15:45:07.676] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) [15:45:07.676] at com.caucho.util.ThreadPool.run(ThreadPool.java:423) [15:45:07.676] at java.lang.Thread.run(Thread.java:595) [15:45:07.676] Caused by: java.sql.SQLException: No Database Selected [15:45:07.676] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2851) [15:45:07.676] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531) [15:45:07.676] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622) [15:45:07.676] at com.mysql.jdbc.Connection.execSQL(Connection.java:2379) [15:45:07.676] at com.mysql.jdbc.Connection.setCatalog(Connection.java:597) [15:45:07.676] at com.mysql.jdbc.jdbc2.optional.ConnectionWrapper.setCatalog(ConnectionWrapper.java:122) [15:45:07.676] at com.caucho.sql.ManagedConnectionImpl.cleanup(ManagedConnectionImpl.java:612) [15:45:07.676] ... 18 more [15:45:07.676] connection pool destroy PoolItem[connection-pool-0,0,null] [15:45:07.676] destroy com.caucho.sql.ManagedConnectionImpl@1700391 [15:45:07.676] java.lang.NullPointerException [15:45:07.676] at com.caucho.quercus.resources.JdbcResultResource.fetchField(JdbcResultResource.java:209) [15:45:07.676] at com.caucho.quercus.lib.QuercusMysqlModule.mysql_fetch_field(QuercusMysqlModule.java:362) [15:45:07.676] at _quercus._wp_22dincludes._wp_22ddb__php$quercus_wpdb.fun_query(_wp_22ddb__php.java:572) [15:45:07.676] at _quercus._wp_22dincludes._wp_22ddb__php$quercus_wpdb$16.evalMethod(_wp_22ddb__php.java:596) [15:45:07.676] at com.caucho.quercus.env.ObjectValue.evalMethod(ObjectValue.java:159) [15:45:07.676] at _quercus._wp_22dincludes._wp_22ddb__php$quercus_wpdb.fun_get_results(_wp_22ddb__php.java:156) [15:45:07.676] at _quercus._wp_22dincludes._wp_22ddb__php$quercus_wpdb$2.evalMethod(_wp_22ddb__php.java:193) [15:45:07.676] at com.caucho.quercus.program.CompiledMethod_2.evalMethod(CompiledMethod_2.java:119) [15:45:07.676] at com.caucho.quercus.env.ObjectValue.evalMethod(ObjectValue.java:159) [15:45:07.676] at com.caucho.quercus.env.Var.evalMethod(Var.java:570) [15:45:07.676] at _quercus._wp_22dincludes._functions__php.fun_update_user_cache(_functions__php.java:1870) [15:45:07.676] at _quercus._wp_22dincludes._functions__php$45.eval(_functions__php.java:1893) [15:45:07.676] at _quercus._wp_22dsettings__php.execute(_wp_22dsettings__php.java:134) [15:45:07.676] at com.caucho.quercus.env.Env.include(Env.java:2116) [15:45:07.676] at _quercus._wp_22dconfig__php.execute(_wp_22dconfig__php.java:58) [15:45:07.676] at com.caucho.quercus.env.Env.include(Env.java:2116) [15:45:07.676] at _quercus._wp_22dblog_22dheader__php.execute(_wp_22dblog_22dheader__php.java:99) [15:45:07.676] at com.caucho.quercus.env.Env.include(Env.java:2116) [15:45:07.676] at _quercus._index__php.execute(_index__php.java:51) [15:45:07.676] at com.caucho.quercus.page.PhpPage.executeTop(PhpPage.java:124) [15:45:07.676] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:195) [15:45:07.676] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) [15:45:07.676] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) [15:45:07.676] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) [15:45:07.676] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) [15:45:07.676] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:267) [15:45:07.676] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:388) [15:45:07.676] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) [15:45:07.676] at com.caucho.util.ThreadPool.run(ThreadPool.java:423) [15:45:07.676] at java.lang.Thread.run(Thread.java:595) [15:45:07.686] java.lang.NullPointerException [15:45:07.686] at com.caucho.quercus.resources.JdbcResultResource.fetchField(JdbcResultResource.java:209) [15:45:07.686] at com.caucho.quercus.lib.QuercusMysqlModule.mysql_fetch_field(QuercusMysqlModule.java:362) [15:45:07.686] at _quercus._wp_22dincludes._wp_22ddb__php$quercus_wpdb.fun_query(_wp_22ddb__php.java:572) [15:45:07.686] at _quercus._wp_22dincludes._wp_22ddb__php$quercus_wpdb$16.evalMethod(_wp_22ddb__php.java:596) [15:45:07.686] at com.caucho.quercus.env.ObjectValue.evalMethod(ObjectValue.java:159) [15:45:07.686] at _quercus._wp_22dincludes._wp_22ddb__php$quercus_wpdb.fun_get_results(_wp_22ddb__php.java:156) [15:45:07.686] at _quercus._wp_22dincludes._wp_22ddb__php$quercus_wpdb$2.evalMethod(_wp_22ddb__php.java:193) [15:45:07.686] at com.caucho.quercus.program.CompiledMethod_2.evalMethod(CompiledMethod_2.java:119) [15:45:07.686] at com.caucho.quercus.env.ObjectValue.evalMethod(ObjectValue.java:159) [15:45:07.686] at com.caucho.quercus.env.Var.evalMethod(Var.java:570) [15:45:07.686] at _quercus._wp_22dincludes._functions__php.fun_update_user_cache(_functions__php.java:1870) [15:45:07.686] at _quercus._wp_22dincludes._functions__php$45.eval(_functions__php.java:1893) [15:45:07.686] at _quercus._wp_22dsettings__php.execute(_wp_22dsettings__php.java:134) [15:45:07.686] at com.caucho.quercus.env.Env.include(Env.java:2116) [15:45:07.686] at _quercus._wp_22dconfig__php.execute(_wp_22dconfig__php.java:58) [15:45:07.686] at com.caucho.quercus.env.Env.include(Env.java:2116) [15:45:07.686] at _quercus._wp_22dblog_22dheader__php.execute(_wp_22dblog_22dheader__php.java:99) [15:45:07.686] at com.caucho.quercus.env.Env.include(Env.java:2116) [15:45:07.686] at _quercus._index__php.execute(_index__php.java:51) [15:45:07.686] at com.caucho.quercus.page.PhpPage.executeTop(PhpPage.java:124) [15:45:07.686] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:195) [15:45:07.686] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) [15:45:07.686] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) [15:45:07.686] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) [15:45:07.686] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) [15:45:07.686] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:267) [15:45:07.686] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:388) [15:45:07.686] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) [15:45:07.686] at com.caucho.util.ThreadPool.run(ThreadPool.java:423) [15:45:07.686] at java.lang.Thread.run(Thread.java:595) [15:45:08.167] [0] HTTP/1.1 500 Internal Server Error [15:45:08.167] [0] Content-Type: text/html [15:45:08.167] [0] Transfer-Encoding: chunked [15:45:08.177] [0] keepalive |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|