关闭

新手求解答

183人阅读 评论(0) 收藏 举报
org.apache.jasper.JasperException: An exception occurred processing JSP page /examaction.jsp at line 41

38: String testc= (String)session.getAttribute("testc");
39: String[]  tf =(String[])session.getAttribute("tf");
40: 
41: int a=Integer.parseInt(tf[1]);
42: int b=Integer.parseInt(tf[0]);
43: int c=Integer.parseInt(tf[2]);
44: int d=Integer.parseInt(tf[3]);


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

java.lang.NullPointerException
	org.apache.jsp.examaction_jsp._jspService(examaction_jsp.java:109)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.

做软件课设时遇到以上的问题,不知道该如何处理。。。不知道哪位大神可以帮忙解答一下?
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:192次
    • 积分:11
    • 等级:
    • 排名:千里之外
    • 原创:1篇
    • 转载:0篇
    • 译文:0篇
    • 评论:0条
    文章存档
    阅读排行
    评论排行