下面是错误代码,希望可以帮我解决下type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
com.witbridge.ebook.action.CustomerAction.login(CustomerAction.java:23)
com.witbridge.ebook.servlet.Login.login(Login.java:36)
com.witbridge.ebook.servlet.Login.doPost(Login.java:28)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.witbridge.ebook.util.EncodingFilter.doFilter(EncodingFilter.java:23)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.30 logs.
com.witbridge.ebook.action.CustomerAction.login(CustomerAction.java:23)
com.witbridge.ebook.servlet.Login.login(Login.java:36)
com.witbridge.ebook.servlet.Login.doPost(Login.java:28)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.witbridge.ebook.util.EncodingFilter.doFilter(EncodingFilter.java:23)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.30 logs.
解决方案 »
- StrutsPrepareAndExecuteFilter中的问题
- 关于500方面的抱错
- JSP页面里怎么让用户在规定时间内登录。
- 各位师兄们,小妹前几天刚更新好的网站,用asp.net 做的上个月刚挂上去的
- URL的openStream()方法如何打开需要密码验证的资源?
- 怎樣把string變成int?
- 谁有做java缩略图的经验?
- 在线等待,各位兄弟帮帮忙,特别急的事情!
- 求JSP最新规范(中文)?在线等!
- 为邮件添加附件是报Not in multipart mode - create an appropriate MimeMessageHelper via a c
- 使用org.apache.commons.net.ftp.FTPClient上传下载的问题
- 捕捉页面上的超链接
com.witbridge.ebook.action.CustomerAction.login(CustomerAction.java:23)
在CustomerAction.java 的23行 出现了空指针异常、
说明 你引用的数据内容是空的、
好好查查上下文来进行修改
先用Debug模式运行一下,或者非空判断一下;