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.
Steps to reproduce: - Create a JavaFX Script application - Copy sources from openjfx-compiler\demos\StudioMoto project to the new created project - Open studiomoto.StudioMoto fx file - Comment 'frame' and 'canvas' varibales and remove these variables from Frame{} declaration - Build the project - Enable a Preview - Wait a minute IDE hangs There is a StackOverflowError error in the IDE log file java.lang.StackOverflowError at javax.swing.SwingUtilities.getAncestorOfClass(SwingUtilities.java:219) at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:59) at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:66) at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:66)
Created attachment 60327 [details] IDE log file
Created attachment 60328 [details] IDE Thread Dump
The same is for Tesla demo java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.modules.javafx.preview.CodeManager.run(CodeManager.java:196) at org.netbeans.modules.javafx.preview.CodeManager.run(CodeManager.java:185) at org.netbeans.modules.javafx.preview.CodeManager.execute(CodeManager.java:109) at org.netbeans.modules.javafx.preview.PreviewThread$R.run(PreviewThread.java:137) at org.openide.util.Task.run(Task.java:249) at org.netbeans.modules.javafx.preview.PreviewThread$EE$ET.run(PreviewThread.java:123) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) Caused by: java.lang.StackOverflowError at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:59) at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:66) at com.sun.scenario.scenegraph.SGComponentRepaintManager.addDirtyRegion(SGComponentRepaintManager.java:66)
Created attachment 60330 [details] Tesla IDE log file
Created attachment 60331 [details] Tesla IDE Thread Dump
Could try to reproduce that outside of an IDE ? From stacktrace it looks like scenegraph issue. -Alexei.
It's runtime issue.
verified
Cleaning bugzilla categories ....