This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have two Projects A and B. A depends on B (added as a compile time library). Sometimes (almost randomly) a java file in A shows some compilation error (an import error for one or more files from B) but this is really bogus because: 1) program still builds with no errors and run correctly 2) other java files in A with same import statement show no compilation error. Clean and Rebuild on A, B or both does no help. The only thing that seems to work is to manually edit files from B (the ones that cause the import error) and add a space or whatever. When the file is saved, the import error eventually disappears from A. This is incredibly frustrating! Product Version: NetBeans IDE 6.1 Beta (Build 200803050202) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.2 running on i386; MacRoman; en_US (nb)
Have you done any external changes to the affected sources (like cvs/svn update, etc.)?
Current trunk build should be able to recover from such a situation - see desc43 in issue #104665.
No, sometimes it just appears when you restart Netbeans, sometimes when you bring a file for viewing.
Thanks it is indeed the same as issue #104665. *** This issue has been marked as a duplicate of 104665 ***