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

ExtractEmailHeaders.java unhandled Exceptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: Core Framework
    • Labels:
      None
    • Environment:
      jdk 1.8.0_121-b13
      openjdk 8u131-b11
    • Flags:
      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

              • Assignee:
                btwood Benjamin Wood
                Reporter:
                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