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

*** shadow/243  Sun May 20 17:19:19 2001
--- shadow/243.tmp.23924        Sun May 20 19:15:30 2001
***************
*** 1,22 ****
! Bug#: 243
! Product: SAPI
! Version: SERVLET_2_3_JSP_
! Platform: 
! OS/Version: 
! Status: NEW   
! Resolution: 
! Severity: Normal
! Priority: High
! Component: 
! AssignedTo: [EMAIL PROTECTED]                            
! ReportedBy: [EMAIL PROTECTED]               
! URL: 
! Cc: 
! Summary: NullPointerExceptions caused by 
javax.servlet.ServletRequestWrapper.getInputStream() BugRat Report#394
! 
  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.
- 
--- 1,21 ----
! +============================================================================+
! | NullPointerExceptions caused by javax.servlet.ServletRequestWrapper.getInp |
! +----------------------------------------------------------------------------+
! |        Bug #: 243                         Product: Tomcat 3                |
! |       Status: UNCONFIRMED                 Version: Unknown                 |
! |   Resolution:                            Platform: All                     |
! |     Severity: Normal                   OS/Version: All                     |
! |     Priority: High                      Component: Unknown                 |
! +----------------------------------------------------------------------------+
! |  Assigned To: [EMAIL PROTECTED]                                         |
! |  Reported By: [EMAIL PROTECTED]                                           |
! |      CC list: Cc:                                                          |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              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.

Reply via email to