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.
NetBeans IDE Dev (Build 061006) 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b02 Windows XP version 5.1 running on x86 en_US (nb); Cp1252 Error annontation is kept in editor, although the related error was removed. Steps to reproduce: 1) create new class 2) type somewhere random chars (Cannot find symbol error) 3) close the editor tab w/o saving 4) open the class again -> the error annotation is still there, see the screenshot
Created attachment 34978 [details] screenshot
Should not happen anymore. For commit log please see issue #90054. If it happens again, please reopen. Thanks.
verified
Oh wow, this is from 2006. I have this exact same issue with NetBeans 8.2. After I click in output-tab 'Apache Tomcat or TomEE' on an error-line in stacktrace, the 'Error'-annotation is kept in editor, even after I just cut the line, save it again, or clean&build + deploy. The line can be removed, but the annotation will then be on another (wrong) line. If I click on another Error-link in the stacktrace, it will go to the source there, and the other annotation will be removed though. However, this way I will still have one annotation that I'm unable to remove. Screenshot already posted in 2006 is sufficiently accurate in describing the issue (although my line becomes red, but it's the same icon too).