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 nbms-and-javadoc-6677-on-110218) VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07 OS: Linux User Comments: paolosca: deleted a characted in a php file paolosca: Editing a php file, copied a word with ctrl+c, double clicked on another word and pasted with ctrl+v to replace it. 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.editor.hints.ParseErrorAnnotation.detachAnnotation(ParseErrorAnnotation.java:156) at org.netbeans.modules.editor.hints.AnnotationHolder$NbDocumentAttacher.detachAnnotation(AnnotationHolder.java:247) at org.netbeans.modules.editor.hints.AnnotationHolder.detachAnnotation(AnnotationHolder.java:226) at org.netbeans.modules.editor.hints.AnnotationHolder.updateAnnotationOnLine(AnnotationHolder.java:691)
Created attachment 107733 [details] stacktrace
Created attachment 108377 [details] stacktrace
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=178026
*** Bug 196792 has been marked as a duplicate of this bug. ***
*** Bug 196880 has been marked as a duplicate of this bug. ***
*** Bug 196976 has been marked as a duplicate of this bug. ***
Not quite sure what is the root cause. I have found on occurrence of incorrect synchronization, fixed by: http://hg.netbeans.org/jet-main/rev/95e6d607b5a4 Lets see if the bug will go away or not.
Integrated into 'main-golden', will be available in build *201105240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/95e6d607b5a4 User: Jan Lahoda <jlahoda@netbeans.org> Log: #197717: fixing incorrect synchronization - possible cause of the an IllegalStateException.
Created attachment 108657 [details] stacktrace
Created attachment 108658 [details] stacktrace
I added the synchronization fix to release701: http://hg.netbeans.org/releases/rev/145c949cab8d Lets see if that helps.
*** Bug 205465 has been marked as a duplicate of this bug. ***
*** Bug 214211 has been marked as a duplicate of this bug. ***