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.
Summary: | Can't create J2SE project - No such dir on disk | ||
---|---|---|---|
Product: | platform | Reporter: | Jan Chalupa <jchalupa> |
Component: | Filesystems | Assignee: | rmatous <rmatous> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P2 | Keywords: | SPACE_IN_PATH |
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Exception stack trace |
Description
Jan Chalupa
2004-04-15 21:57:39 UTC
Created attachment 14420 [details]
Exception stack trace
Well J2SEProjectGenerator just calls FileUtil.fromFile(File) and it is getting an empty array back. (Yes I know the method is deprecated but it should still work nonetheless.) Probably a result of some mistakes Radek made in recent commits in masterfs such as using new File(url.getPath()) which is not safe for all characters. URI, URL, File conversions is simply nightmare. I'm going to review committed conversions and I'll simplify it if possible. /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/MasterURLMapper.java,v new revision: 1.3; previous revision: 1.2 /cvs/openide/src/org/openide/filesystems/FileUtil.java,v <-- FileUtil.java new revision: 1.84; previous revision: 1.83 Please remember to update the target milestone. Verified in custom build of 040416 sources. |