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.
This bug was originally marked as duplicate of bug 167159, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201305212300) VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Linux User Comments: apepin: - run IDE with a fresh userdir - open Favorites - select any folder in home directory then call New->Other - choose Other/Folder cathegory - press Next Result: Exception occurs Stacktrace: java.lang.AssertionError: org.netbeans.modules.project.ui.NewFileWizard@7c981ad3 at org.netbeans.modules.project.ui.NewFileIterator.getPanel(NewFileIterator.java:117) at org.netbeans.modules.project.ui.NewFileIterator.initialize(NewFileIterator.java:163) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.initialize(TemplateWizard.java:1036) at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:104) at org.openide.loaders.TemplateWizardIteratorWrapper.setIterator(TemplateWizardIteratorWrapper.java:79) at org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:209)
Created attachment 134756 [details] stacktrace
This is a critical bug for remote development in CND.
Created attachment 134801 [details] stacktrace - Open Favirotes tab - Right-click on any Folder - New -> Other -> Folder - Next => This exception
Milos, could you, please, look at this issue asap and evaluate it, as Bug#230147 (https://netbeans.org/bugzilla/show_bug.cgi?id=230147) depends on it. Thanks, =Andrew
http://hg.netbeans.org/core-main/rev/2de343d643c6 http://hg.netbeans.org/core-main/rev/b00d9b2eeec9 sort of fixed I hope, still there's way to many pathways through the UI. here's what I tested. 1. with no projects opened. a. in toolbar new file/folder b. right click in favourites new file/other -> file/folder c. right click in favourites new folder (preselected template by now) 2. with one project opened. a. new folder on project popup b. new file/other ->file/folder on project popup c. in favourites new folder on project popup d. in favourites new file/other -> file/folder e. in toolbar and main menu new file/folder in all scenarios attempted to change the parent folder location.
Integrated into 'main-golden', will be available in build *201306072301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2de343d643c6 User: Milos Kleint <mkleint@netbeans.org> Log: partially fixes #230134, but the code is a mess to deal with