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 28678] New: - NullPointerException in CoyoteRequest
Date Thu, 29 Apr 2004 02:31:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28678>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28678

NullPointerException in CoyoteRequest

           Summary: NullPointerException in CoyoteRequest
           Product: Tomcat 5
           Version: 5.0.22
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kweiner@unicon.net


In both Tomcat 5.0.18 and 5.0.22 alpha, I get a NullPointerException with this
stack trace (line numbers from Tomcat 5.0.22):

java.lang.NullPointerException
at org.apache.coyote.tomcat5.CoyoteRequest.setAttribute(CoyoteRequest.java:1441)
at
org.apache.coyote.tomcat5.CoyoteRequestFacade.setAttribute(CoyoteRequestFacade.java:349)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:283)

I looked in the source code and it seems that the "context" variable is null in
the CoyoteRequest.setAttribute() method.

Pleae let me know if I can provide more information that will be useful.

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


Mime
View raw message