[Ds-java-dev] [jira] Assigned: (DS-387) numberformatException occurs and http 500 error is printed on the jsp it self when entering a large number for throttle config vlaues

sumedha rubasinghe (JIRA) jira at wso2.org
Tue Sep 2 01:25:48 PDT 2008


     [ https://wso2.org/jira/browse/DS-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sumedha rubasinghe reassigned DS-387:
-------------------------------------

    Assignee: Isuru Eranga Suriarachchi  (was: sumedha rubasinghe)

> numberformatException occurs and http 500 error is printed on the jsp it self when entering a large number for throttle config vlaues
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DS-387
>                 URL: https://wso2.org/jira/browse/DS-387
>             Project: WSO2 Data Services
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0-RC1
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Isuru Eranga Suriarachchi
>            Priority: Critical
>
> Enter 10000000000 as one of the throttle config value. You will get http 500 page.
> Stacktrace:
> 	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:107)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
> 	org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
> 	org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
> 	org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> root cause
> java.lang.NumberFormatException: For input string: "10000000000"
> 	java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> 	java.lang.Integer.parseInt(Integer.java:459)
> 	java.lang.Integer.parseInt(Integer.java:497)
> 	org.apache.jsp.update_jsp._jspService(update_jsp.java:120)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:107)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
> 	org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
> 	org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
> 	org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Ds-java-dev mailing list