| Summary: | JDT indexer error "cannot be resolved to a type" | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Kenneth Styrberg <kenneth.styrberg> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED INVALID | QA Contact: | Manoj N Palat <manoj.palat> |
| Severity: | major | ||
| Priority: | P3 | CC: | jarthana, loskutov, manoj.palat |
| Version: | 4.7.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Kenneth Styrberg
Copying Manoj who might have some idea about this. Ok, I got hold of a standard PC and the problem remains. I've tested with Eclipse 4.5.2 also and the problem was there also. Can it have anything to do with the fact that we bumped most plugins to Java 1.8 recently? When error occur in editor, I can still CTRL-mouseclick on the class and it opens as expected, so the editor finds it. @Kenneth: 1) can you please try with Oxygen release or any of the recent I-builds? 2) can you please attach a screen shot of the error? 3) Better ifthere is any reproducible workspace which you can send? Also, can you explain a bit about "when working in a standard java class"? What is the operation you are initiating - search or any similar? I think I've found the problem.
I opened up the .project file in one of the problematic plugins and found out following at the end:
<filteredResources>
<filter>
<id>1471866099754</id>
<name></name>
<type>22</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-*.class</arguments>
</matcher>
</filter>
</filteredResources>
Removing this seems to have cured my Eclipse!
So maybe not a bug after all, but a wrong property setting?!
Strange it works for a while before it decides to misbehave.
|