Topic: 求助解决一个空指针异常!谢谢!

  Print this page

1.求助解决一个空指针异常!谢谢! Copy to clipboard
Posted by: java_lhl
Posted on: 2008-08-27 08:55

控制台打出来的是这个异常,但我找了好久也没找出来原因,请大家帮忙,谢谢!
org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
  at org.apache.jsp.sysmgr.user_005fmodify_jsp._jspService(user_005fmodify_jsp.java:161)
  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  at java.lang.Thread.run(Thread.java:619)

2.Re:求助解决一个空指针异常!谢谢! [Re: java_lhl] Copy to clipboard
Posted by: junyuo
Posted on: 2008-08-27 11:12

you may can go to tomcat to find this servlet and figure out what's wrong in line 161.

3.Re:求助解决一个空指针异常!谢谢! [Re: java_lhl] Copy to clipboard
Posted by: yangboqing
Posted on: 2008-08-27 12:34

应该是数据库语句写错了 我以前就死这样的


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923