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 was refactoring code with a group of files and had an incorrect package name at the top of a java source file. I corrected the package and recompiled the file using the compile context menu action in the explorer tree. The red error tag was not removed correctly and it indicated a parsing error. Looking at the file in the source editor showed there were no longer any parsing errors (No red in the source file text display) showed now
I cleared the problem by shutting down and restarting the IDE. Closing and reopening the source file still would not produce any parsing errors.
Yes, the synchronization between parser and explorer is somehow broken. I have reproduced the similar problem: 1. make an error in code 2. immediatelly press F9 to compile. 3. error is highlighted in editor glyph and explorer node. This is correct behavior. Incorrect behaviour: 1. make an error 2. wait 2 seconds for background parsing to annotate the error in editor glyph gutter 3. press F9 to compile 4. explorer node is not highlighting the error. I am not sure where this issue belongs, trying java module...
Parse error indication on whole file was dropped.