| Summary: | NPE in HierarchyBuilder.createCompilationUnitFromPath | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Bill Wang <bill2004158> |
| Component: | Core | Assignee: | Jay Arthanareeswaran <jarthana> |
| Status: | VERIFIED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | amj87.iitr, daniel_megert, prakash, satyam.kandula |
| Version: | 3.5 | Keywords: | needinfo |
| Target Milestone: | 3.8 M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Bill Wang
Moving to JDT:
> Root exception:
>java.lang.NullPointerException at
>org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder.createCompilationUnitFromPath(HierarchyBuilder.java:265)
Can you reproduce this? If so, can you please provide the steps to reproduce it? Jay, can you please follow up? Thanks! (In reply to comment #2) > Can you reproduce this? If so, can you please provide the steps to reproduce > it? it works fine before. just found this exception these days. maybe related some of the Cache data? (In reply to comment #4) > maybe related some of the Cache data? Perhaps. If this happens again, please update us with the steps. (In reply to comment #5) > (In reply to comment #4) > > maybe related some of the Cache data? > > Perhaps. If this happens again, please update us with the steps. 1. Navigate -> open type in Hierarchy 2. type the class name in my project -> ok 3. get error dialog: Creating hierarchy failed. See log for details. See error log for more details. then I go to error log and found that stack trace. however, it seems some classes are no problem. while some got this exception. it seems jdt cache/index broken? (In reply to comment #6) > it seems jdt cache/index broken? Possible, although I can't confirm. Feel free to reopen it if you see this again. Verified for 3.8M7 |