Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 181013 - SSH: Occasional NPE on disconnect
Summary: SSH: Occasional NPE on disconnect
Status: RESOLVED DUPLICATE of bug 175328
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 14:01 EDT by David Dykstal CLA
Modified: 2007-04-04 14:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Dykstal CLA 2007-04-04 14:01:43 EDT
Create and SSH connection and store its userid and password.
Repeatedly connect and disconnect.
At some point after a disconnect the following error will appear in a dialog box.
Title: Disconnect (RSE SubSystem Operation:)
Body: Exception java.lang.NullPointerException.

The following is the error data from the PDE Error Log:
eclipse.buildId=I20070323-1616
java.version=1.5.0_07
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments:  -startup /Users/david/Data/Work/test/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.0.v20070319.jar -keyring /Users/david/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws carbon -arch x86 -startup /Users/david/Data/Work/test/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.0.v20070319.jar -keyring /Users/david/.eclipse_keyring -consoleLog -showlocation

Error
Wed Apr 04 12:53:55 CDT 2007
Exception java.lang.NullPointerException

java.lang.NullPointerException
at com.jcraft.jsch.Session.disconnect(Unknown Source)
at org.eclipse.rse.internal.connectorservice.ssh.SshConnectorService.internalDisconnect(SshConnectorService.java:345)
at org.eclipse.rse.core.subsystems.AbstractConnectorService.disconnect(AbstractConnectorService.java:426)
at org.eclipse.rse.core.subsystems.SubSystem.internalDisconnect(SubSystem.java:2727)
at org.eclipse.rse.core.subsystems.SubSystem$DisconnectJob.performOperation(SubSystem.java:1641)
at org.eclipse.rse.core.subsystems.SubSystem$SubSystemOperationJob.run(SubSystem.java:1280)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)



-----------Enter bugs above this line-----------
RSE 2.0M6 Testing
installation: eclipse-platform-3.3M6
RSE install: RSE-SDK-I20070404-0600
java.runtime: Sun 1.5.0_07-164
os.arch: ppc
os.name: Mac OS X 10.4.9
------------------------------------------------
systemtype   : Unix-ssh, Unix-dstore, Unix-ftp
targetos     : Mac OS X 10.4.9
targetvm     : Sun 1.5.0_07-164
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2007-04-04 14:49:49 EDT

*** This bug has been marked as a duplicate of bug 175328 ***