Bug 192406 - Sporadic NPE in per f ile scanner discover
Summary: Sporadic NPE in per f ile scanner discover
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0 RC4   Edit
Assignee: Markus Schorn CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-06-13 07:31 EDT by Gerhard Schaber CLA
Modified: 2008-06-22 01:23 EDT (History)
3 users (show)

See Also:


Attachments
Trivial fix for this issue (1.52 KB, patch)
2007-06-13 07:32 EDT, Gerhard Schaber CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Schaber CLA 2007-06-13 07:31:25 EDT
Build ID: v200706120500

Steps To Reproduce:
1. Register a scanner discovery listener using MakeCorePlugin.getDefault().getDiscoveryManager().addDiscoveredInfoListener(this);
2. Call getCollectedScannerInfo(fProject, ScannerInfoTypes.COMPILER_COMMAND) on the corresponding PerFileSICollector
2. Create a project with GAIM sources
3. Enable per file scanner discovery
4. Build the project

Sporadic crash when the scanner discovery has finished.

More information:
Comment 1 Gerhard Schaber CLA 2007-06-13 07:32:55 EDT
Created attachment 71157 [details]
Trivial fix for this issue
Comment 2 Markus Schorn CLA 2007-06-13 11:38:46 EDT
Thanks, I'll apply the patch.
Comment 3 Markus Schorn CLA 2007-06-13 11:57:28 EDT
I have applied the patch.