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 14245] New: - NullPointerException in org.apache.cocoon.environment.http.HttpRequest
Date Tue, 05 Nov 2002 05:53:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14245>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

NullPointerException in org.apache.cocoon.environment.http.HttpRequest

           Summary: NullPointerException in
                    org.apache.cocoon.environment.http.HttpRequest
           Product: Cocoon 2
           Version: Current CVS
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: ivan@openmechanics.net


method getParameterValues("name") throws NullPointerException if  
HttpServletRequest.getParameterValues("name") returns null. 
 
It happens when a form doesn't submit any fields with that "name". While 
processing the request: 
1) call request.setCharacterEncoding( "UTF-8" )  
2) try to call request.getParameterValues() -- this gives you the 
NullPointerException

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message