Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.4.1
-
None
Description
If the FROM property in PutEmail evaluates to an empty string an ArrayIndexOutOfBoundsException is thrown from the following code:
message.setFrom(InternetAddress.parse(context.getProperty(FROM) .evaluateAttributeExpressions(flowFile).getValue())[0]);
This leads to the FlowFile not being transferred to the REL_FAILURE relationship and the exception propagates out of the onTrigger method.
Attachments
Issue Links
- relates to
-
NIFI-1449 PutEmail needs more unit tests
- In Progress