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: | IllegalArgumentException: URI scheme is not "file" | ||
---|---|---|---|
Product: | projects | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | Generic Infrastructure | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | issues |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 178584 |
Attachments: | stacktrace |
Description
Vladimir Kvashin
2011-04-28 14:55:06 UTC
Created attachment 108001 [details]
stacktrace
It seems that the most simple remedy is using URLMapper.findFileObject(url); instead of File file = FileUtil.normalizeFile(new File(url.toURI())); prjDir = FileUtil.toFileObject(file); Right. core-main #7d19d2f741aa Integrated into 'main-golden', will be available in build *201105030000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7d19d2f741aa User: Jesse Glick <jglick@netbeans.org> Log: #198178: IAE when working with remote projects (not file-protocol). |