Summary: | NullPointerException when searching jars | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Thomas M??der <t.s.maeder> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | martinae |
Version: | 3.0 | ||
Target Milestone: | 3.0 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Thomas M??der
2003-10-07 10:26:12 EDT
The easiest for now is to ignore those results since the whole Java search is based on the enclosing element (handle identifier, groupd by key,...). >We should make sure that we handle null "enclosingElements" in our search >result acceptor (at least not NPE). The API clearly says we have to handle the >case. Yes. For now we ignore such results. >Which build did you use? Which jdt core? I20030930 + plugin-export 20031006. Note that the reported resource is the project the jar is in. This, however is useless to us, since we cannot determine the class file just from the project and a start and end position. Released guard against null-enclosing element for I20031008. Also guarded NLSSearchResultCollector. Thomas, please provide a patch for M4. Kent, this one might be related to bug 44286. We didn't saw this in the past either. Dani released a patch already (RTFBR, Dirk;-) OK, moving to Kent then. Kent please dispose if the PR isn't of any value ;-). Now prevent obsolete methods from being passed to the collector *** Bug 44286 has been marked as a duplicate of this bug. *** Verified. |