cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35457] New: - RequestGenerator NullPointerException
Date Tue, 21 Jun 2005 21:52:29 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=35457>.
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=35457

           Summary: RequestGenerator NullPointerException
           Product: Cocoon 2
           Version: 2.1.7
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: dbennett1556@netscape.net


RequestGenerator throws a NullPointerException when request.getHeaderNames();
returns null

According to the org.apache.cocoon.environment.Request Java doc. The container
may not allow access to headers using this method in which case a null is
returned. The null case is not checked in RequestGenerator.

http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/environment/Request.html#getHeaderNames()

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message