Summary: | [search] Stack trace while searching | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Matthew Conway <matt> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Olivier_Thomann, philippe_mulet | ||||
Version: | 3.2 | ||||||
Target Milestone: | 3.2 RC2 | ||||||
Hardware: | Macintosh | ||||||
OS: | Mac OS X - Carbon (unsup.) | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Matthew Conway
2006-04-25 13:12:41 EDT
This could be possible if there is a member type without enclosing type. In this case, the source file name can be null. Sounds like a duplicate of bug 130241 but while searching for a method... I cannot reproduce this exception even using a member type without enclosing type. Is there any chance that you can provide a simple test case to help me to reproduce? Thanks Even if there is no reproducable test case for now, there is a path in the code that could lead to a NPE. I think this should be protected. Created attachment 39539 [details]
Proposed patch
I agree this should be fixed
Philippe, may you accept this bug for RC2? +1 for 3.2RC2 Patch released in HEAD. Note that no test case was added. Verified with I20060427-1600 for 3.2RC2 (checking the source code) Changing OS from Mac OS to Mac OS X as per bug 185991 |