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.
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)
Created attachment 63995 [details] Thread Dump
Created attachment 63996 [details] Electro Simulator fx file
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
Can't reproduce the issue with the latest build
I think that the same issue is reproduced on MAC issue 140156 Source change during preview hangs IDE on mac