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.
Summary: | Deadlock adding hints | ||
---|---|---|---|
Product: | editor | Reporter: | Jesse Glick <jglick> |
Component: | Painting & Printing | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P2 | Keywords: | THREAD |
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Thread dumps |
Just happened to me again, apparently at random. I think calling QuietEditorPane.setFont from off EQ is at least part of the problem. I tried to put in a hotfix: core-main #401db37afd23; please review. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/401db37afd23 User: Jesse Glick <jglick@netbeans.org> Log: Attempted hotfix for deadlock #201412. Mila, any idea? It's mine - accessing AWT treelock oustide EDT: "HintsController worker" daemon prio=10 tid=0x6763ac00 nid=0x115e waiting for monitor entry [0x666f9000] java.lang.Thread.State: BLOCKED (on object monitor) at java.awt.Component.setFont(Component.java:1798) - waiting to lock <0x7c91cb10> (a java.awt.Component$AWTTreeLock) at java.awt.Container.setFont(Container.java:1554) at javax.swing.JComponent.setFont(JComponent.java:2723) at org.openide.text.QuietEditorPane.setFont(QuietEditorPane.java:132) at org.netbeans.modules.editor.lib2.view.DocumentViewOp.updateDefaultFontAndColors(DocumentViewOp.java:809) at org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkSettingsInfo(DocumentViewOp.java:685) at org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:503) I'll fix it. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/18a36daaf2af User: Miloslav Metelka <mmetelka@netbeans.org> Log: #201412 - Deadlock adding hints. |
Created attachment 110270 [details] Thread dumps While testing changes to a UpToDateStatusProviderFactory, I suddenly encountered a deadlock not apparently involving my own code.