| 
| Bogus "cannot be resolved to  a type" error annotation [message #218571] | Tue, 08 November 2005 23:58  |  | 
| Eclipse User  |  |  |  |  | I've been using Eclipse 3.1 for a couple of months on Mac OSX.  In general it's been a pretty good experience.  But today a new and weird
 problem has surfaced with the Java editor.
 
 The editor is giving me tons of bogus error annotations indicating that
 numerous types cannot be resolved.  Note that my application builds just
 fine, no errors at all and it runs just fine.  But the editor if filled
 with bogus error annotations.
 
 Note that this problem is new, these errored files worked fine yesterday.
 
 Another data point, if I open the file containing the "alledged"
 undefined type, the associated bogus error annotations goes away until I
 close this file.
 
 I have tried cleaning and rebuilding to no avail (it's building just fine).
 
 I searched the Bugzilla for this error but could not find anything like
 this.
 
 Anyone else see this type of problem?  If so, is there any fix?
 
 TIA
 
 Ciao,
 
 Rick D.
 |  |  |  | 
| 
| Re: Bogus "cannot be resolved to  a type" error annotation [message #218602 is a reply to message #218571] | Wed, 09 November 2005 12:20  |  | 
| Eclipse User  |  |  |  |  | This is a known JDT/Core problem with secondary types: https://bugs.eclipse.org/bugs/show_bug.cgi?id=36032
 
 We're currently working on it...
 
 Richard Dunlap wrote:
 > I've been using Eclipse 3.1 for a couple of months on Mac OSX.  In
 > general it's been a pretty good experience.  But today a new and weird
 > problem has surfaced with the Java editor.
 >
 > The editor is giving me tons of bogus error annotations indicating that
 > numerous types cannot be resolved.  Note that my application builds just
 > fine, no errors at all and it runs just fine.  But the editor if filled
 > with bogus error annotations.
 >
 > Note that this problem is new, these errored files worked fine yesterday.
 >
 > Another data point, if I open the file containing the "alledged"
 > undefined type, the associated bogus error annotations goes away until I
 > close this file.
 >
 > I have tried cleaning and rebuilding to no avail (it's building just fine).
 >
 > I searched the Bugzilla for this error but could not find anything like
 > this.
 >
 > Anyone else see this type of problem?  If so, is there any fix?
 >
 > TIA
 >
 > Ciao,
 >
 >     Rick D.
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04178 seconds