You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/06/21 23:52:29 UTC

DO NOT REPLY [Bug 35457] New: - RequestGenerator NullPointerException

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.