Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336953 - A remote c/c++ project has a risk to hit a null pointer exception if its tool chain is not configured properly
Summary: A remote c/c++ project has a risk to hit a null pointer exception if its tool...
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0.6   Edit
Assignee: Vivian Kong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 10:56 EST by John Liu CLA
Modified: 2011-02-14 13:21 EST (History)
2 users (show)

See Also:


Attachments
ptp_4_0 stream patch (1.62 KB, text/plain)
2011-02-14 12:03 EST, John Liu CLA
vivkong: iplog+
Details
head stream patch (1.60 KB, text/plain)
2011-02-14 12:03 EST, John Liu CLA
vivkong: iplog+
Details

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