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 201303232300) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18 OS: Mac OS X User Comments: tomjnsn: Trying to rename a folder. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.css.prep.refactoring.CPRenameRefactoringPlugin.checkParameters(CPRenameRefactoringPlugin.java:99) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsCheckParams(AbstractRefactoring.java:505) at org.netbeans.modules.refactoring.api.AbstractRefactoring.checkParameters(AbstractRefactoring.java:264) at org.netbeans.modules.web.common.refactoring.RenameRefactoringUI.setParameters(RenameRefactoringUI.java:110) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:990) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
Created attachment 133049 [details] stacktrace
Reproducible, simply right click on folder in HTML5 project and select rename. NPE pops out either if you type new name or if you just press Refactor. The same happens with JavaWeb project and also if you simply select folder and hit F2. Workaround is to rename folder without refactoring. Please notice there is issue 228968 and issue 229074 with very similar stacktrace. Product Version: NetBeans IDE Dev (Build web-main-10391-on-20130425) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
Works in 7.3, always reproducible in several project types with fundamental folder operation and workaround might not be clear => I think it is P2
and another slightly different stacktrace has issue 229122
already fixed *** This bug has been marked as a duplicate of bug 229074 ***
*** Bug 229093 has been marked as a duplicate of this bug. ***