| Summary: | [search] NPE when searching for callout in a role nested in a role file | ||
|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | OTDT | Assignee: | Project Teams <objectteams.otdt-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.7 | ||
| Target Milestone: | 2.3 RC1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Stephan Herrmann
Code inspection yields that the NPE cannot occur with a regular JavaElement (getElementInfo() can only return non-null or throw). Some overrides exist in package codeassist.impl that could potentially return null, but at this point it is totally unclear, how the search and the AssistXY could be related. I've added OTJavaMethodSearchTests.test325297() to witness the general working in the specified scenario (not able to reproduce the NPE). candidate for WORKSFORME closing as per previous comment, since it was never again observed. |