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.

Bug 36401 - NPE from BuildTargetOutputFolder
Summary: NPE from BuildTargetOutputFolder
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-02 16:28 UTC by Ondrej Rypacek
Modified: 2004-04-19 16:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Attaching exception trace (8.58 KB, text/plain)
2003-10-02 16:30 UTC, Ondrej Rypacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Rypacek 2003-10-02 16:28:12 UTC
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 ;-)
Comment 1 Ondrej Rypacek 2003-10-02 16:30:21 UTC
Created attachment 11777 [details]
Attaching exception trace
Comment 2 Vitezslav Stejskal 2003-10-03 10:03:38 UTC
Hmm, looks wiered.
Comment 3 Dusan Balek 2003-10-03 10:17:07 UTC
Fixed.
Comment 4 Ondrej Rypacek 2003-10-03 11:12:40 UTC
Works indeed. Thanks!
Comment 5 Jan Becicka 2003-11-25 14:21:40 UTC
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.