Home > front end >  Help leaders tomorrow want to hand in the final assignment HTTP status 500 error
Help leaders tomorrow want to hand in the final assignment HTTP status 500 error

Time:10-04

Type Exception report

The message

Description The server encountered an internal error () that prevented it from fulfilling this request.

The exception

Org. Apache. Jasper. JasperException: An exception occurred processing JSP page/mofifyUser JSP at line 6

3: & lt; head> & lt; title> Modify the user information & lt;/title>
4: & lt; body>
5: & lt; %//read the user information original
6: int id=Integer. ParseInt (request. The getParameter (" id "));
7: UserManage UserManage=new ncu. Util. UserManage ();
8: the UserInfo the UserInfo=usermanage. GetUserById (id);
9: usermanage closeConn ();


Stacktrace:
Org. Apache. Jasper. Servlet. JspServletWrapper. HandleJspException (JspServletWrapper. Java: 524)
Org. Apache. Jasper. Servlet. JspServletWrapper. Service (435) JspServletWrapper. Java:
Org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 320)
Org. Apache. Jasper. Servlet. JspServlet. Service (266) JspServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803)
Ncu. Filter. CharsetEncodingFilter. DoFilter (CharsetEncodingFilter. Java: 17)


Root cause

Java. Lang. A NumberFormatException: null
Java. Lang. Integer. ParseInt (Integer. Java: 415)
Java. Lang. Integer. ParseInt (Integer. Java: 497)
Org. Apache. JSP. MofifyUser_jsp. _jspService (60) mofifyUser_jsp. Java:
Org. Apache. Jasper. Runtime. HttpJspBase. Service (HttpJspBase. Java: 70)
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803)
Org. Apache. Jasper. Servlet. JspServletWrapper. Service (393) JspServletWrapper. Java:
Org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 320)
Org. Apache. Jasper. Servlet. JspServlet. Service (266) JspServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803)
Ncu. Filter. CharsetEncodingFilter. DoFilter (CharsetEncodingFilter. Java: 17)


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

Type Exception report

The message

Description The server encountered an internal error () that prevented it from fulfilling this request.

The exception

Org. Apache. Jasper. JasperException: An exception occurred processing JSP page/mofifyUser JSP at line 6

3: & lt; head> Modify the user information & lt;/title> </head> <br/>4: & lt; body> <br/>5: & lt; %//read the user information original <br/>6: int id=Integer. ParseInt (request. The getParameter (" id ")); <br/>7: UserManage UserManage=new ncu. Util. UserManage (); <br/>8: the UserInfo the UserInfo=usermanage. GetUserById (id); <br/>9: usermanage closeConn (); <br/><br/><br/>Stacktrace: <br/>Org. Apache. Jasper. Servlet. JspServletWrapper. HandleJspException (JspServletWrapper. Java: 524) <br/>Org. Apache. Jasper. Servlet. JspServletWrapper. Service (435) JspServletWrapper. Java: <br/>Org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 320) <br/>Org. Apache. Jasper. Servlet. JspServlet. Service (266) JspServlet. Java: <br/>Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803) <br/>Ncu. Filter. CharsetEncodingFilter. DoFilter (CharsetEncodingFilter. Java: 17) <br/><br/><br/>Root cause <br/><br/>Java. Lang. A NumberFormatException: null <br/>Java. Lang. Integer. ParseInt (Integer. Java: 415) <br/>Java. Lang. Integer. ParseInt (Integer. Java: 497) <br/>Org. Apache. JSP. MofifyUser_jsp. _jspService (60) mofifyUser_jsp. Java: <br/>Org. Apache. Jasper. Runtime. HttpJspBase. Service (HttpJspBase. Java: 70) <br/>Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803) <br/>Org. Apache. Jasper. Servlet. JspServletWrapper. Service (393) JspServletWrapper. Java: <br/>Org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 320) <br/>Org. Apache. Jasper. Servlet. JspServlet. Service (266) JspServlet. Java: <br/>Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 803) <br/>Ncu. Filter. CharsetEncodingFilter. DoFilter (CharsetEncodingFilter. Java: 17) <br/><br/><br/>Note The full stack trace of The root cause is available in The Apache Tomcat/6.0.13 logs. </div> <div class="th_page th_page_color"></div> <div class="umCopyright"> <p>Page link:<a href="/frontend/51050.html" target="_blank" style="color:#999">https//www.codepudding.com/frontend/51050.html</a></p> </div> <div class="detail-arr"> <div class="detail-arr-left">Prev:<a href='/frontend/51049.html'>Vantui vuecli, file upload problem</a></div> <div class="detail-arr-right">Next:<a href='/frontend/51051.html'>Help WeChat end H5 audio playback (with list, automatically play, etc.)</a></div> </div> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="hot-tags neitags"> <ul> <li><i class="iconfont icon-x-tags"></i> Tags:  </li> <a href='/e/tags/?tagname=HTML+%28CSS%29' target='_blank'>HTML (CSS)</a> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="xiangguan"> <ul class="msg msghead"> <li class="tbname">Related</li> </ul> <ul> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="flinks"> <ul> <li><i class="iconfont icon-x-tags"></i> Links:  </li> <li class="liflinks"><a target="_blank" href="/" title="CodePudding">CodePudding</a></li> </ul> </div> </div> </div> </div> <div class="footer"> <p><span style="font-size:16px;color:#666;font-weight: bold">About Us:</span>  <a href="https://www.codepudding.com/contact.html">Contact Us</a>      <a href="https://www.codepudding.com/service.html">Terms of Service</a>      <a href="https://www.codepudding.com/privacy.html"> Privacy Policy</a></p> <p class="foot_info">Copyright © 2010-2023,Powered By <a href="/" target="_blank">CodePudding</a> </p> </div> <script type="text/javascript" src="/skin/code/tianhu.js"></script> </body></html>