[ 
https://issues.apache.org/jira/browse/HADOOP-7440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060483#comment-13060483
 ] 

Hudson commented on HADOOP-7440:
--------------------------------

Integrated in Hadoop-Common-trunk #739 (See 
[https://builds.apache.org/job/Hadoop-Common-trunk/739/])
    HADOOP-7440. HttpServer.getParameterValues throws NPE for missing 
parameters. Contributed by Uma Maheswara Rao G and Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1143212
Files : 
* /hadoop/common/trunk/common/src/java/org/apache/hadoop/http/HttpServer.java
* /hadoop/common/trunk/common/CHANGES.txt
* 
/hadoop/common/trunk/common/src/test/core/org/apache/hadoop/http/TestHtmlQuoting.java
* 
/hadoop/common/trunk/common/src/test/core/org/apache/hadoop/http/TestHttpServer.java


> HttpServer.getParameterValues throws NPE for missing parameters
> ---------------------------------------------------------------
>
>                 Key: HADOOP-7440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7440
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.23.0
>
>         Attachments: hadoop-7440.txt
>
>
> If the requested parameter was not specified in the request, the raw 
> request's getParameterValues function returns null. Thus, trying to access 
> {{unquoteValue.length}} throws NPE.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to