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 20080225060642) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User comments: To reproduce: - create a new java project - switch to Files view - call 'Refactor|Rename' on 'JavaApplication1|test' node and exception is thrown. It seems it throws this exception if you try to rename any folder other then one under src. STACKTRACE: (first 10 lines) java.lang.AssertionError at org.netbeans.modules.refactoring.javascript.ui.RefactoringActionsProvider$NodeToFileObjectTask.run(RefactoringActionsProvider.java:648) at org.netbeans.modules.refactoring.javascript.ui.RefactoringActionsProvider.doRename(RefactoringActionsProvider.java:125) at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doRename(ActionsImplementationFactory.java:69) at org.netbeans.modules.refactoring.spi.impl.RenameAction.performAction(RenameAction.java:62) at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction.performAction(RefactoringGlobalAction.java:131) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:289) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114) at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:277)
BTW, it is probably caused by the fact that 'Rename' action disappeard from popup of folders in Files view.
Fixed in changeset 8e799ab946e5 which I just pushed.
Verified.