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.
Build: NetBeans IDE Dev (Build 201001180201) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Windows XP User Comments: sunflower: Steps to reproduce: - Open the project JavaFX project http://netbeans.org/bugzilla/attachment.cgi?id=93404 - Go to the galaxyfx.deepspace.design.MapView class - Select popup variable in the 'var popup: Node' line - Right-click and Invoke Find Usages The exception pops up Stacktrace: java.lang.ClassCastException: com.sun.tools.javafx.tree.JFXVar cannot be cast to com.sun.tools.javafx.tree.JFXOverrideClassVar at org.netbeans.api.javafx.source.ElementUtilities$1.scan(ElementUtilities.java:277) at org.netbeans.api.javafx.source.ElementUtilities$1.scan(ElementUtilities.java:253) at com.sun.javafx.api.tree.JavaFXTreeScanner.scan(JavaFXTreeScanner.java:94) at com.sun.javafx.api.tree.JavaFXTreeScanner.scanAndReduce(JavaFXTreeScanner.java:111) at com.sun.javafx.api.tree.JavaFXTreeScanner.visitInstantiate(JavaFXTreeScanner.java:280) at com.sun.tools.javafx.tree.JFXInstanciate.accept(JFXInstanciate.java:122)
Created attachment 93405 [details] stacktrace
It seems to have had the same root cause as #179490 fixed in http://hg.netbeans.org/javafx/rev/6b71f5af4690
verified in NetBeans-JavaFX-Soma: #142