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.
While trying to create new project "Java desktop application" have found following. If option "Use dedicated folder for libraries" is ON, the IDE can't finish the task. The project folder with application structure is created but just without LIB subfolder. During open such "unfinished" project the references fault arises. The reason is - lost Swing Framework Library. All worked fine in 6.9.1, 7 beta and 7 beta 2. This only happens in 7 RC1. Would You be so kind to take a look, please...
You are right, I am able to reproduce it also with RC2 - this is bad, could somebody from projects do a quick evaluation ? Thanks in advance. We have still couple hours for integration additional fixes into release70 branch, before FCS build.
There are two problems : 1. once you will use 'Use dedicated folder for Storing Libraries' ... the wizard will never finish (silent exception is thrown see attachment-NPE) and project is not opened (it's created but never opened) and New Project Wizard stays opened with disabled Finish button) 2. if you open such project after closing the dialog (by Cancel) - it contains broken references, the workaround is : - select project node in Projects view and push 'Properties' from popup menu - select 'Libraries' on the left - select 'Missing library ....' and push 'Remove' button - push 'Add Library' button - push 'Import...' button - choose 'Swing Application Framework' and push 'Add Library' button - push 'Ok' on Project Properties dialog
Created attachment 107589 [details] attachment-NPE
I get java.lang.NullPointerException at org.netbeans.modules.swingapp.templates.NewAppWizardIterator.copyRequiredLibraries(NewAppWizardIterator.java:386) at org.netbeans.modules.swingapp.templates.NewAppWizardIterator.enableShareableLibraries(NewAppWizardIterator.java:365) at org.netbeans.modules.swingapp.templates.NewAppWizardIterator.instantiate(NewAppWizardIterator.java:339) when clicking Finish. But I can still switch it to sharable later; create the project without this checkbox, then File > Project Properties > Libraries > Browse... and follow the instructions. Anyway the swingapp module is effectively deprecated since org.jdesktop.application is no longer developed. I do not think bugs in this area should be considered high priorities.
core-main #fe8b109d8bef
(In reply to comment #4) > I do not think bugs in this area should be considered high priorities. In fact the module should be moved to AU, not left in the java cluster.
Integrated into 'main-golden', will be available in build *201104080400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fe8b109d8bef User: Jesse Glick <jglick@netbeans.org> Log: #197542: unable to create new desktop application with option "Use dedicated folder for libs" Test dir no longer exists in these projects after 3d2b19c7bcad.
*** Bug 198989 has been marked as a duplicate of this bug. ***