| Summary: | Failed to resolve selection in '..' in error log | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Gunnar Wagenknecht <gunnar> |
| Component: | Recommenders | Assignee: | Project inbox <recommenders-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | marcel.bruch, sewe |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Gunnar Wagenknecht
Thanks, Lars, for this report. Yes, Code Recommenders should probably ignore this silently. For random .java files, it simply cannot figure out what library they are from, but at least it can be quiet about it. Hi "Lars" :) Looks like there is a change in the JDT behavior. According to the API documentation some methods should return null iff the compilation unit is not part of a java project/the java model, and thus we'd terminate gracefully. This behavior, however, seems to be changed in later versions of JDT. I'll discuss the behavior with the JDT team, update the documentation in JDT, and adjust our code accordingly. Still targeting 2.0.6 for this fix as the workaround is straight forward. Proposed fix in https://git.eclipse.org/r/#/c/22322/ Andreas, there is yet no integration test suite in place to cover that case properly, right? Any suggestions how to test this? merged. |