com.jcraft.jsch.SftpException: No such file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
com.jcraft.jsch.SftpException: No such file
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2846)
at com.jcraft.jsch.ChannelSftp._lstat(ChannelSftp.java:2309)
at com.jcraft.jsch.ChannelSftp.lstat(ChannelSftp.java:2285)
at com.ligadata.InputAdapters.sftp.SftpFileHandler.getRemoteFileAttrs(SftpChangesMonitor.scala:371)
at com.ligadata.InputAdapters.sftp.SftpFileHandler.exists(SftpChangesMonitor.scala:327)
at com.ligadata.InputAdapters.SmartFileConsumer$$anonfun$handleStartInfo$2$$anonfun$apply$1.apply(SmartFileConsumer.scala:355)
at com.ligadata.InputAdapters.SmartFileConsumer$$anonfun$handleStartInfo$2$$anonfun$apply$1.apply(SmartFileConsumer.scala:349)
at com.ligadata.InputAdapters.SmartFileConsumer$$anonfun$handleStartInfo$2.apply(SmartFileConsumer.scala:349)
at com.ligadata.InputAdapters.SmartFileConsumer$$anonfun$handleStartInfo$2.apply(SmartFileConsumer.scala:349)
at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:99)
at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:99)
at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:230)
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:40)
at com.ligadata.InputAdapters.SmartFileConsumer.handleStartInfo(SmartFileConsumer.scala:349)
at com.ligadata.InputAdapters.SmartFileConsumer.StartProcessing(SmartFileConsumer.scala:1506)
at com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply(KamanjaLeader.scala:585)
at com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply(KamanjaLeader.scala:554)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at com.ligadata.KamanjaManager.KamanjaLeader$.StartNodeKeysMap(KamanjaLeader.scala:554)
at com.ligadata.KamanjaManager.KamanjaLeader$.liftedTree3$1(KamanjaLeader.scala:821)
at com.ligadata.KamanjaManager.KamanjaLeader$.ActionOnAdaptersDistImpl(KamanjaLeader.scala:672)
at com.ligadata.KamanjaManager.KamanjaLeader$.com$ligadata$KamanjaManager$KamanjaLeader$$ActionOnAdaptersDistribution(KamanjaLeader.scala:871)
at com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$Init$2.apply(KamanjaLeader.scala:1294)
at com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$Init$2.apply(KamanjaLeader.scala:1294)
at com.ligadata.ZooKeeper.ZooKeeperListener.com$ligadata$ZooKeeper$ZooKeeperListener$$ProcessData(ZooKeeperListener.scala:54)
at com.ligadata.ZooKeeper.ZooKeeperListener$$anon$1.nodeChanged(ZooKeeperListener.scala:72)
at org.apache.curator.framework.recipes.cache.NodeCache$4.apply(NodeCache.java:294)
at org.apache.curator.framework.recipes.cache.NodeCache.setNewData(NodeCache.java:286)
at org.apache.curator.framework.recipes.cache.NodeCache.processBackgroundResult(NodeCache.java:253)
at org.apache.curator.framework.recipes.cache.NodeCache.access$300(NodeCache.java:54)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:728)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:505)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:561)

Users with the same issue

4 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.