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.
Error annotation (red icon in Java class source editor tab) does not disappear when the error is corrected and class recompiled. The Error annotation also remain on the package/folder structure. It only clears when the file is closed.
what error annotation do you mean - the red underline in code + icon in the gutter (the left bar in editor, where are the line numbers) or the red badges over the nodes in project view? Can you please attach screenshot? Was the file saved when it was recompiled? Thanks
I'm referring to the red badges in the project view on the package folders as well as the badges in the Java source editor's tab. I recompiled the file using F9 so the file was saved automatically.
*** This issue has been marked as a duplicate of 121950 ***