tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8013] New: - DefaultServlet Throws NumberFormatException
Date Fri, 12 Apr 2002 12:55:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8013>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8013

DefaultServlet Throws NumberFormatException

           Summary: DefaultServlet Throws NumberFormatException
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: james@carmanconsulting.com


The org.apache.catalina.servlets.DefaultServlet throws a 
java.lang.NumberFormatException in the checkIfHeaders() method.  Here's the 
stack trace...

java.lang.NumberFormatException: at java.lang.Long.parseLong(Long.java:331) at 
java.lang.Long.parseLong(Long.java:363) at java.text.DigitList.getLong
(DigitList.java:153) at java.text.DecimalFormat.parse(DecimalFormat.java:808) 
at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1201) at 
java.text.SimpleDateFormat.parse(SimpleDateFormat.java:730) at 
java.text.DateFormat.parse(DateFormat.java:322) at 
org.apache.catalina.servlets.DefaultServlet.checkIfHeaders
(DefaultServlet.java:753) at 
org.apache.catalina.servlets.DefaultServlet.serveResource
(DefaultServlet.java:1095) at org.apache.catalina.servlets.DefaultServlet.doGet
(DefaultServlet.java:519) at javax.servlet.http.HttpServlet.service
(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247) at 
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193) at 
org.chmcc.trafac.servlet.filter.ErrorTrapFilter.doFilter
(ErrorTrapFilter.java:25) at 
com.carmanconsulting.servlet.filter.HttpFilter.doFilter(HttpFilter.java:21) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:213) at 
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193) at 
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243) at 
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943) at 
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:201) at 
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566) at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke
(AuthenticatorBase.java:472) at 
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2344) at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) 
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566) at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170) at 
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564) at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) 
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:462) at 
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:163) at 
org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943) at 
org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:1011) at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106) 
at java.lang.Thread.run(Thread.java:484)

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message