Community
Participate
Working Groups
I saw this in the debugger (with Java Exception Breakpoint on NPE) after I launched a Debug session first time after upgrading my development environment from 3.4 to 3.5m2 -- I assume that the same NPE could also occur after changing the local configuration: * Create SSH connection, drill down below "My Home" * Update Manager > Update Eclipse or RSE, choose Restart --> During Restart, RSE will try to restore the connection, but since the config has been changed the Adapters are slower to load (race condition). Here is the backtrace: Thread [Worker-7] (Suspended (exception NullPointerException)) SystemViewPart$RestoreRemoteObjects.doRestore(IProgressMonitor) line: 1581 SystemViewPart$RestoreRemoteObjects.run(IProgressMonitor) line: 1516 Worker.run() line: 55 It looks like either a loadAdapter() call is needed here (as per bug 218304), or we need to wait in the RestoreRemoteObjects worker until RSE is fully initialized, before we proceed (similar to bug 233048). Problem seems minor since the only user-observed consequence is that the connection is not restored properly. -----------Enter bugs above this line----------- TM 3.0.1 / Eclipse 3.5m2 on WinXP
FYI, in my case it tried to restore 7 remote objects in total, including the "My Home" filter and 6 folders down to "/folk/mober/aatmp/newfolder/bar"
The bug does have the negative side-effect that no images are painted for the folders and files below "My Home", and the only workaround is to quit and re-start Eclipse. Perhaps it's sufficient to do if (adapter!=null)... in order to ensure that the Restore Job doesn't break anything.
Bulk update of target milestones to 3.2