Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1807

NullPointerException in URLEncodedUtils.parse(String, Charset)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.5.3
    • 4.5.3
    • HttpClient (classic)
    • None

    Description

      Hi,

      When the String argument s that is passed to the method URLEncodedUtils.parse(String, Charset) is null, this method throws a NullPointerException.
      It seems to need a null check like in the method URLEncodedUtils.parse(String, Charset, char...).

      Kind regards,
      Bart

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bdeneuter Bart De Neuter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: