Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341573 - NPE on Show in Remote Systems view from Remote System Details view
Summary: NPE on Show in Remote Systems view from Remote System Details view
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 355531
  Show dependency tree
 
Reported: 2011-04-01 00:57 EDT by Masao Nishimoto CLA
Modified: 2011-09-16 15:21 EDT (History)
2 users (show)

See Also:


Attachments
patch to check for null subsystem and disable action for promptables (4.22 KB, patch)
2011-04-01 08:17 EDT, David McKnight CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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