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

NPE in InvokeHTTP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.1, 1.1.1
    • 0.8.0, 1.2.0, 0.7.3
    • None
    • None

    Description

      InvokeHTTP throws an NPE when running in "source" mode if given a value for "Attributes to Send". If this value is set, it attempts to do[1]...

      requestFlowFile.getAttributes()

      ...without checking if requestFlowFile == null (which will be the case when running in "source" mode).

      [1] https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L859

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              devriesb Brandon Rhys DeVries
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: