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

HttpServer.getParameterValues throws NPE for missing parameters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: