com.jcraft.jsch.SftpException: No such file

GitHub | ligadata-ahmad | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. com.jcraft.jsch.SftpException

    No such file

    at com.jcraft.jsch.ChannelSftp.throwStatusError()
  2. JSch
    ChannelSftp.lstat
    1. com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2846)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2. com.jcraft.jsch.ChannelSftp._lstat(ChannelSftp.java:2309)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    3. com.jcraft.jsch.ChannelSftp.lstat(ChannelSftp.java:2285)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    3 frames
  3. com.ligadata.InputAdapters
    SmartFileConsumer$$anonfun$handleStartInfo$2$$anonfun$apply$1.apply
    1. com.ligadata.InputAdapters.sftp.SftpFileHandler.getRemoteFileAttrs(SftpChangesMonitor.scala:371)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    2. com.ligadata.InputAdapters.sftp.SftpFileHandler.exists(SftpChangesMonitor.scala:327)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    3. com.ligadata.InputAdapters.SmartFileConsumer$$anonfun$handleStartInfo$2$$anonfun$apply$1.apply(SmartFileConsumer.scala:355)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    4. com.ligadata.InputAdapters.SmartFileConsumer$$anonfun$handleStartInfo$2$$anonfun$apply$1.apply(SmartFileConsumer.scala:349)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    4 frames
  4. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    1 frame
  5. com.ligadata.InputAdapters
    SmartFileConsumer$$anonfun$handleStartInfo$2.apply
    1. com.ligadata.InputAdapters.SmartFileConsumer$$anonfun$handleStartInfo$2.apply(SmartFileConsumer.scala:349)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    2. com.ligadata.InputAdapters.SmartFileConsumer$$anonfun$handleStartInfo$2.apply(SmartFileConsumer.scala:349)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    2 frames
  6. Scala
    HashMap.foreach
    1. scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:99)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2. scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:99)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    3. scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:230)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    4. scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:40)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    5. scala.collection.mutable.HashMap.foreach(HashMap.scala:99)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    5 frames
  7. com.ligadata.InputAdapters
    SmartFileConsumer.StartProcessing
    1. com.ligadata.InputAdapters.SmartFileConsumer.handleStartInfo(SmartFileConsumer.scala:349)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    2. com.ligadata.InputAdapters.SmartFileConsumer.StartProcessing(SmartFileConsumer.scala:1506)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    2 frames
  8. com.ligadata.KamanjaManager
    KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply
    1. com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply(KamanjaLeader.scala:585)[kamanjamanager_2.11-1.5.2.jar:1.5.2]
    2. com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply(KamanjaLeader.scala:554)[kamanjamanager_2.11-1.5.2.jar:1.5.2]
    2 frames
  9. Scala
    ArrayOps$ofRef.foreach
    1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2 frames
  10. com.ligadata.KamanjaManager
    KamanjaLeader$$anonfun$Init$2.apply
    1. com.ligadata.KamanjaManager.KamanjaLeader$.StartNodeKeysMap(KamanjaLeader.scala:554)[kamanjamanager_2.11-1.5.2.jar:1.5.2]
    2. com.ligadata.KamanjaManager.KamanjaLeader$.liftedTree3$1(KamanjaLeader.scala:821)[kamanjamanager_2.11-1.5.2.jar:1.5.2]
    3. com.ligadata.KamanjaManager.KamanjaLeader$.ActionOnAdaptersDistImpl(KamanjaLeader.scala:672)[kamanjamanager_2.11-1.5.2.jar:1.5.2]
    4. com.ligadata.KamanjaManager.KamanjaLeader$.com$ligadata$KamanjaManager$KamanjaLeader$$ActionOnAdaptersDistribution(KamanjaLeader.scala:871)[kamanjamanager_2.11-1.5.2.jar:1.5.2]
    5. com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$Init$2.apply(KamanjaLeader.scala:1294)[kamanjamanager_2.11-1.5.2.jar:1.5.2]
    6. com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$Init$2.apply(KamanjaLeader.scala:1294)[kamanjamanager_2.11-1.5.2.jar:1.5.2]
    6 frames
  11. com.ligadata.ZooKeeper
    ZooKeeperListener$$anon$1.nodeChanged
    1. com.ligadata.ZooKeeper.ZooKeeperListener.com$ligadata$ZooKeeper$ZooKeeperListener$$ProcessData(ZooKeeperListener.scala:54)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    2. com.ligadata.ZooKeeper.ZooKeeperListener$$anon$1.nodeChanged(ZooKeeperListener.scala:72)[KamanjaInternalDeps_2.11-1.5.2.jar:1.5.2]
    2 frames
  12. Fabric8
    NodeCache$4.apply
    1. org.apache.curator.framework.recipes.cache.NodeCache$4.apply(NodeCache.java:294)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2. org.apache.curator.framework.recipes.cache.NodeCache$4.apply(NodeCache.java:288)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2 frames
  13. Curator Framework
    ListenerContainer$1.run
    1. org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    1 frame
  14. Guava
    MoreExecutors$SameThreadExecutorService.execute
    1. com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    1 frame
  15. Curator Framework
    ListenerContainer.forEach
    1. org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:84)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    1 frame
  16. Fabric8
    NodeCache$3.processResult
    1. org.apache.curator.framework.recipes.cache.NodeCache.setNewData(NodeCache.java:286)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2. org.apache.curator.framework.recipes.cache.NodeCache.processBackgroundResult(NodeCache.java:253)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    3. org.apache.curator.framework.recipes.cache.NodeCache.access$300(NodeCache.java:54)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    4. org.apache.curator.framework.recipes.cache.NodeCache$3.processResult(NodeCache.java:112)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    4 frames
  17. Curator Framework
    GetDataBuilderImpl$3.processResult
    1. org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:728)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2. org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:505)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    3. org.apache.curator.framework.imps.GetDataBuilderImpl$3.processResult(GetDataBuilderImpl.java:254)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    3 frames
  18. Zookeeper
    ClientCnxn$EventThread.run
    1. org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:561)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2. org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)[ExtDependencyLibs2_2.11-1.5.2.jar:1.5.2]
    2 frames