HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exceptionjava.lang.NullPointerException
com.ascent.dao.LoginDAO.login(LoginDAO.java:27)
com.ascent.servlet.LoginServlet.Userlogin(LoginServlet.java:73)
com.ascent.servlet.LoginServlet.doGet(LoginServlet.java:42)
com.ascent.servlet.LoginServlet.doPost(LoginServlet.java:31)
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
com.ascent.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:33)
noteThe full stack trace of the root cause is available in the Apache Tomcat/7.0.16 logs.Apache Tomcat/7.0.16
人气:349 ℃ 时间:2020-05-19 13:19:48
解答
服务器端应用程序出错,具体出错位置是LoginDao第27行代码附近,错误原因是空指针异常,原因是27行某一个对象未进行初始化
推荐
猜你喜欢
- When learning new vocabulary,don't just memorize a list of word.Instead,try to____five sentences
- 谁会比例的公式?正比例和反比例都要!谢谢!
- 写英语阅读时,单词意思知道,可就是翻译不出来,里面的结构我一点都不懂,我已经高二了,非常着急,帮我
- 一项工程如果甲队先独做8天然后与乙合作4天完成了全工程的2/5.甲乙工作效率比是4:3,如果这项工程由乙独做,需几天
- 已知,如图,在三角形ABC中,AB=4,角B=30度,角C=45度,那么BC=
- we can often see this sign "THIS SIDE UP"( ) A.in a box B.at school C.on a box D.in the street(选哪个,要理由)
- 虚数i是否有零次方?有的话是等于1吗?
- 分式a212-3a的值为负数,则a的取值范围是_.