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.
This bug was originally marked as duplicate of bug 195599, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.0.1 (Build 201107282000) VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08 OS: Linux User Comments: GUEST: Seemse like I am saving the file but closing and reopening shows the old file. 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:418) at org.openide.text.DocumentLine$LR.run(DocumentLine.java:904) at org.openide.text.DocumentLine$LR.invoke(DocumentLine.java:920) at org.openide.text.DocumentLine$LR.stateChanged(DocumentLine.java:925)
Created attachment 120853 [details] stacktrace
Fixed in later versions *** This bug has been marked as a duplicate of bug 197717 ***