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 class: ------------------------------------- import javafx.ext.swing.Component; public class A { public attribute content: Component; } ------------------------------------- - Go to 'Component' class source file The error pops up: java.lang.AssertionError at com.sun.tools.javac.tree.TreeInfo.opPrec(TreeInfo.java:751) at com.sun.tools.javac.tree.Pretty.visitUnary(Pretty.java:947) at com.sun.tools.javac.tree.JCTree$JCUnary.accept(JCTree.java:1500) at com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:157) at com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:172) at com.sun.tools.javac.tree.Pretty.visitVarDef(Pretty.java:498) at com.sun.tools.javafx.tree.JFXVar.accept(JFXVar.java:75) at com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:157) at com.sun.tools.javac.tree.Pretty.printStat(Pretty.java:178) at com.sun.tools.javac.tree.Pretty.printStats(Pretty.java:205)
Created attachment 63992 [details] IDE log file
Alexandr, I guess we should run the IDE with assertions disabled as this is the default for the end user for the released NetBeans. I suggest to just close this issue but leaving it opened to give you a chance to comment first ;-)
After discussing here with pnejedly we agreed that it should not be closed but a bug for the compiler should be created.
Filed http://openjfx.java.sun.com/jira/browse/JFXC-1517
Should be fixed after 844:8e6b78de73bd I have workarounded the problem in the compiler by not calling the affected methods if the logging is disabled (which it is for the end user).
verified