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

Bug 339282

Summary: SystemResourceSelectionForm.selectionChanged() should check for null subsystem
Product: [Tools] Target Management Reporter: David McKnight <dmcknigh>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.3 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 339287    
Attachments:
Description Flags
patch to check for null subsystem none

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.