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 200911200201) 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 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javafx.refactoring.impl.scanners.RenameScanner.visitVariable(RenameScanner.java:122) at org.netbeans.modules.javafx.refactoring.impl.scanners.RenameScanner.visitVariable(RenameScanner.java:61) at com.sun.tools.javafx.tree.JFXVarBase.accept(JFXVarBase.java:53) at com.sun.javafx.api.tree.JavaFXTreePathScanner.scan(JavaFXTreePathScanner.java:63) at org.netbeans.modules.javafx.refactoring.impl.scanners.BaseRefactoringScanner.scan(BaseRefactoringScanner.java:71) at com.sun.javafx.api.tree.JavaFXTreeScanner.scanAndReduce(JavaFXTreeScanner.java:84)
Created attachment 91428 [details] stacktrace
Created attachment 91511 [details] stacktrace
Steps to reproduce: - Create New Project ->Samples-> JavaFX -> Media Box sample - Open com.sun.javafx.mediabox.MediaBox file - Go to the 'public function impl_clearMediaPlayer(mp: MediaPlayer) ' function - Refactor->rename the 'mp' variable in the ' if (mp3.media != null) {' line to mp2 The exception pops up.
Created attachment 91516 [details] stacktrace
I am unable to reproduce it following the given steps
verified in NetBeans-JavaFX-Soma: #69