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 201003160201) 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: - Fix imports - Click on the popup menu bu mouse Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javafx.editor.imports.ui.FixImportsLayout$FixPopup$1.mouseClicked(FixImportsLayout.java:313) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253) at java.awt.Component.processMouseEvent(Component.java:6266) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041)
Created attachment 95290 [details] stacktrace
Not really sure but it seems as a race condition when accessing an uninitialized variable from the mouseClick handler. Marking the variable as volatile to put there memory barrier - http://hg.netbeans.org/javafx/rev/e0e6c0881c2e
unable to reproduce in build NetBeans-JavaFX-Soma: #193