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

Summary: NPE when creating new Java Package root
Product: projects Reporter: Milan Kubec <mkubec>
Component: Generic InfrastructureAssignee: Vitezslav Stejskal <vstejskal>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exc stack trace

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