| Summary: | NPE when disconnecting ssh | ||
|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Martin Oberhuber <mober.at+eclipse> |
| Component: | RSE | Assignee: | Martin Oberhuber <mober.at+eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> |
| Severity: | normal | ||
| Priority: | P2 | CC: | ddykstal.eclipse |
| Version: | 2.0 | ||
| Target Milestone: | 2.0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Martin Oberhuber
It's pretty clear that this is actually a jsch bug, because the code checks session.isConnected() before it tries session.disconnect(). Retest once jsch-0.1.31 is available through bug 165432. *** Bug 181013 has been marked as a duplicate of this bug. *** I checked with a local copy of Jsch-0.1.31 but the problem is still there. The code looks good, so perhaps there is some nasty threading issue involved. Schedule for fixing with M7. Fixed in SshConnectorService by checking session.isConnected() inside a synchronized block when notified about disconnect [target cleanup] 2.0 M7 was the original target milestone for this bug |