Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.3.0
-
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