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: - Run the NetBeans IDE with enabled assertions (-J-ea option) - Create an FX file --------------------------------------------------- import javafx.ui.*; import java.lang.System; var N = 4; Frame { title: "JavaFX Table" width: 300 height: 150 content: Table { columns: [ TableColumn { text: "number" }, TableColumn { text: "square" }, TableColumn { text: "cube" } ] cells: for( n in [1..N]) [ TableCell{ text: "{n}" }, TableCell{ text: "{n*n}" }, TableCell{ text: "{n*n*n}" } ] onMouseClicked: function(e: MouseEvent){ if(e.clickCount == 2){ System.out.println("Double click!"); } } } visible: true } --------------------------------------------------- - Enable the preview The sample is not shown in the Preview There is an AssertionError in the IDE log file java.lang.AssertionError at com.sun.tools.javac.jvm.Code.resolve(Code.java:1426) at com.sun.tools.javac.jvm.Gen.genLoop(Gen.java:1079) at com.sun.tools.javac.jvm.Code.resolve(Code.java:1426) at com.sun.tools.javac.jvm.Gen.visitForLoop(Gen.java:1047) at com.sun.tools.javac.jvm.Gen.genLoop(Gen.java:1079) at com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:856) at com.sun.tools.javac.jvm.Gen.visitForLoop(Gen.java:1047)
Created attachment 60324 [details] IDE log file
It's the compiler issue. Can't fix on plugin side.
It is better to create the appropriate compiler issue.
Cleaning bugzilla categories ....