com.jcraft.jsch.JSchException: session is down

netbeans.org | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Bug 184421 – random failures in JSch

    netbeans.org | 7 months ago
    com.jcraft.jsch.JSchException: session is down

    Root Cause Analysis

    1. com.jcraft.jsch.JSchException

      session is down

      at org.netbeans.modules.nativeexecution.support.hostinfo.impl.UnixHostInfoProvider.getRemoteHostInfo()
    2. org.netbeans.modules
      NativeProcessBuilderTest.testSetExecutable
      1. org.netbeans.modules.nativeexecution.support.hostinfo.impl.UnixHostInfoProvider.getRemoteHostInfo(UnixHostInfoProvider.java:178)
      2. org.netbeans.modules.nativeexecution.support.hostinfo.impl.UnixHostInfoProvider.getHostInfo(UnixHostInfoProvider.java:91)
      3. org.netbeans.modules.nativeexecution.support.hostinfo.FetchHostInfoTask.compute(FetchHostInfoTask.java:60)
      4. org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:202)
      5. org.netbeans.modules.nativeexecution.api.NativeProcessBuilderTest.testSetExecutable(NativeProcessBuilderTest.java:260)
      6. org.netbeans.modules.nativeexecution.api.NativeProcessBuilderTest.testSetExecutable(NativeProcessBuilderTest.java:127)
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. JUnit
      TestCase.runTest
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      1 frame
    5. org.netbeans.junit
      NbTestCase$1Guard.run
      1. org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:89)
      2. org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:345)
      3. org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:274)
      3 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame