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

HtmlQuoting throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None
    • Reviewed
    • 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

              omalley Owen O'Malley
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: