当前位置: 代码迷 >> Java Web开发 >> 求帮忙 这个是如何事 新手
  详细解决方案

求帮忙 这个是如何事 新手

热度:769   发布时间:2016-04-16 21:33:13.0
求帮忙 这个是怎么事 新手
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
cn.jbit.dao.UserOperation.find(UserOperation.java:69)
cn.jbit.servlet.LoginServlet.doPost(LoginServlet.java:28)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
cn.jbit.dao.EncodingFilter.doFilter(EncodingFilter.java:21)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.

Apache Tomcat/6.0.32
------解决思路----------------------
空指针,走debug调试,看看传值cn.jbit.dao.UserOperation.find。
------解决思路----------------------
cn.jbit.servlet.LoginServlet.doPost(LoginServlet.java:28)
到这个类的28行看看,是不是传过来的值不对
  相关解决方案