谁能帮我分析一下这是什么错误?怎么改正呀?高手过来指点一下呀?小弟谢谢啦
这是一个开源的在线考试系统,我登陆时,出现错误,不知道什么原因,高手过来指点一下呀?小弟谢谢啦
HTTP Status 500 -
--------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
jinghua.CheckUser.getMessage(CheckUser.java:64)
org.apache.jsp.CheckUser_jsp._jspService(CheckUser_jsp.java:113)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
[解决办法]
你用断点看看jinghua.CheckUser.java里的64行是不是取得的值是空的
[解决办法]
贴代码吧,下面那个错是空指针,可能是变量没定义之类。上面那个是文件编译时遇到错,具体的错就要看代码了没办法
[解决办法]
CheckUser.java的64行取值为空
[解决办法]
空指针异常.jinghua.CheckUser.getMessage()方法里抛出的.
[解决办法]
CheckUser.jsp第113,空指针了
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html