Apache Tomcat/6.0.35 - Error report

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: An exception occurred processing JSP page /sportspress/assets/jsp/news/article_midden.jsp at line 24

21: 
22: if (request.getParameter("Article_ID") != null)
23: {
24:     int Article_ID = Integer.parseInt(request.getParameter("Article_ID"));
25:     ViewArticleInfo vi = null ;
26:     try { 
27:         vi = new ViewArticleInfo(dbCMS,request); 


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.NumberFormatException: For input string: "!"
	java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	java.lang.Integer.parseInt(Integer.java:481)
	java.lang.Integer.parseInt(Integer.java:527)
	org.apache.jsp.sportspress.fr.nieuws.article_005fnolayout_jsp._jspService(article_005fnolayout_jsp.java:279)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.


Apache Tomcat/6.0.35

[an error occurred while processing this directive]