Bug 69071 - NPE in PathEntryManager.validatePathEntry while running JUnit tests
Summary: NPE in PathEntryManager.validatePathEntry while running JUnit tests
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 2.0.1   Edit
Assignee: Alain Magloire CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 72608
  Show dependency tree
 
Reported: 2004-06-30 15:39 EDT by John Camelon CLA
Modified: 2004-08-25 13:51 EDT (History)
0 users

See Also:


Attachments

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