[ 
https://issues.apache.org/jira/browse/NIFI-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938983#comment-16938983
 ] 

Otto Fowler commented on NIFI-6682:
-----------------------------------

I'll have a PR for this soon.  I have working fix.

The issue is the code is written to support either IOException ( from the 
callback ) or InvalidJson exception from the processing.

This issue causes an IllegalArgumentException exception, so it goes unhandled 
by the processor ( routing ) logic. 

The proposed resolution is to catch the IllegalArgumentException and rethrow as 
InvalidJson

> SplitJson does not work if the input is null 
> ---------------------------------------------
>
>                 Key: NIFI-6682
>                 URL: https://issues.apache.org/jira/browse/NIFI-6682
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.9.2
>            Reporter: Frank Chen
>            Assignee: Otto Fowler
>            Priority: Major
>         Attachments: image-2019-09-17-18-18-19-860.png, 
> image-2019-09-17-18-33-33-708.png
>
>
> When the input is String "null", the SplitJson processor should output to 
> failure route  rather than report error.As a result, the flowfile is not 
> processed in the queue all the time.
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to