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 239368 - Error hint not being removed..
Summary: Error hint not being removed..
Status: RESOLVED DUPLICATE of bug 237096
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 8.0
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-11 13:41 UTC by akobberup
Modified: 2015-06-29 12:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of ide (27.32 KB, image/png)
2013-12-11 13:41 UTC, akobberup
Details

Note You need to log in before you can comment on or make changes to this bug.
Description akobberup 2013-12-11 13:41:30 UTC
Created attachment 143057 [details]
screenshot of ide

I see this relatively often - an error hint is not removed even if the error has been fixed..

Exception from the ide log:
INFO [org.netbeans.modules.editor.hints.AnnotationHolder]: Attempt to detach not attached annotation
java.lang.Exception
	at org.netbeans.modules.editor.hints.ParseErrorAnnotation.detachAnnotation(ParseErrorAnnotation.java:166)
	at org.netbeans.modules.editor.hints.AnnotationHolder.attachDetach(AnnotationHolder.java:340)
	at org.netbeans.modules.editor.hints.AnnotationHolder.access$400(AnnotationHolder.java:124)
	at org.netbeans.modules.editor.hints.AnnotationHolder$NbDocumentAttacher.addToToDo(AnnotationHolder.java:306)
	at org.netbeans.modules.editor.hints.AnnotationHolder$NbDocumentAttacher.detachAnnotation(AnnotationHolder.java:302)
	at org.netbeans.modules.editor.hints.AnnotationHolder.detachAnnotation(AnnotationHolder.java:289)
	at org.netbeans.modules.editor.hints.AnnotationHolder.updateAnnotationOnLine(AnnotationHolder.java:802)
	at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptionsImpl(AnnotationHolder.java:1136)
	at org.netbeans.modules.editor.hints.AnnotationHolder.access$1900(AnnotationHolder.java:124)
	at org.netbeans.modules.editor.hints.AnnotationHolder$7.run(AnnotationHolder.java:1049)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391)
	at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptions(AnnotationHolder.java:1046)
	at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorsForLine(AnnotationHolder.java:1311)
	at org.netbeans.modules.editor.hints.HintsUI.refresh(HintsUI.java:990)
	at org.netbeans.modules.editor.hints.HintsUI.invokeDefaultAction(HintsUI.java:665)
	at org.netbeans.modules.editor.hints.HintsUI.keyPressed(HintsUI.java:747)
	at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
	at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
	at java.awt.Component.processKeyEvent(Component.java:6485)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2829)
	at java.awt.Component.processEvent(Component.java:6304)
	at java.awt.Container.processEvent(Container.java:2234)
	at java.awt.Component.dispatchEventImpl(Component.java:4883)
	at java.awt.Container.dispatchEventImpl(Container.java:2292)
	at java.awt.Component.dispatchEvent(Component.java:4705)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
	at java.awt.Component.dispatchEventImpl(Component.java:4754)
	at java.awt.Container.dispatchEventImpl(Container.java:2292)
	at java.awt.Window.dispatchEventImpl(Window.java:2739)
	at java.awt.Component.dispatchEvent(Component.java:4705)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
	at java.awt.EventQueue.access$400(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:697)
	at java.awt.EventQueue$3.run(EventQueue.java:691)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:719)
	at java.awt.EventQueue$4.run(EventQueue.java:717)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Comment 1 Milutin Kristofic 2015-06-29 12:15:29 UTC

*** This bug has been marked as a duplicate of bug 237096 ***