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 139137

Summary: Animation can block ide in some cases
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: Oleg Barbashov <obarbashov>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread Dump
Electro Simulator fx file

Description Alexandr Scherbatiy 2008-07-07 13:51:19 UTC
The Electro Simulator sample blocks IDE some times when preview
is enabled:


"AWT-EventQueue-15" prio=6 tid=0x301db800 nid=0xc08 waiting for monitor entry [0x312ee000..0x312efa14]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at com.sun.embeddedswing.EmbeddedEventQueue.setAnimationRunnable(EmbeddedEventQueue.java:451)
	- waiting to lock <0x0302bf78> (a java.lang.Object)
	at com.sun.embeddedswing.SwingGlueLayer.setAnimationRunnable(SwingGlueLayer.java:129)
	at com.sun.scenario.animation.MasterTimer$MainLoop.updateAnimationRunnable(MasterTimer.java:461)
	- locked <0x0302b700> (a com.sun.scenario.animation.MasterTimer$MainLoop)
	at com.sun.scenario.animation.MasterTimer$MainLoop.setJobsReady(MasterTimer.java:452)
	- locked <0x0302b700> (a com.sun.scenario.animation.MasterTimer$MainLoop)
	at com.sun.scenario.animation.MasterTimer.notifyJobsReadyImpl(MasterTimer.java:395)
	at com.sun.scenario.animation.MasterTimer.notifyJobsReady(MasterTimer.java:391)
	at com.sun.scenario.animation.FrameJob.wakeUp(FrameJob.java:34)
	at com.sun.scenario.scenegraph.JSGPanelRepainter.addDirtyPanel(JSGPanelRepainter.java:67)
	at com.sun.scenario.scenegraph.JSGPanel.markDirty(JSGPanel.java:635)
	at com.sun.scenario.scenegraph.SGNode.markParentsDirty(SGNode.java:552)
	at com.sun.scenario.scenegraph.SGNode.visualChanged(SGNode.java:567)
	at com.sun.scenario.scenegraph.SGLeaf.repaint(SGLeaf.java:226)
	at com.sun.scenario.scenegraph.SGAbstractShape.setFillPaint(SGAbstractShape.java:76)
	at javafx.scene.geometry.Shape$7.onChange(Shape.fx:163)
Comment 1 Alexandr Scherbatiy 2008-07-07 13:52:08 UTC
Created attachment 63995 [details]
Thread Dump
Comment 2 Alexandr Scherbatiy 2008-07-07 13:52:33 UTC
Created attachment 63996 [details]
Electro Simulator fx file
Comment 3 Lark Fitzgerald 2008-07-09 14:57:30 UTC
Waiver was requested but the impact of this is considered too high - Raised priority:

-----------

ID/Description: 139137. Animation can block ide in some cases
Justification: Most likely reason is that scenegraph and fx runtime are not designed to work in separate AppContext's. 
Can not be fixed on plugin side
User Impact: Very high.IDE is completely blocked
Workaround: Restart IDE 
Comment 4 Alexandr Scherbatiy 2008-07-14 15:59:50 UTC
Can't reproduce the issue with the latest build
Comment 5 Alexandr Scherbatiy 2008-07-16 12:51:30 UTC
I think that the same issue is reproduced on MAC
issue 140156 Source change during preview hangs IDE on mac