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 128105

Summary: NPE creating new Java Project with Existing Sources
Product: java Reporter: Peter Lam <petersl>
Component: ProjectAssignee: Milan Kubec <mkubec>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: ide log file

Description Peter Lam 2008-02-22 08:03:45 UTC
Please change component/subcomp if not correct.

Installed from latest 6.1 build 20080219203 on Vista.
- start ide from fresh userdir
- select File->New Project
- select Java->Java Project with Existing Sources
- click Next and the NPE dialog popped up. See attached ide log file for complete exception stack trace.

java.lang.NullPointerException
	at java.io.File.<init>(File.java:222)
	at org.netbeans.modules.java.j2seproject.ui.wizards.PanelOptionsVisual.valid(PanelOptionsVisual.java:287)
Comment 1 Peter Lam 2008-02-22 08:04:49 UTC
Created attachment 57038 [details]
ide log file
Comment 2 Peter Lam 2008-02-22 08:06:01 UTC
no way to create a new project from existing sources.
Comment 3 Milan Kubec 2008-02-22 09:45:17 UTC
Should be already fixed, see issue #127705.

*** This issue has been marked as a duplicate of 127705 ***