| Summary: | NPE during Java Search | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Gary Karasiuk <gary> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | fheathrenn+uk, jarthana, jvines, stephan.herrmann |
| Version: | 4.2.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | stalebug | ||
|
Description
Gary Karasiuk
To jog my own memory, I searching on BooksUser.get() The symptoms look very similar to that of bug 402510. Gary, can you please take a look at the bug 402510 and see if your environment is similar too? (In reply to comment #2) > The symptoms look very similar to that of bug 402510. > > Gary, can you please take a look at the bug 402510 and see if your > environment is similar too? AFAIK my environment doesn't have anything to do with Groovy. I am using the WTP distribution of Eclipse (i.e. Eclipse Java EE IDE for Web Developers), along with the GIT bundles. Here are my installation details: Eclipse EGit 2.2.0.201212191850-r org.eclipse.egit.feature.group Eclipse EGit Eclipse IDE for Java EE Developers 1.5.2.20130211-1820 epp.package.jee null I am also getting this error with 4.3.1. It only seems to be occuring when I do a reference search when I have closed working sets. When I open them all, the search waits a bit for everything to index, and then passes. Additionally, the entry in my .metadata/.log is very sparse- !ENTRY org.eclipse.core.jobs 4 2 2013-12-11 11:10:52.359 !MESSAGE An internal error occurred during: "Java Search". !STACK 0 java.lang.NullPointerException and that's it. No stack trace or anything. I am also getting this bug in a large project I am working on. It happens when I attempt to find references in the workspace for a function called Participant.create(Participant p). Like J Vines above, I get just "java.lang.NullPointerException" in the error log, with no other stack trace information present. I don't know if it's just coincidence, but - if I right-click and refactor the function to Participant.createParticipant(Participant p) (which works just fine), I am then able to find references for it with no trouble at all. I am not sure why refactoring works but finding references doesn't, when presumably refactoring involves at some level finding references. This bug was originally reported against 4.2.2. The stack trace in comment 0 looks the same as bug 377883, which was fixed for 4.4. Please everybody still seeing this problem please paste your version of JDT. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |