java.lang.NumberFormatException:null java.lang.NumberFormatException:nullHTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal err

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 23:34:45
java.lang.NumberFormatException:null java.lang.NumberFormatException:nullHTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal err

java.lang.NumberFormatException:null java.lang.NumberFormatException:nullHTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal err
java.lang.NumberFormatException:null java.lang.NumberFormatException:null
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException:null
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NumberFormatException:null
java.lang.Integer.parseInt(Integer.java:436)
java.lang.Integer.parseInt(Integer.java:518)
org.apache.jsp.list_jsp._jspService(list_jsp.java:192)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.27
我用的JBUILDER编的

java.lang.NumberFormatException:null java.lang.NumberFormatException:nullHTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal err
肯定是字符串转换成整数出的错误!
那个参数是空值,所以报错!
org.apache.jsp.list_jsp._jspService(list_jsp.java:192)
在你的list.jsp里面,有一行转换整数出错.
list_jsp.java是list.jsp生成的java文件,可以搜索一下,看看192行对应你的jsp是第几行.
也可以用鼠标直接定位异常位置.