Topic
  • 1 reply
  • Latest Post - ‏2011-02-03T15:05:17Z by ryanmoore
YuriyMitrofanov
YuriyMitrofanov
1 Post

Pinned topic AWT and Ilog threads deadlock

‏2010-07-28T11:19:20Z |
Hello, sometimes I get the deadlock listed below. Can it be caused by collision of ilog and awt?

Found one Java-level deadlock:
=============================
"ClientThread-3":
waiting to lock monitor 0x000000005f44dc18 (object 0x0000000047e1c140, a ilog.cpl.graph.IlpGraphView$1),
which is held by "AWT-EventQueue-0"
"AWT-EventQueue-0":
waiting to lock monitor 0x000000005fc575d8 (object 0x000000000b52c3e0, a java.awt.Component$AWTTreeLock),
which is held by "ClientThread-3"

Java stack information for the threads listed above:
===================================================
"ClientThread-3":
at ilog.views.IlvManager.viewRemoved(Unknown Source)
- waiting to lock <0x0000000047e1c140> (a ilog.cpl.graph.IlpGraphView$1)
at ilog.views.IlvManager.b(Unknown Source)
at ilog.views.IlvManagerView.removeNotify(Unknown Source)
at java.awt.Container.removeNotify(Unknown Source)
- locked <0x000000000b52c3e0> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(Unknown Source)
at ilog.views.swing.IlvJScrollManagerView.removeNotify(Unknown Source)
at java.awt.Container.removeNotify(Unknown Source)
- locked <0x000000000b52c3e0> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(Unknown Source)
at java.awt.Container.removeNotify(Unknown Source)
- locked <0x000000000b52c3e0> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(Unknown Source)
at java.awt.Container.removeNotify(Unknown Source)
- locked <0x000000000b52c3e0> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.removeNotify(Unknown Source)
at java.awt.Container.removeAll(Unknown Source)
- locked <0x000000000b52c3e0> (a java.awt.Component$AWTTreeLock)
at com.harris.netboss.client.view.detail.view.DetailView.clear(DetailView.java:75)
at com.harris.netboss.client.view.detail.controller.DetailController.renderSelection(DetailController.java:259)
- locked <0x000000000e4d3c18> (a java.util.ArrayList)
at com.harris.netboss.client.view.detail.controller.DetailController.selectionChanged(DetailController.java:330)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy62.selectionChanged(Unknown Source)
at com.harris.netboss.client.integration.bean.SelectionServiceBean$2.run(SelectionServiceBean.java:566)
- locked <0x000000000d790628> (a com.harris.netboss.client.integration.bean.SelectionServiceBean)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"AWT-EventQueue-0":
at java.awt.Component.reshape(Unknown Source)
- waiting to lock <0x000000000b52c3e0> (a java.awt.Component$AWTTreeLock)
at javax.swing.JComponent.reshape(Unknown Source)
at java.awt.Component.setBounds(Unknown Source)
at java.awt.Component.setBounds(Unknown Source)
at ilog.tgo.composite.internal.IltGraphicComponentWrapper.moveResize(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager$18.apply(Unknown Source)
at ilog.tgo.composite.internal.IltcGraphicElement.apply(Unknown Source)
at ilog.tgo.composite.IltcGraphicElementAggregate.apply(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.UpdatePositions(Unknown Source)
at ilog.tgo.graphic.IltCompositeGraphic.initHierarchy2(Unknown Source)
at ilog.tgo.graphic.IltCompositeGraphic$9.apply(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.b(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.a(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager$6.apply(Unknown Source)
at ilog.views.IlvManager.applyToObject(Unknown Source)
- locked <0x0000000047e1c140> (a ilog.cpl.graph.IlpGraphView$1)
at ilog.cpl.graph.IlpGraphView$1.applyToObject(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.b(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.a(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager$6.apply(Unknown Source)
at ilog.views.IlvManager.applyToObject(Unknown Source)
- locked <0x0000000047e1c140> (a ilog.cpl.graph.IlpGraphView$1)
at ilog.cpl.graph.IlpGraphView$1.applyToObject(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.b(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.b(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.a(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager$21.apply(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager$12$1.apply(Unknown Source)
at ilog.views.IlvManager.applyToObject(Unknown Source)
- locked <0x0000000047e1c140> (a ilog.cpl.graph.IlpGraphView$1)
at ilog.cpl.graph.IlpGraphView$1.applyToObject(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.a(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.a(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager$12.apply(Unknown Source)
at ilog.views.IlvManager.applyToObject(Unknown Source)
- locked <0x0000000047e1c140> (a ilog.cpl.graph.IlpGraphView$1)
at ilog.cpl.graph.IlpGraphView$1.applyToObject(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.applyToLayoutProxy(Unknown Source)
at ilog.tgo.composite.IltcCompositeGrapher.applyToLayoutProxy(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.a(Unknown Source)
at ilog.tgo.composite.IltcCompositeManager.applyToObject(Unknown Source)
- locked <0x0000000047e1c140> (a ilog.cpl.graph.IlpGraphView$1)
at ilog.tgo.graphic.IltCompositeGraphic.recomputeGraphicOnlyShape(Unknown Source)
at ilog.tgo.graphic.IltCompositeGraphic.doComputeGraphic(Unknown Source)
at ilog.tgo.model.IltObject.a(Unknown Source)
at ilog.tgo.model.IltObject.a(Unknown Source)
at ilog.tgo.model.IltObject.a(Unknown Source)
at ilog.tgo.model.IltObject.computeGraphic(Unknown Source)
at ilog.tgo.model.IltObject.endDelayingComputeGraphic(Unknown Source)
at ilog.tgo.model.IltNetworkElement.setCenterPoint(Unknown Source)
at ilog.tgo.model.IltNetworkElement.applyTransform(Unknown Source)
at ilog.tgo.model.IltObject.applyTransformInManager(Unknown Source)
at ilog.tgo.graphic.IltCompositeGraphic.applyTransform(Unknown Source)
at ilog.tgo.composite.IltcCompositeGraphic.layoutProxyApplyTransform(Unknown Source)
at ilog.tgo.composite.internal.IltcCompositeLayoutProxy.applyTransform(Unknown Source)
at ilog.views.IlvGraphic.translate(Unknown Source)
at ilog.views.IlvGraphic.move(Unknown Source)
at ilog.views.IlvManager.moveObject(Unknown Source)
- locked <0x0000000047e1c140> (a ilog.cpl.graph.IlpGraphView$1)
at ilog.views.graphlayout.internalutil.IlvManagerAdapter.moveObject(Unknown Source)
at ilog.views.graphlayout.IlvGrapherAdapter.moveNode(Unknown Source)
at ilog.tgo.graphic.IltGrapherAdapter.moveNode(Unknown Source)
at ilog.views.graphlayout.hierarchical.HGraph.a(Unknown Source)
at ilog.views.graphlayout.hierarchical.IlvHierarchicalLayout.layout(Unknown Source)
at ilog.views.graphlayout.IlvGrapherAdapter$LayoutApplier.apply(Unknown Source)
at ilog.views.IlvManager.applyToObjects(Unknown Source)
- locked <0x0000000047e1c140> (a ilog.cpl.graph.IlpGraphView$1)
at ilog.views.graphlayout.IlvGrapherAdapter.a(Unknown Source)
at ilog.views.graphlayout.IlvGraphLayout.a(Unknown Source)
- locked <0x0000000047e27560> (a ilog.tgo.graphic.IltGrapherAdapter)
at ilog.views.graphlayout.IlvGraphLayout.performLayout(Unknown Source)
- locked <0x0000000049088948> (a ilog.views.graphlayout.hierarchical.IlvHierarchicalLayout)
at ilog.views.graphlayout.IlvGraphLayout.performLayout(Unknown Source)
- locked <0x0000000049088948> (a ilog.views.graphlayout.hierarchical.IlvHierarchicalLayout)
at ilog.views.graphlayout.IlvGraphLayout.performSublayout(Unknown Source)
at ilog.views.graphlayout.recursive.IlvRecursiveLayout.a(Unknown Source)
at ilog.views.graphlayout.recursive.IlvRecursiveLayout.performSublayout(Unknown Source)
at ilog.views.graphlayout.GraphLayoutRecUtil.a(Unknown Source)
at ilog.views.graphlayout.GraphLayoutRecUtil.a(Unknown Source)
at ilog.views.graphlayout.IlvGraphModel.performLayout(Unknown Source)
at ilog.views.graphlayout.recursive.IlvRecursiveLayout.layout(Unknown Source)
at ilog.views.graphlayout.IlvGrapherAdapter.a(Unknown Source)
at ilog.views.graphlayout.IlvGraphLayout.a(Unknown Source)
- locked <0x0000000047e27560> (a ilog.tgo.graphic.IltGrapherAdapter)
at ilog.views.graphlayout.IlvGraphLayout.performLayout(Unknown Source)
- locked <0x0000000049088cb8> (a ilog.views.graphlayout.recursive.IlvRecursiveLayout)
at ilog.views.graphlayout.recursive.IlvRecursiveLayout.performLayout(Unknown Source)
- locked <0x0000000049088cb8> (a ilog.views.graphlayout.recursive.IlvRecursiveLayout)
at ilog.views.graphlayout.IlvGraphLayout.performLayout(Unknown Source)
- locked <0x0000000049088cb8> (a ilog.views.graphlayout.recursive.IlvRecursiveLayout)
at ilog.views.graphlayout.recursive.IlvRecursiveLayout.performLayout(Unknown Source)
- locked <0x0000000049088cb8> (a ilog.views.graphlayout.recursive.IlvRecursiveLayout)
at ilog.tgo.graphic.IltCompositeGrapher.performLayoutOnce(Unknown Source)
at ilog.cpl.graph.graphlayout.IlpDefaultGraphLayoutSupport.performLayoutOnce(Unknown Source)
at ilog.cpl.graph.IlpGraphView.performLayoutOnce(Unknown Source)
at com.harris.netboss.client.views.diagram.topological.controller.TopologicalDiagramController.setNodeLayout(TopologicalDiagramController.java:458)
at com.harris.netboss.client.views.diagram.topological.actions.TopologicalDiagramLayoutActions$1.run(TopologicalDiagramLayoutActions.java:65)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Found 1 deadlock.
Updated on 2011-02-03T15:05:17Z at 2011-02-03T15:05:17Z by ryanmoore
  • ryanmoore
    ryanmoore
    1 Post

    Re: AWT and Ilog threads deadlock

    ‏2011-02-03T15:05:17Z  
    Did you ever get a resolution to this ? I'm experiencing the same deadlock when using the continuous zoom tool.