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.
I tried to compile some code with assertions in it with internal compilation on a JDK 1.5 build. This failed because 1.4 source was not switched on for the internal compiler. After compilation some errors showed up, but it was not possible to click them - the IDE was hung. After about a minute, the following stack trace appeared: java.lang.IllegalStateException: Annotation org.netbeans.core.compiler.CompilerD isplayer$AnnotationImpl@34848b already added at org.netbeans.modules.editor.NbEditorDocument.addAn notation(NbEditorDo cument.java:186) at org.openide.text.NbDocument$2.run (NbDocument.java:420) at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:201) at java.awt.EventQueue.dispatchEvent (EventQueue.java:461) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchTh read.java:231) at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThre ad.java:163) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:149) at java.awt.EventDispatchThread.run (EventDispatchThread.java:110)
Could you please attach a thread dump snapshot if it happens again? I do not think that this is directly related to the editor because editor only refuses to readd the same annotation which is already added to the document. The thread dump could however helps to identify what is being done there.
Still reproducible with new build sys or no?
Haven't seen this since I reported it.
v/c