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 247767 - Deadlock when moving layout
Summary: Deadlock when moving layout
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-07 12:42 UTC by Zom-B
Modified: 2015-09-18 16:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
deadlock.png (49.88 KB, image/png)
2014-10-07 12:43 UTC, Zom-B
Details
four deadlock reports (14.47 KB, application/zip)
2014-10-07 12:44 UTC, Zom-B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zom-B 2014-10-07 12:42:17 UTC
100% Reproducible deadlock occurs between "General Timer Thread" and "AWT-EventQueue-1" when dragging a layout manager from any container to any another container and dropping it there (regard less of whether the other container already has a layout manager, or "Free Design").
Comment 1 Zom-B 2014-10-07 12:43:35 UTC
Created attachment 149765 [details]
deadlock.png
Comment 2 Zom-B 2014-10-07 12:44:10 UTC
Created attachment 149766 [details]
four deadlock reports
Comment 3 Tomas Pavek 2015-09-18 16:09:50 UTC
This is a bug of com.brightsight.chart timer thread that calls Swing (JPanel.updateUI()) out of AWT event dispatch thread, moreover taking a lock before that.

We cannot do anything with this in GUI builder, it is a bug in a custom component/library that spawns its own timer thread and then calls Swing in it under a lock.