External SSH tool thows null pointer exception on input file with no path

1) The stack trace is below.

 

2) I also think that it would be safest to create a temporary directory on the remote server ant to put the input file and output file in that directory by default.

The current implementation makes it very difficult to run multiple protocols in parralel safely.

 

3) I also think that the eeror messsage if no output file is generated is not very readable: "No such File"

 

Thanks fo rlooking into this!

Alberto

 

java.lang.NullPointerException
    at org.knime.ext.ssh.SSHUtil.ftpMkdirs(SSHUtil.java:269)
    at org.knime.ext.ssh.node.ExtSSHToolNodeModel.execute(ExtSSHToolNodeModel.java:192)
    at org.knime.core.node.NodeModel.execute(NodeModel.java:680)
    at org.knime.core.node.NodeModel.executeModel(NodeModel.java:536)
    at org.knime.core.node.Node.invokeNodeModelExecute(Node.java:995)
    at org.knime.core.node.Node.execute(Node.java:889)
    at org.knime.core.node.workflow.SingleNodeContainer.performExecuteNode(SingleNodeContainer.java:894)
    at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:100)
    at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:166)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:124)
    at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:239)
 

Thanks for the feedback, I have logged this request in our tracking system.  

Have you tried using the create temp dir node and it's resulting flow variables to drive your in and out files?  It won't guarantee uniqueness, but it does make it less likely that you will run into a conflict and is not too difficult to set up.