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 36004 - NPE when creating new Java Package root
Summary: NPE when creating new Java Package root
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-10 13:21 UTC by Milan Kubec
Modified: 2003-12-11 14:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (2.91 KB, text/plain)
2003-09-10 13:21 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2003-09-10 13:21:02 UTC
I was creating new Empty Java Application and I
canceled the wizard on second panel. Then I
created the same Empty Java Application again and
wanted to add one more java package root libsrc,
but NullPointerException was thrown. 'libsrc'
folder wasn't added to project, but it was created
on disk.
Comment 1 Milan Kubec 2003-09-10 13:21:35 UTC
Created attachment 11566 [details]
exc stack trace
Comment 2 Jan Becicka 2003-09-10 16:08:45 UTC
This is essential feature. Should be P2 at least.
Comment 3 Tomas Zezula 2003-09-18 09:14:56 UTC
Caused by Project infrastructure.
Project.getProjectFileSystme() returns null, there is no way how to
heal from this.
Project infrastructure can be either more robust to allow recreation
of even broken project file, or it should erase the project folder it
has created when the wizard was cancel or not to allow project file
reopening.
Comment 4 Vitezslav Stejskal 2003-11-24 14:47:02 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss
the current work on projects prototype has been stopped.
Comment 5 Jan Becicka 2003-11-25 13:46:25 UTC
Marking issue as VERIFIED --->
Comment 6 Jan Becicka 2003-11-25 13:51:08 UTC
---> CLOSED