Bug 164090 - Possible NullPointerException in JavaProjectElementInfo.
Summary: Possible NullPointerException in JavaProjectElementInfo.
Status: RESOLVED DUPLICATE of bug 164091
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-10 06:41 EST by Roman Arkhangelskiy CLA
Modified: 2006-11-10 06:51 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Arkhangelskiy CLA 2006-11-10 06:41:04 EST
I have been running Jtest's BugDetective feature on Eclipse source code (build
of 29.10.2006) and it reported a possible NullPointerException to be thrown at line 266 of org.eclipse.jdt.internal.core.JavaProjectElementInfo.

There is a call to the method 'isClasspathEntryOrOutputLocation(..)' of this class made from line 133, and in fact the variable 'projectOutput' which is passed into this method may not have been initialized because of the exception which might had been thrown at line 105.

The attached screenshot from BugDetective will help to understand the exact flow which may lead to the exception.

Please let me know if this is a real problem or BugDetective is mistaken.

Thank you!
Comment 1 Roman Arkhangelskiy CLA 2006-11-10 06:51:28 EST

*** This bug has been marked as a duplicate of 164091 ***