Community
Participate
Working Groups
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!
*** This bug has been marked as a duplicate of 164091 ***