永发信息网

java.lang.NumberFormatException:null java.lang.NumberFormatE

答案:1  悬赏:50  手机版
解决时间 2021-08-20 22:18
  • 提问者网友:温旧梦泪无声
  • 2021-08-20 07:34
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编的
最佳答案
  • 五星知识达人网友:归鹤鸣
  • 2021-08-20 08:09

肯定是字符串转换成整数出的错误!
那个参数是空值,所以报错!
org.apache.jsp.list_jsp._jspService(list_jsp.java:192)
在你的list.jsp里面,有一行转换整数出错.
list_jsp.java是list.jsp生成的java文件,可以搜索一下,看看192行对应你的jsp是第几行.
也可以用鼠标直接定位异常位置.


我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯