Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5747

InvokeHTTP Processor NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.9.0
    • Extensions
    • None

    Description

       When using the InvokeHTTP Processor. If the requested URL redirects from HTTPS to HTTP, the convertAttributesFromHeaders function attempts to call

      responseHttp.handshake().peerPrincipal().getName()
      

      when

      responseHttp.handshake()
      

      returns null. This throws a NPE.

      This can be fixed by checking the responseHttp object for SSL rather than the original URL.
       

      Attachments

        1. nifi-5747.patch.zip
          1 kB
          Julian Sniffen

        Issue Links

          Activity

            People

              juliansniff Julian Sniffen
              juliansniff Julian Sniffen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: