[ 
https://issues.apache.org/jira/browse/HADOOP-6281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Owen O'Malley updated HADOOP-6281:
----------------------------------

    Attachment: h-6281.patch

Add check for null pointers.

> HtmlQuoting throws NullPointerException
> ---------------------------------------
>
>                 Key: HADOOP-6281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6281
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Owen O'Malley
>             Fix For: 0.21.0
>
>         Attachments: h-6281.patch
>
>
> {noformat}
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.http.HtmlQuoting.quoteHtmlChars(HtmlQuoting.java:95)
>       at 
> org.apache.hadoop.http.HttpServer$QuotingInputFilter$RequestQuoter.getParameter(HttpServer.java:570)
>       at 
> org.apache.hadoop.hdfs.server.namenode.NamenodeJspHelper$HealthJsp.generateHealthReport(NamenodeJspHelper.java:168)
>       at 
> org.apache.hadoop.hdfs.server.namenode.dfshealth_jsp._jspService(dfshealth_jsp.java:96)
>       ...
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to