You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joe Witt (Jira)" <ji...@apache.org> on 2020/03/06 14:36:00 UTC

[jira] [Commented] (NIFI-7232) PutSFTP with conflict resolution results in an NPE

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

Joe Witt commented on NIFI-7232:
--------------------------------

I cannot replicate it so far.  Conflict resolution is working for me.

However, in looking at the stack trace and the shmizz lib code the line of code having this issue is SFTPEngine:160 which calls

newRequest(PacketType.OPENDIR).putString(path, sub.getRemoteCharset())

In a debugger I verified that if path is null the same stack trace occurs.  If charset were somehow null it is a different stack trace.

So in your case [~jmkofoed] what is null is the path.  I'll try replicating having a null path which I think could occur with an expression language statement that results in nothing...which we should catch and throw an error on before getting this far 

> PutSFTP with conflict resolution results in an NPE
> --------------------------------------------------
>
>                 Key: NIFI-7232
>                 URL: https://issues.apache.org/jira/browse/NIFI-7232
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Jens M Kofoed
>            Assignee: Joe Witt
>            Priority: Major
>
> https://issues.apache.org/jira/browse/NIFI-7222?focusedCommentId=17053370&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17053370



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