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 192577 - Deadlock between "GUI Builder" and "AWT-EventQueue-1" threads
Summary: Deadlock between "GUI Builder" and "AWT-EventQueue-1" threads
Status: RESOLVED DUPLICATE of bug 187697
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-27 21:10 UTC by anthonyp
Modified: 2010-11-27 22:25 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 anthonyp 2010-11-27 21:10:27 UTC
The following deadlock may occur when opening the de.burnynet.combofm.ui.ComboFmView form of the ComboFm application (links follow below):

Java stack information for the threads listed above:
===================================================
"AWT-EventQueue-1":
        at java.beans.Introspector.getBeanInfo(Introspector.java:157)
        - waiting to lock <0x1ab20840> (a java.lang.Object)
        at org.openide.util.Utilities.getBeanInfo(Utilities.java:426)
        at org.netbeans.modules.form.FormUtils.getBeanInfo(FormUtils.java:1771)
        at org.netbeans.modules.form.RADComponent.getBeanInfo(RADComponent.java:427)
        at org.netbeans.modules.form.RADComponent.initInstance(RADComponent.java:187)
        at org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:850)
        at org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:1006)
        at org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:872)
        at org.netbeans.modules.form.GandalfPersistenceManager.loadNonVisuals(GandalfPersistenceManager.java:722)
        at org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:541)
        at org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:298)
        - locked <0x1cedaf28> (a org.netbeans.modules.form.GandalfPersistenceManager)
        at org.netbeans.modules.form.FormEditor$3.run(FormEditor.java:336)
        at org.netbeans.modules.form.FormLAF$2.run(FormLAF.java:293)
        - locked <0x1b050140> (a javax.swing.MultiUIDefaults)
        - locked <0x305ffa48> (a java.lang.Class for java.beans.Introspector)
        at org.openide.util.Mutex.doEventAccess(Mutex.java:1361)
        at org.openide.util.Mutex.readAccess(Mutex.java:320)
        at org.netbeans.modules.form.FormLAF.executeWithLookAndFeel(FormLAF.java:276)
        at org.netbeans.modules.form.FormEditor.loadFormData(FormEditor.java:333)
        at org.netbeans.modules.form.FormEditor.loadFormDesigner(FormEditor.java:231)
        at org.netbeans.modules.form.FormDesigner.finishComponentShowing(FormDesigner.java:1897)
        at org.netbeans.modules.form.FormDesigner.access$1100(FormDesigner.java:107)
        at org.netbeans.modules.form.FormDesigner$PreLoadTask$1.run(FormDesigner.java:1862)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
"GUI Builder":
        at java.beans.Introspector.findExplicitBeanInfo(Introspector.java:426)
        - waiting to lock <0x305ffa48> (a java.lang.Class for java.beans.Introspector)
        at java.beans.Introspector.<init>(Introspector.java:377)
        at java.beans.Introspector.getBeanInfo(Introspector.java:164)
        - locked <0x1ab20840> (a java.lang.Object)
        at org.openide.util.Utilities.getBeanInfo(Utilities.java:426)
        at org.netbeans.modules.form.FormUtils.getBeanInfo(FormUtils.java:1771)
        at org.netbeans.modules.form.palette.PaletteItem.getBeanDescriptor(PaletteItem.java:296)
        at org.netbeans.modules.form.palette.PaletteItem.getDisplayName(PaletteItem.java:227)
        at org.netbeans.modules.form.palette.PaletteItemDataObject$ItemNode.getDisplayName(PaletteItemDataObject.java:323)
        at org.openide.nodes.FilterNode.getDisplayName(FilterNode.java:533)
        at org.openide.nodes.FilterNode.getDisplayName(FilterNode.java:533)
        at org.netbeans.modules.form.palette.PaletteUtils$1.run(PaletteUtils.java:242)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)

Found 1 deadlock.


The links to the application w/ source:

http://burnysblog.blogspot.com/2010/04/combofm-or-how-i-learned-to-really-love.html

and specifically:

http://rapidshare.com/files/373543611/Combofm.zip
Comment 1 anthonyp 2010-11-27 21:15:19 UTC
It not just "may occur", it occurs always when opening the form in the form designer.
Comment 2 Jan Stola 2010-11-27 22:25:24 UTC
It is a regression of JDK 6 (in update 21 and 22). Either use JDK 6 update 20 (and older) or use early access builds of JDK 6 update 23 available at http://download.java.net/jdk6/

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