Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339282 - SystemResourceSelectionForm.selectionChanged() should check for null subsystem
Summary: SystemResourceSelectionForm.selectionChanged() should check for null subsystem
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 339287
  Show dependency tree
 
Reported: 2011-03-08 16:15 EST by David McKnight CLA
Modified: 2011-03-08 16:52 EST (History)
0 users

See Also:


Attachments
patch to check for null subsystem (2.14 KB, patch)
2011-03-08 16:16 EST, 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 David McKnight CLA 2011-03-08 16:15:15 EST
It's possible to hit an NPE when browsing folders via a dialog if the selected object is a SystemMessageObject.  Right now the code, assumes that the selected object has an associated subsystem but that's certainly not the case for messages.
Comment 1 David McKnight CLA 2011-03-08 16:16:36 EST
Created attachment 190700 [details]
patch to check for null subsystem
Comment 2 David McKnight CLA 2011-03-08 16:18:17 EST
I've committed the change to cvs.