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: | java.net.URISyntaxException: Illegal character in path at index 14: file:/tmp/what ever/lib/nblibraries.properties | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Ant Project | Assignee: | Milan Kubec <mkubec> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dkonecny |
Priority: | P3 | Keywords: | SPACE_IN_PATH |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=147241 | ||
Issue Type: | DEFECT | Exception Reporter: | 147241 |
Attachments: | stacktrace |
Description
Jesse Glick
2009-03-06 21:08:47 UTC
Created attachment 77851 [details]
stacktrace
You are using the (as of JDK 6) deprecated File.toURL. Use toURI().toURL(). Jesse, what do you mean by "Then went to local lib mgr and deleted junit libs"? Opened Tools > Libraries, selected the area corresponding to the local ./lib, selected all the junit* libraries, Delete'd them. Or at least I think so - was over two months ago now. Bug is likely in PLP using a now (JDK 6) deprecated method: ProjectLibraryArea pla = loadArea(pli.mainPropertiesFile.toURL()); Not reproducible after the fix. http://hg.netbeans.org/cdev/rev/a0ed0680a741 Integrated into 'main-golden', will be available in build *200905160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a0ed0680a741 User: Milan Kubec <mkubec@netbeans.org> Log: #159827: space in path problem |