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 242860 - Deadlock in CsmPaintComponent
Summary: Deadlock in CsmPaintComponent
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-13 13:56 UTC by petrk
Modified: 2014-06-04 15:27 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 petrk 2014-03-13 13:56:17 UTC
SEVERE [org.netbeans.modules.deadlock.detector.Detector]: /tmp/deadlock5570266880082999465.txt
org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Editor Parsing Loop (20140304-4620541eeae2)
at java.awt.Component.setFont(Component.java:1874)
at java.awt.Container.setFont(Container.java:1743)
at javax.swing.JComponent.setFont(JComponent.java:2750)
at org.netbeans.modules.cnd.modelutil.CsmPaintComponent.setFont(CsmPaintComponent.java:312)
at javax.swing.plaf.synth.SynthStyle.installDefaults(SynthStyle.java:933)
at com.sun.java.swing.plaf.gtk.GTKStyle.installDefaults(GTKStyle.java:117)
at javax.swing.plaf.synth.SynthStyle.installDefaults(SynthStyle.java:916)
at javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:265)
at javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:117)
at javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:100)
at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:56)
at javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:62)
at javax.swing.JComponent.setUI(JComponent.java:664)
at javax.swing.JPanel.setUI(JPanel.java:153)
at javax.swing.JPanel.updateUI(JPanel.java:126)
at javax.swing.JPanel.<init>(JPanel.java:86)
at org.netbeans.modules.cnd.modelutil.CsmPaintComponent.<init>(CsmPaintComponent.java:114)
at org.netbeans.modules.cnd.modelutil.CsmPaintComponent$StringPaintComponent.<init>(CsmPaintComponent.java:1285)
at org.netbeans.modules.cnd.completion.cplusplus.CsmCompletionProvider$LastResultItem.<clinit>(CsmCompletionProvider.java:594)
at org.netbeans.modules.cnd.completion.cplusplus.CsmCompletionProvider.<clinit>(CsmCompletionProvider.java:589)
at org.netbeans.modules.cnd.completion.cplusplus.CsmEntityResolverImpl.getCompletionQuery(CsmEntityResolverImpl.java:76)
at org.netbeans.modules.cnd.completion.cplusplus.CsmEntityResolverImpl.resolveType(CsmEntityResolverImpl.java:70)
at org.netbeans.modules.cnd.api.model.services.CsmEntityResolver$Default.resolveType(CsmEntityResolver.java:224)
at org.netbeans.modules.cnd.api.model.services.CsmEntityResolver.resolveType(CsmEntityResolver.java:94)
at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.getCastOperatorCastEntity(FunctionImpl.java:574)
at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.fixCastOperator(FunctionImpl.java:554)
at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.findDefinition(FunctionImpl.java:603)
at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.getDefinition(FunctionImpl.java:434)
at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.getDefinition(FunctionImpl.java:401)
at org.netbeans.modules.cnd.qnavigator.navigator.CsmFileFilter.isApplicable(CsmFileFilter.java:53)
at org.netbeans.modules.cnd.qnavigator.navigator.CppDeclarationNode.nodeFactory(CppDeclarationNode.java:500)
at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorChildren.initClassifier(NavigatorChildren.java:120)
at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorChildren.initCollection(NavigatorChildren.java:86)
at org.openide.nodes.Children$Array.getCollection(Children.java:806)
at org.openide.nodes.Children$SortedArray$SAE.nodes(Children.java:1192)
at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:149)
at org.openide.nodes.EntrySupportDefault$Info.nodes(EntrySupportDefault.java:805)
at org.openide.nodes.EntrySupportDefault.justComputeNodes(EntrySupportDefault.java:195)
at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:88)
at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:130)
at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:172)
at org.openide.nodes.Children.getNodes(Children.java:469)
at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorChildren.<init>(NavigatorChildren.java:73)
at org.netbeans.modules.cnd.qnavigator.navigator.CppDeclarationNode.createNamespaseContainer(CppDeclarationNode.java:115)
at org.netbeans.modules.cnd.qnavigator.navigator.CppDeclarationNode.nodeFactory(CppDeclarationNode.java:536)
at org.netbeans.modules.cnd.qnavigator.navigator.CsmFileModel.buildPreModel(CsmFileModel.java:175)
at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorModel.update(NavigatorModel.java:180)
at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorNodeFactoryTask.run(NavigatorNodeFactoryTask.java:131)
at org.netbeans.modules.cnd.qnavigator.navigator.NavigatorNodeFactoryTask.run(NavigatorNodeFactoryTask.java:70)
at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:568)
at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:744)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Caused: org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: AWT-EventQueue-0
Caused: org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: A deadlock was detected.
We suggest to restart the IDE to recover.
Comment 1 Vladimir Kvashin 2014-05-28 11:48:28 UTC
http://hg.netbeans.org/cnd-main/rev/36103cf285cd
Comment 2 Quality Engineering 2014-05-30 02:22:38 UTC
Integrated into 'main-silver', will be available in build *201405300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/36103cf285cd
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #242860 - Deadlock in CsmPaintComponent
Comment 3 Quality Engineering 2014-06-04 15:27:23 UTC
Integrated into 'releases/release80', will be available in build *201406041415* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/3561fbad9455
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #242860 - Deadlock in CsmPaintComponent
(transplanted from 36103cf285cd7664e8a9e0f5032b33609edb9f6c)