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 39381 - [JDK1.5.0] Hang and exception after failed compile
Summary: [JDK1.5.0] Hang and exception after failed compile
Status: CLOSED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2004-01-29 16:54 UTC by _ tboudreau
Modified: 2011-06-09 09:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-01-29 16:54:39 UTC
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)
Comment 1 Miloslav Metelka 2004-02-04 14:36:18 UTC
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.
Comment 2 Jesse Glick 2004-08-18 01:38:58 UTC
Still reproducible with new build sys or no?
Comment 3 _ tboudreau 2004-08-18 04:03:57 UTC
Haven't seen this since I reported it.
Comment 4 Marian Mirilovic 2011-06-09 09:51:14 UTC
v/c