jsp+mysql出现这样的错误,请各位帮忙一下啊?
2007-4-12 10:16:39 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2007-4-12 10:16:39 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2007-4-12 10:16:39 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1296 ms
2007-4-12 10:16:39 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-4-12 10:16:39 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.17
2007-4-12 10:16:39 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 10:16:42 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 10:16:42 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 10:16:42 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 10:16:43 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 10:16:43 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 10:16:43 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 10:16:43 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 10:16:43 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-80
2007-4-12 10:16:44 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2007-4-12 10:16:44 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2007-4-12 10:16:44 org.apache.catalina.startup.Catalina start
信息: Server startup in 5516 ms
2007-4-12 10:28:35 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 11:44:02 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 11:50:24 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at com.mysql.jdbc.ResultSet.extractStringFromNativeColumn(ResultSet.java:827)
at com.mysql.jdbc.ResultSet.getNativeConvertToString(ResultSet.java:3289)
at com.mysql.jdbc.ResultSet.getNativeString(ResultSet.java:3710)
at com.mysql.jdbc.ResultSet.getStringInternal(ResultSet.java:4906)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:4739)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:174)
at bbs.bbstz.bbstzList2.bbstzlist(bbstzList2.java:53)
at org.apache.jsp.forum_jsp._jspService(forum_jsp.java:311)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Thread.java:595)
2007-4-12 12:25:46 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 12:54:02 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at com.mysql.jdbc.ResultSet.findColumn(ResultSet.java:933)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:4755)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:224)
at bbs.bbs_smallclass.SmalclassList.smalllcasslist(SmalclassList.java:47)
at org.apache.jsp.leftmenu_jsp._jspService(leftmenu_jsp.java:94)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Thread.java:595)
2007-4-12 13:20:11 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 13:24:41 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 13:27:36 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 13:27:43 org.apache.coyote.http11.Http11AprProtocol pause
信息: Pausing Coyote HTTP/1.1 on http-80
2007-4-12 13:27:43 org.apache.coyote.ajp.AjpAprProtocol pause
信息: Pausing Coyote AJP/1.3 on ajp-8009
2007-4-12 13:27:44 org.apache.catalina.core.StandardService stop
信息: Stopping service Catalina
2007-4-12 13:27:44 org.apache.coyote.http11.Http11AprProtocol destroy
信息: Stopping Coyote HTTP/1.1 on http-80
2007-4-12 13:27:44 org.apache.coyote.ajp.AjpAprProtocol destroy
信息: Stopping Coyote AJP/1.3 on ajp-8009
2007-4-12 13:28:50 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2007-4-12 13:28:50 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2007-4-12 13:28:50 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1297 ms
2007-4-12 13:28:50 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-4-12 13:28:50 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.17
2007-4-12 13:28:50 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 13:28:54 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 13:28:54 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 13:28:54 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 13:28:54 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 13:28:54 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 13:28:55 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 13:28:55 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-12 13:28:55 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-80
2007-4-12 13:28:55 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2007-4-12 13:28:55 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2007-4-12 13:28:56 org.apache.catalina.startup.Catalina start
信息: Server startup in 5750 ms
2007-4-12 13:33:07 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 13:35:01 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at com.mysql.jdbc.ResultSet.fastTimestampCreate(ResultSet.java:890)
at com.mysql.jdbc.ResultSet.getNativeTimestamp(ResultSet.java:3858)
at com.mysql.jdbc.ResultSet.getNativeConvertToString(ResultSet.java:3377)
at com.mysql.jdbc.ResultSet.getNativeString(ResultSet.java:3710)
at com.mysql.jdbc.ResultSet.getStringInternal(ResultSet.java:4906)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:4739)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:4755)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:224)
at bbs.bbs_smallclass.SmalclassList.smalllcasslist(SmalclassList.java:48)
at org.apache.jsp.viewthread_jsp._jspService(viewthread_jsp.java:341)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Thread.java:595)
2007-4-12 13:43:10 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 14:16:48 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 14:22:47 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
2007-4-12 14:24:37 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
游客 (未验证)
周一, 2008/11/10 - 17:08
Permalink
我也需要这个答案,谢
我也需要这个答案,谢谢大虾了!
yejr
周一, 2008/11/10 - 17:24
Permalink
看不懂jdbc的错误,直
看不懂jdbc的错误,直接把mysql相关的错误信息打出来吧。
MySQL方案、培训、支持