Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6281

HtmlQuoting throws NullPointerException

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Fixed null pointer error when quoting HTML in the case JSP has no parameters.

      Description

      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)
      	...
      

        Attachments

        1. h-6281.patch
          2 kB
          Owen O'Malley
        2. h-6281.20.patch
          2 kB
          Devaraj Das

        Issue Links

          Activity

            People

            • Assignee:
              omalley Owen O'Malley
              Reporter:
              szetszwo Tsz-wo Sze

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment