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

David Handermann commented on NIFI-14465:
-----------------------------------------

[~adistefano] Are you able to reproduce this issue without manually deleting 
files from the content repository? Any kind of manual deletion from the content 
repository will have unexpected behavior in several places.

> NullPointerException on missing FlowFile contents in EvaluateJsonPath
> ---------------------------------------------------------------------
>
>                 Key: NIFI-14465
>                 URL: https://issues.apache.org/jira/browse/NIFI-14465
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Andrea Di Stefano
>            Priority: Major
>         Attachments: image (1).png, image (2).png, image (3).png
>
>
> Hello,
> we found an issue where a FlowFile had its content somehow deleted (we could 
> not find the contents in the content repository folder), but the FlowFile 
> itself was still in the queue of one processor and of course it could not be 
> processed.
> The UI reported the following error:
> EvaluateJsonPath[id=648a125b-c17f-3881-8282-1048ccb1c5d7] Processing halted: 
> yielding [1 sec]: java.lang.NullPointerException
> I attached some screenshot of what we saw in the UI.
> I think it can be replicated by queuing one file and manually delete the 
> contents from the content repository folder.
> Shouldn't NiFi handle this situation gracefully (maybe just log a Warning and 
> automatically remove the file from the queue)? Or what could we do to avoid 
> the same issue in the future?
>  
> Thanks!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to