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 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Windows XP Stacktrace: java.lang.NullPointerException at org.netbeans.api.javafx.source.ElementHandle.create(ElementHandle.java:353) at org.netbeans.modules.javafx.refactoring.impl.scanners.BaseRefactoringScanner.<init>(BaseRefactoringScanner.java:67) at org.netbeans.modules.javafx.refactoring.impl.scanners.BaseRefactoringScanner.<init>(BaseRefactoringScanner.java:75) at org.netbeans.modules.javafx.refactoring.impl.scanners.RenameScanner.<init>(RenameScanner.java:67) at org.netbeans.modules.javafx.refactoring.impl.plugins.RenameRefactoringPlugin$4.run(RenameRefactoringPlugin.java:383) at org.netbeans.modules.javafx.refactoring.impl.plugins.RenameRefactoringPlugin$4.run(RenameRefactoringPlugin.java:380)
Created attachment 93549 [details] stacktrace
NB 6.8 patch1 2010-01-25_21-27-59 Steps to reproduce: - Create JavaFX MediaBox sample - Go to the com.sun.javafx.mediabox.Main file - Go to the 'var mediaBox: MediaBox = MediaBox {' line - Refactor -> Rename the MediaBox to MediaBox2 The exception pops up.
In NB 6.9 NetBeans-JavaFX-Soma: #129 Jan 26, 2010 12:00:49 AM I see message "Cannot rename here".
Fixed for patch1 The problem in trunk is still caused by CSS refactoring going crazy - will be resolved once the changes from web-main will be propagated to main-golden
Fixed in release68_fixes branch after merging TreePathHandle-> ElementLocation refactoring of "Refactoring". Please verify in next NB 6.8 fixes build (Please consider filling this issue once more for tracking of the trunk issue)
verified in NetBeans-JavaFX-Soma: #142