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 51516 - Library Manager creates malformed URLs
Summary: Library Manager creates malformed URLs
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 12:39 UTC by mdavidn
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (11.94 KB, text/plain)
2004-11-15 12:40 UTC, mdavidn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mdavidn 2004-11-15 12:39:39 UTC
When I add folders to a library's class or source
search paths, the Library Manager creates
malformed URLs that lack a trailing '/' character.
Upon restarting NetBeans, I receive
IllegalArgumentExceptions during the "Scanning
Project Classpaths" task. (See attached log.) I am
able to work around the issue by manually adding
the trailing slash to folder URLs by hand-editing
the configuration files at
~/.netbeans/4.0beta2/config/org-netbeans-api-project-libraries/Libraries/*.xml

I'm using JDK 1.5.0 and NetBeans build
200409220845 on Slackware 10.

I was unable to reproduce this problem on Windows
XP SP2 with the same build and JDK 1.5.0.
Comment 1 mdavidn 2004-11-15 12:40:46 UTC
Created attachment 18895 [details]
messages.log
Comment 2 David Konecny 2004-11-15 16:40:11 UTC
There was fixed couple of issues in this area since beta2. Most
probably fixed. Passing to Tomas for final word. Also please if
possible try on newer build. RC1 should be available later this week.
Comment 3 Tomas Zezula 2004-11-15 16:43:42 UTC
Fixed.
Comment 4 mdavidn 2004-11-15 17:37:05 UTC
Will try on RC1 this week. Thanks!
Comment 5 Jesse Glick 2004-12-01 19:26:23 UTC
Fixed in what? 4.1? CVS commit output?