当前位置: 代码迷 >> J2EE >> java.lang.NullPointerException出错解决思路
  详细解决方案

java.lang.NullPointerException出错解决思路

热度:386   发布时间:2016-04-22 03:26:18.0
java.lang.NullPointerException出错
HTTP Status 500 - 

--------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

java.lang.NullPointerException
servlet.hnlwdzzw.zfbg.common.pattern.CommonQueryView.doGet(CommonQueryView.java:430)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
servlet.lwbbs.database.SubCheck.doFilter(SubCheck.java:60)
hnlwdzzw.zfbg.common.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:58)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.


--------------------------------------------

Apache Tomcat/5.0.28

------解决方案--------------------
你的页面里写的java代码取值为空,程序抛出空指针异常,建议把代码贴出来看看。
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/search?q=317
  相关解决方案