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 20120216-7e59857a6a14) VM: Java HotSpot(TM) Client VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12 OS: Linux User Comments: jglick: Trying rename refactoring on a "reduced package" tree node. Stacktrace: java.lang.AssertionError at org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.create(RenameRefactoringUI.java:407) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$3.createRefactoringUI(ContextAnalyzer.java:140) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$NodeToFileObjectTask.run(ContextAnalyzer.java:498) at org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:153) at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doRename(RefactoringActionsProvider.java:81) at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doRename(ActionsImplementationFactory.java:91)
Created attachment 115845 [details] stacktrace
changeset: 213572:516c5bf80d50 user: Jan Becicka <jbecicka@netbeans.org> date: Thu Feb 23 11:39:41 2012 +0100
Thanks. I guess you were able to reproduce, since reduced tree mode is in trunk now?
Yes it is. But the very same exception was thrown also for regular folders (in Files View)
Integrated into 'main-golden', will be available in build *201202240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/516c5bf80d50 User: Jan Becicka <jbecicka@netbeans.org> Log: #208526 proper handling of file renames