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 46809

Summary: IAE if manually entered path in new project dlg has no leading /
Product: java Reporter: _ tboudreau <tboudreau>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    

Description _ tboudreau 2004-07-31 16:21:42 UTC
(Maybe belongs to java module?)

Create a new project.  In the field for what directory to create it 
in, type exactly "tmp/whatzit".  Press Finish.

java.lang.IllegalArgumentException: Parameter file was not 
normalized. Was tmp instead of /tmp
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:
310)
	at 
org.netbeans.modules.java.j2seproject.J2SEProjectGenerator.refr
eshFileSystem(J2SEProjectGenerator.java:247)
	at 
org.netbeans.modules.java.j2seproject.J2SEProjectGenerator.cre
ateProjectDir(J2SEProjectGenerator.java:196)
	at 
org.netbeans.modules.java.j2seproject.J2SEProjectGenerator.cre
ateProject(J2SEProjectGenerator.java:56)
	at 
org.netbeans.modules.java.j2seproject.ui.wizards.NewJ2SEProjec
tWizardIterator.instantiate(NewJ2SEProjectWizardIterator.java:98)
Comment 1 Tomas Zezula 2004-08-03 13:49:55 UTC
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/NewJ2SEProjectWizardIterator.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/NewJ2SEProjectWizardIterator.java,v
 <--  NewJ2SEProjectWizardIterator.java
new revision: 1.22; previous revision: 1.21
done