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

ExtractEmailHeaders.java unhandled Exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • Core Framework
    • None
    • jdk 1.8.0_121-b13
      openjdk 8u131-b11
    • Patch

    Description

      The ExtractEmailHeaders processor throws a NullPointerException if there is no TO, CC, and BCC recipients.

      If there are no recipients "originalMessage.getAllRecipients()" returns NULL, and not a 0 length array.

      If an address is empty (<> or " ") then getRecipients() will throw an "Empty Address" AddressException

      Attachments

        Issue Links

          Activity

            People

              btwood Benjamin Wood
              btwood Benjamin Wood
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified