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 214211 - IllegalStateException: Annotation not added: null
Summary: IllegalStateException: Annotation not added: null
Status: RESOLVED DUPLICATE of bug 197717
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-14 13:35 UTC by Exceptions Reporter
Modified: 2012-06-14 16:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 189502


Attachments
stacktrace (5.29 KB, text/plain)
2012-06-14 13:35 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-14 13:35:39 UTC
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)
Comment 1 Exceptions Reporter 2012-06-14 13:35:46 UTC
Created attachment 120853 [details]
stacktrace
Comment 2 Milutin Kristofic 2012-06-14 16:01:25 UTC
Fixed in later versions

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