Bug 69071

Summary: NPE in PathEntryManager.validatePathEntry while running JUnit tests
Product: [Tools] CDT Reporter: John Camelon <john.camelon>
Component: cdt-coreAssignee: Alain Magloire <alain>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 72608    

Description John Camelon CLA 2004-06-30 15:39:47 EDT
I have just gotten a super fast dual processor windows box and when I run the 
AutomatedIntegrationSuite, I get the following NPE: 

Thread [Worker-4] (Suspended (exception NullPointerException))
	PathEntryManager.validatePathEntry(ICProject, IPathEntry, boolean, 
boolean) line: 1210
	PathEntryManager$1.run(IProgressMonitor) line: 195
	Worker.run() line: 66

Seems that for some reason, the IPathEntry passed into this function is null, 
and we NPE when we try and access entry.toString().  

I can provide a screen grab if you require proof.
Comment 1 John Camelon CLA 2004-06-30 15:41:08 EDT
I can also help out with the debugging, I just wanted to submit a bug (and not 
a fix) as I am not sure if just avoiding the NPE is the right thing, or if 
this demonstrates some larger systemic problem.  
Comment 2 David Daoust CLA 2004-08-20 11:45:06 EDT
Does anybody want to fix this in the 2.0.1 timeframe?
I would like to either assign this defect to someone, or to move it to 2.1 -- 
Anybody have an opinion?
Comment 3 Alain Magloire CLA 2004-08-20 12:29:49 EDT
. Does anybody want to fix this in the 2.0.1 timeframe?
> I would like to either assign this defect to someone, or to move it to 2.1 --
 
> Anybody have an opinion?

Moving the fix to 2.0.1
It is isolate enought that to have no or little impact.
Comment 4 Alain Magloire CLA 2004-08-20 12:31:31 EDT
Fix in the branch