Bug report #394 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/394>

REPORT #394 Details.

Project: Servlet API
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: serious
Confidence: public
Environment: 
   Release: SERVLET_2_3_JSP_1_2
   JVM Release: 1.3.0beta_refresh-b09
   Operating System: Linux
   OS Release: RedHat 6.2 kernel 2.2.14-12
   Platform: x86

Synopsis: 
NullPointerExceptions caused by javax.servlet.ServletRequestWrapper.getInputStream()

Description:
The method javax.servlet.ServletRequestWrapper.getInputStream() simply returns null, 
but the JavaDoc comments for that method say that it shouldn't.  Here's what the 
JavaDoc comment says:

"The default behavior of this method is to return getInputStream() on the wrapped 
request object."

This can cause servlet containers to throw obscure NullPointerExceptions at times.

Title: BugRat Report # 394

BugRat Report # 394

Project: Servlet API Release: SERVLET_2_3_JSP_1_2
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: serious
Confidence: public

Submitter: Jason Brittain ( [EMAIL PROTECTED] )
Date Submitted: Nov 15 2000, 07:00:26 CST
Responsible: Z_Tomcat Alias ( [EMAIL PROTECTED] )

Synopsis:
NullPointerExceptions caused by javax.servlet.ServletRequestWrapper.getInputStream()
Environment: (jvm, os, osrel, platform)
1.3.0beta_refresh-b09, Linux, RedHat 6.2 kernel 2.2.14-12, x86

Additional Environment Description:

Report Description:
The method javax.servlet.ServletRequestWrapper.getInputStream() simply returns null, but the JavaDoc comments for that method say that it shouldn't. Here's what the JavaDoc comment says: "The default behavior of this method is to return getInputStream() on the wrapped request object." This can cause servlet containers to throw obscure NullPointerExceptions at times.

Workaround:
null

View this report online....
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to