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.
Build: NetBeans IDE Dev (Build 201102100500) VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05 OS: Linux User Comments: tbrunhoff: switching project group (which changes to a different source tree) 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.openide.text.DocumentLine.attachDetachAnnotations(DocumentLine.java:406) at org.openide.text.DocumentLine$LR.run(DocumentLine.java:880) at org.openide.text.DocumentLine$LR.invoke(DocumentLine.java:896) at org.openide.text.DocumentLine$LR.stateChanged(DocumentLine.java:901)
Created attachment 106098 [details] stacktrace
*** This bug has been marked as a duplicate of bug 195346 ***
I tried to fix the synchronization inside DocumentLine: http://hg.netbeans.org/jet-main/rev/35766788ea56
Integrated into 'main-golden', will be available in build *201102220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/35766788ea56 User: Jan Lahoda <jlahoda@netbeans.org> Log: #195599: trying to correctly synchronized addition/removal of annotations via DocumentLine.