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 - IAE if manually entered path in new project dlg has no leading /
Summary: IAE if manually entered path in new project dlg has no leading /
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-07-31 16:21 UTC by _ tboudreau
Modified: 2004-08-13 12:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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