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.
the following code outputFolder.setOutputFolderName(new URL("nbprjres://project/BaseOutputFolder/")); outputFolder is a BuildTargetOutputFolder. It used to work , today throws NPE. The exception is thrown from openide.filesystems, but the code there is no so turbulent so the error is more likely to be somewhere in between. Steps to reproduce: Create new JarPackager build target, fill in some name of the target and click finish. If the wizard doesn't throw IllegalStateException (which is a different bug), the above NPE is shown in the console and the wizard returns back to the first page with no error window. If the ISE is thrown, retry the process with a new BT name (and again and again. There is a 100% chance that you will succeed, some day ;-)
Created attachment 11777 [details] Attaching exception trace
Hmm, looks wiered.
Fixed.
Works indeed. Thanks!
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as CLOSED.