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

HttpServer.getParameterValues throws NPE for missing parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. hadoop-7440.txt
          3 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: