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

Bug 336953

Summary: A remote c/c++ project has a risk to hit a null pointer exception if its tool chain is not configured properly
Product: [Tools] PTP Reporter: John Liu <john_ws_liu>
Component: RDTAssignee: Vivian Kong <vivkong>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: recoskie, vivkong
Version: 4.0.6   
Target Milestone: 4.0.6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
ptp_4_0 stream patch
vivkong: iplog+
head stream patch vivkong: iplog+

Description John Liu CLA 2011-02-11 10:56:14 EST
Build Identifier: 

ScannerInfoUtility create a parsers list based on project tool chain configuration, if no remote xlc tool chain set, the code could possibly hit a null pointer exception. 

Reproducible: Always
Comment 1 John Liu CLA 2011-02-14 12:03:26 EST
Created attachment 188914 [details]
ptp_4_0 stream patch
Comment 2 John Liu CLA 2011-02-14 12:03:57 EST
Created attachment 188915 [details]
head stream patch
Comment 3 Chris Recoskie CLA 2011-02-14 13:01:13 EST
Patch looks fine to me.
Comment 4 Chris Recoskie CLA 2011-02-14 13:02:07 EST
Vivian, I'm a bit swamped right now, can you have a look and commit this for John assuming you're ok with it?  Thanks.
Comment 5 Vivian Kong CLA 2011-02-14 13:16:06 EST
I'll take a look
Comment 6 Vivian Kong CLA 2011-02-14 13:21:00 EST
Applied to ptp_4_0 and HEAD.  Thanks John.