[Ds-java-dev] [jira] Commented: (DS-375) If user insert IP range with spaces in throttling configuration, Exception occur
indika kumara (JIRA)
jira at wso2.org
Fri Sep 5 05:25:45 PDT 2008
[ https://wso2.org/jira/browse/DS-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19242#action_19242 ]
indika kumara commented on DS-375:
----------------------------------
I have commited the fix . Please verify
> If user insert IP range with spaces in throttling configuration, Exception occur
> --------------------------------------------------------------------------------
>
> Key: DS-375
> URL: https://wso2.org/jira/browse/DS-375
> Project: WSO2 Data Services
> Issue Type: Bug
> Components: UI
> Affects Versions: 1.0-beta14
> Environment: Windows XP
> Firefox 3
> JDK 1.5
> Reporter: Chamara Silva
> Assignee: Isuru Eranga Suriarachchi
>
> Incorrect IP range = 10.100.1.160 - 10.100.1.165
> Exception :
> ERROR - For input string: "160 " {org.apache.axis2.transport.http.AxisServlet}
> java.lang.NumberFormatException: For input string: "160 "
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> at java.lang.Integer.parseInt(Integer.java:456)
> at java.lang.Integer.parseInt(Integer.java:497)
> at org.wso2.throttle.impl.ipbase.IPBaseThrottleConfiguration.isAfter(IPBaseThrottleConfiguration.java:152)
> at org.wso2.throttle.impl.ipbase.IPBaseThrottleConfiguration.getConfigurationKeyOfCaller(IPBaseThrottleConfiguration.java:115)
> at org.wso2.throttle.module.handler.ThrottleHandler.process(ThrottleHandler.java:269)
> at org.wso2.throttle.module.handler.ThrottleHandler.invoke(ThrottleHandler.java:402)
> at org.wso2.throttle.module.handler.ServiceLevelThrottleHandler.invoke(ServiceLevelThrottleHandler.java:35)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:317)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
> at java.lang.Thread.run(Thread.java:595)
> Better to validate this or nice to have example label
--
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