当前位置: 代码迷 >> Java Web开发 >> [求助]500 Servlet Exception解码
  详细解决方案

[求助]500 Servlet Exception解码

热度:448   发布时间:2007-01-12 20:42:55.0
[求助]500 Servlet Exception解码

大家好,请你们帮我看看以下这个异常代码代表的是什么意思,应该怎么处理才能够解决呢。谢谢!

500 Servlet Exception
java.lang.NullPointerException
at MyBean.dbcon.executeQuery(dbcon.java:32)
at _topiclist__jsp._jspService(/topiclist.jsp:162)
at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at com.caucho.jsp.Page.subservice(Page.java:506)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:595)


--------------------------------------------------------------------------------
Resin 2.1.16 (built Tue Feb 15 11:12:27 PST 2005)

搜索更多相关主题的帖子: Exception  caucho  Servlet  java  jsp  

----------------解决方案--------------------------------------------------------
空指针异常]

----------------解决方案--------------------------------------------------------

哦,可是我搜索了空指针异常的资料看了还是一头雾水,是哪里出问题了呢?


----------------解决方案--------------------------------------------------------
at MyBean.dbcon.executeQuery(dbcon.java:32)

它告诉你了,第32行
----------------解决方案--------------------------------------------------------

空指针异常!
从下往上看,提示32行!


----------------解决方案--------------------------------------------------------
  相关解决方案