nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Witt (Jira)" <>
Subject [jira] [Commented] (NIFI-7232) PutSFTP with conflict resolution results in an NPE
Date Fri, 06 Mar 2020 14:36:00 GMT


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:
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Jens M Kofoed
>            Assignee: Joe Witt
>            Priority: Major

This message was sent by Atlassian Jira

View raw message