java.lang.NumberFormatException: For input string: "on"
2017-04-03 00:00
681 查看
一、错误展示
四月 14, 2016 3:45:45 下午 org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet [messageServlet] in context with path [/MircoMessage] threw exception
java.lang.NumberFormatException: For input string: "on"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.valueOf(Integer.java:582)
at cn.wp.service.MessageService.removeSeverel(MessageService.java:35)
at cn.wp.servlet.MessageServlet.doPost(MessageServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:722)
错误原因:
选中的复选框中没有值
文章出处:http://blog.csdn.net/u014473375/article/details/51152148
相关文章推荐
- java.lang.NumberFormatException: For input string: "on"
- java.lang.NumberFormatException: For input string: "Y"
- java.lang.NumberFormatException: For input string: ""
- java.lang.NumberFormatException: For input string: "0"
- Caused by: java.lang.NumberFormatException: For input string: "[objectHTMLDivElement]"
- mybatis java.lang.NumberFormatException: For input string: "G"
- el 表达式 报 java.lang.NumberFormatException: For input string: "xxx"
- java.lang.NumberFormatException: For input string: "4321432431"
- java.lang.NumberFormatException: For input string: "0"
- Caused by: java.lang.NumberFormatException: For input string: "undefined"
- java.lang.NumberFormatException: For input string: "undefined"
- java.lang.NumberFormatException: For input string: "bobo"
- java.lang.NumberFormatException: For input string: "2013-01-03 15:16:21"
- java.lang.NumberFormatException: For input string: "26.0"
- Caused by: java.lang.NumberFormatException: For input string: ""
- Error: java.lang.NumberFormatException: For input string: ""
- 关于jstl EL用法的注意点(java.lang.NumberFormatException: For input string: "userName")
- 解决:java.lang.NumberFormatException: For input string: "id"
- 关于jstl EL用法的注意点(java.lang.NumberFormatException: For input string: "userName")
- java.lang.NumberFormatException: For input string: "imei"