Bug report #573 has just been filed. You can view the report at the following URL: <http://znutar.cortexity.com/BugRatViewer/ShowReport/573> REPORT #573 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: medium Severity: serious Confidence: public Environment: Release: 3.2 final JVM Release: 1.3 Operating System: Solaris OS Release: 7 Platform: Sparc Synopsis: setting <error-page><location> to an html file causes a stack overflow Description: In my web.xml: <error-page> <error-code>404</error-code> <location>/foo.html</location> </error-page> <error-page> <exception-type>java.lang.NullPointerException</exception-type> <location>/foo.html</location> </error-page> I've verified that foo.html loads correctly. If I try to access a non-existent page, or access a servlet which throws a NullPointerException, I get the following stack trace in my browser: java.lang.StackOverflowError at java.lang.StringBuffer.expandCapacity(StringBuffer.java:195) at java.lang.StringBuffer.append(StringBuffer.java:401) at java.io.FileNotFoundException.(FileNotFoundException.java:62) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:64) at java.io.FileInputStream.(FileInputStream.java:95) at org.apache.tomcat.request.FileHandler.doService(StaticInterceptor.java:365) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.handleStatus(ContextManager.java:1049) at org.apache.tomcat.request.FileHandler.doService(StaticInterceptor.java:387) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.handleStatus(ContextManager.java:1049) at org.apache.tomcat.request.FileHandler.doService(StaticInterceptor.java:387) This repeats for quite a while.Title: BugRat Report # 573
BugRat Report # 573
Project: Tomcat | Release: 3.2 final |
Category: Bug Report | SubCategory: New Bug Report |
Class: swbug | State: received |
Priority: medium | Severity: serious |
Confidence:
public
|
Submitter:
Kief Morris ( [EMAIL PROTECTED] )
Date Submitted:
Dec 12 2000, 08:46:01 CST
Responsible:
Z_Tomcat Alias ( [EMAIL PROTECTED] )
- Synopsis:
-
setting
to an html file causes a stack overflow
- Environment: (jvm, os, osrel, platform)
- 1.3, Solaris, 7, Sparc
- Additional Environment Description:
- Report Description:
-
In my web.xml:
404 /foo.html java.lang.NullPointerException /foo.html