Summary: | [search] NPE in MethodLocator.matchReportReference | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Nick Edgar <n.a.edgar> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M7 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Nick Edgar
2005-04-20 13:05:03 EDT
It should have found the single reference in public static RGB getColorValue(String rawValue) Nick, I cannot reproduce this problem. It sounds that something wrong happens which should not (see bug 90233). Is it reproducible in your workspace? Do you have other project in your workspace? Are they all source or some of them are binary ones? How *exactly* did you launch the search (dialog or menu items, scope, etc...)? Looking at your build ID, I wonder this was not an usable build. I'm using build I20040414-1547 and does not have any trouble: I always find match in getColorValue method... Any other hits to help me to find what happens here? I'm using: VM: pj9n142ifx-20041206 command line: eclipse -clean -vm D:\pj9n142ifx-20041206\bin\java -data d:\eclipse-new\plugins -showLocation -debug -dev bin -console -vmargs -Xj9 -Xjit:disableEDO -Xdump:heap+java:events=throw,filter=java/lang/IllegalMonitorStateException The last two are to work around a JIT bug which was causing spurious IllegalMonitorStateException's. I have lots of projects in my workspace (runtime, resources, JFace, Workbench, Text) and several host plug-ins added to the Java search path (JDT UI, PDE UI, Debug UI, ...). I invoke search using Ctrl+Shift+G with the caret on the method name. Some of my projects are closed. I just switched to the Sun JDK 1.4.2_01, and the same problem occurred, which suggests it's not a JIT bug. In order to help track this down, I suggest breaking the line up, using separate vars for each step, and asserting that they're not null. |