Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341573

Summary: NPE on Show in Remote Systems view from Remote System Details view
Product: [Tools] Target Management Reporter: Masao Nishimoto <e03616>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3 CC: dmcknigh, jwsnyder
Version: unspecified   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 355531    
Attachments:
Description Flags
patch to check for null subsystem and disable action for promptables none

Description Masao Nishimoto CLA 2011-04-01 00:57:43 EDT
1) Right mouse click on New Connection in Remote Systems view - select Show in Table
2) In the Table view, highlight Linux ... or any of the selections
3) Right mouse click on Show in Remote Systems view
4) Unexpected event loop exception logged
5) New Connection selection in Remote Systems view is highlighted but not expanded

java.lang.NullPointerException
at org.eclipse.rse.internal.ui.actions.ShowInSystemsViewDelegate.run(ShowInSystemsViewDelegate.java:343)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
...
Comment 1 David McKnight CLA 2011-04-01 08:17:16 EDT
Created attachment 192347 [details]
patch to check for null subsystem and disable action for promptables
Comment 2 David McKnight CLA 2011-04-01 08:18:10 EDT
I've committed the fix to cvs.
Comment 3 John W Snyder CLA 2011-08-23 11:41:52 EDT
Backport to 3.2.2+ required... opened bug355531 for the backport