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 196976

Summary: IllegalStateException: Annotation not added: null
Product: editor Reporter: Vladimir Kvashin <vkvashin>
Component: -- Other --Assignee: David Strupl <dstrupl>
Status: RESOLVED DUPLICATE    
Severity: normal CC: minoleg, shiretu, stiffuser
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 177280
Attachments: stacktrace

Description Vladimir Kvashin 2011-03-22 16:24:09 UTC
Build: NetBeans IDE Dev (Build 20110322-66982ea4697a)
VM: Java HotSpot(TM) Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: SunOS

Stacktrace: 
java.lang.IllegalStateException: Annotation not added: null
   at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:252)
   at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:519)
   at org.netbeans.modules.cnd.navigation.overrides.BaseAnnotation.detachImpl(BaseAnnotation.java:218)
   at org.netbeans.modules.cnd.navigation.overrides.AnnotationsHolder$2.run(AnnotationsHolder.java:167)
   at org.netbeans.modules.cnd.navigation.overrides.AnnotationsHolder.setNewAnnotations(AnnotationsHolder.java:187)
   at org.netbeans.modules.cnd.navigation.overrides.AnnotationsHolder.checkForReset(AnnotationsHolder.java:149)
Comment 1 Vladimir Kvashin 2011-03-22 16:24:12 UTC
Created attachment 107190 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-03-23 19:33:58 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=177280
Comment 3 Miloslav Metelka 2011-05-19 12:15:12 UTC

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