Java问题exception java.lang.NumberFormatException: For input string: "" 20
typeExceptionreportmessageForinputstring:""descriptionTheserverencounteredaninternale...
type Exception report
message For input string: ""
description The server encountered an internal error that prevented
it from fulfilling this request.
exception java.lang.NumberFormatException: For input string: ""
java.lang.NumberFormatException.forInputString(Unknown Source)
java.lang.Integer.parseInt(Unknown Source)
java.lang.Integer.parseInt(Unknown Source)
serv.PE.ServPEUptPlayer.doPost(ServPEUptPlayer.java:54)
javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the
Apache Tomcat/7.0.53 logs.
serv.PE.ServPEUptPlayer.doPost(ServPEUptPlayer.java:54)代码:
54行 ??player.setBirthday(new Date(Integer.parseInt(request.getParameter("byear"))-1900,Integer.parseInt(request.getParameter("bmonth"))-1,Integer.parseInt(request.getParameter("bday"))));
player.setBreakDeal(request.getParameter("breakDeal"));player.setCity(request.getParameter("city").trim());
player.setCountry(request.getParameter("country").trim());player.setEmail(request.getParameter("email").trim()); 展开
message For input string: ""
description The server encountered an internal error that prevented
it from fulfilling this request.
exception java.lang.NumberFormatException: For input string: ""
java.lang.NumberFormatException.forInputString(Unknown Source)
java.lang.Integer.parseInt(Unknown Source)
java.lang.Integer.parseInt(Unknown Source)
serv.PE.ServPEUptPlayer.doPost(ServPEUptPlayer.java:54)
javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the
Apache Tomcat/7.0.53 logs.
serv.PE.ServPEUptPlayer.doPost(ServPEUptPlayer.java:54)代码:
54行 ??player.setBirthday(new Date(Integer.parseInt(request.getParameter("byear"))-1900,Integer.parseInt(request.getParameter("bmonth"))-1,Integer.parseInt(request.getParameter("bday"))));
player.setBreakDeal(request.getParameter("breakDeal"));player.setCity(request.getParameter("city").trim());
player.setCountry(request.getParameter("country").trim());player.setEmail(request.getParameter("email").trim()); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询