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.

Bug 86669 - Error annotation not removed
Summary: Error annotation not removed
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
Depends on:
Blocks: 87136
  Show dependency tree
Reported: 2006-10-06 12:36 UTC by Jiri Prox
Modified: 2017-07-18 17:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

screenshot (4.56 KB, image/png)
2006-10-06 12:37 UTC, Jiri Prox

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2006-10-06 12:36:54 UTC
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
Comment 1 Jiri Prox 2006-10-06 12:37:19 UTC
Created attachment 34978 [details]
Comment 2 Jan Lahoda 2006-12-13 10:22:29 UTC
Should not happen anymore. For commit log please see issue #90054. If it happens
again, please reopen. Thanks.
Comment 3 Jiri Prox 2006-12-14 11:36:45 UTC
Comment 4 yeti 2017-07-18 17:20:18 UTC
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).