做了一个大的web 前段时间还好用 在服务器上也能运行
但是最近一直提示错误
HTTP Status 500 -
type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
cn.com.syyyy.score.dao.ScoreDaoImpl.getAllYearTermName(ScoreDaoImpl.java:295)
cn.com.syyyy.score.servlet.LoingServlet.doPost(LoingServlet.java:37)
cn.com.syyyy.score.servlet.LoingServlet.doGet(LoingServlet.java:21)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.0 logs.
HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
cn.com.syyyy.score.dao.ScoreDaoImpl.getAllYearTermName(ScoreDaoImpl.java:295)
cn.com.syyyy.score.servlet.ExcelSmmaryServlet.doGet(ExcelSmmaryServlet.java:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.0 logs.HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
cn.com.syyyy.score.dao.ScoreDaoImpl.getAllYearTermName(ScoreDaoImpl.java:295)
cn.com.syyyy.score.servlet.QueryServlet.doPost(QueryServlet.java:40)
cn.com.syyyy.score.servlet.QueryServlet.doGet(QueryServlet.java:27)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.0 logs.
--------------------------------------------------------------------------------Apache Tomcat/7.0.0HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
cn.com.syyyy.score.dao.ScoreDaoImpl.getTeacherNameByTeacherNo(ScoreDaoImpl.java:1112)
cn.com.syyyy.score.failuremgr.servlet.GetCntServlet.doPost(GetCntServlet.java:75)
cn.com.syyyy.score.failuremgr.servlet.GetCntServlet.doGet(GetCntServlet.java:53)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.0 logs.
--------------------------------------------------------------------------------Apache Tomcat/7.0.0
这三个错误有点相似 不知道错了 希望高手能帮忙解决一下 非常感谢
但是最近一直提示错误
HTTP Status 500 -
type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
cn.com.syyyy.score.dao.ScoreDaoImpl.getAllYearTermName(ScoreDaoImpl.java:295)
cn.com.syyyy.score.servlet.LoingServlet.doPost(LoingServlet.java:37)
cn.com.syyyy.score.servlet.LoingServlet.doGet(LoingServlet.java:21)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.0 logs.
HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
cn.com.syyyy.score.dao.ScoreDaoImpl.getAllYearTermName(ScoreDaoImpl.java:295)
cn.com.syyyy.score.servlet.ExcelSmmaryServlet.doGet(ExcelSmmaryServlet.java:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.0 logs.HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
cn.com.syyyy.score.dao.ScoreDaoImpl.getAllYearTermName(ScoreDaoImpl.java:295)
cn.com.syyyy.score.servlet.QueryServlet.doPost(QueryServlet.java:40)
cn.com.syyyy.score.servlet.QueryServlet.doGet(QueryServlet.java:27)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.0 logs.
--------------------------------------------------------------------------------Apache Tomcat/7.0.0HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.NullPointerException
cn.com.syyyy.score.dao.ScoreDaoImpl.getTeacherNameByTeacherNo(ScoreDaoImpl.java:1112)
cn.com.syyyy.score.failuremgr.servlet.GetCntServlet.doPost(GetCntServlet.java:75)
cn.com.syyyy.score.failuremgr.servlet.GetCntServlet.doGet(GetCntServlet.java:53)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.0 logs.
--------------------------------------------------------------------------------Apache Tomcat/7.0.0
这三个错误有点相似 不知道错了 希望高手能帮忙解决一下 非常感谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货