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 javafx-main-123-on-091217) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Windows XP, 5.1, x86 User Comments: sunflower: Steps to reproduce: - Copy the code to the editor: ---------------------------------------------------------------------------------------------------------------- public function fractalView(depth: Number, fractal: Fractal): Node { var angle = Math.toRadians(fractal.angle); if (depth == 1) Line { } else Group { content: for(fractal.childs) fractalView(de) } } ---------------------------------------------------------------------------------------------------------------- - Position cursor after line: ' content: for(fractal.childs) fractalView(de' - Press <Ctrl+Space> The exception pops up Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javafx.editor.completion.JavaFXCompletionEnvironment.addLocalMembersAndVars(JavaFXCompletionEnvironment.java:511) at org.netbeans.modules.javafx.editor.completion.environment.MethodInvocationTreeEnvironment.inside(MethodInvocationTreeEnvironment.java:85) at org.netbeans.modules.javafx.editor.completion.environment.MethodInvocationTreeEnvironment.inside(MethodInvocationTreeEnvironment.java:57) at org.netbeans.modules.javafx.editor.completion.JavaFXCompletionQuery.resolveCompletion(JavaFXCompletionQuery.java:397) at org.netbeans.modules.javafx.editor.completion.JavaFXCompletionQuery.run(JavaFXCompletionQuery.java:344) at org.netbeans.modules.javafx.editor.completion.JavaFXCompletionQuery.run(JavaFXCompletionQuery.java:77)
Created attachment 92714 [details] stacktrace
Fixed: http://hg.netbeans.org/javafx/rev/6e7308c39b20
verified in NetBeans-JavaFX-Soma: #149