Summary: | NPE in ResultCollector | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Michael Fraenkel <fraenkel> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Michael Fraenkel
2002-03-27 13:40:17 EST
not clear whether this in the code assist UI or whether we are getting an incorrect completion proposal. Added guards to ResultCollector. However, the information passed into the result collector should not be null. Moving to JDT core. Could be a #sourceName() from a type binding (problem one?) ? method.returnType.qualifiedSourceName() inside CompletionEngine#findLocalMethods return null I can not reproduce this problem and guards was added to ResultCollector. Later. The problem occur when the return type of a binary method is unresolved. The bugs is in BinaryTypeBinding#availableMethods. The correct code must be 'return availableMethods;' and not 'return methods;' Fixed. |