Summary: | NPE in AbstractMethodDeclaration.compilationResult during search | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Knut Radloff <knut_radloff> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P1 | ||||||
Version: | 2.0 | ||||||
Target Milestone: | 2.0 M3 | ||||||
Hardware: | PC | ||||||
OS: | Windows NT | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Knut Radloff
2002-02-04 10:13:29 EST
Created attachment 297 [details]
NPE in AbstractMethodDeclaration.compilationResult
We were trying to report a warning during parsing. To achieve this, we were trying to get a compilation result from the reference context. Unfortunately, the scope of the reference context (a method declaration) is null until we start resolving. Fixed by passing the compilation result to the nonExternalizedStringLiteral (...) method. |