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 208716 - java.net.URISyntaxException: Illegal character in path at index 19: /Z:/NetBeans/Simple Marauroa/Deck Manager/Magic The Gathering Game/lib/
Summary: java.net.URISyntaxException: Illegal character in path at index 19: /Z:/NetBe...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-21 19:50 UTC by javydreamercsw
Modified: 2012-04-25 10:01 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185192


Attachments
stacktrace (5.16 KB, text/plain)
2012-02-21 19:50 UTC, javydreamercsw
Details
stacktrace (7.10 KB, text/plain)
2012-02-28 10:32 UTC, Peter Nabbefeld
Details
stacktrace (7.59 KB, text/plain)
2012-04-04 15:02 UTC, javydreamercsw
Details
stacktrace (8.44 KB, text/plain)
2012-04-17 08:38 UTC, Peter Nabbefeld
Details
stacktrace (7.74 KB, text/plain)
2012-04-20 06:08 UTC, Peter Nabbefeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-02-21 19:50:29 UTC
Build: NetBeans IDE Dev (Build 201202140400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
javydreamercsw: Clicking broswe on the Properties.Libraries pane.




Stacktrace: 
java.net.URISyntaxException: Illegal character in path at index 19: /Z:/NetBeans/Simple Marauroa/Deck Manager/Magic The Gathering Game/lib/
   at java.net.URI$Parser.fail(URI.java:2829)
   at java.net.URI$Parser.checkChars(URI.java:3002)
   at java.net.URI$Parser.parseHierarchical(URI.java:3086)
   at java.net.URI$Parser.parse(URI.java:3044)
   at java.net.URI.<init>(URI.java:595)
   at org.netbeans.modules.versioning.core.VcsCollocationQueryImplementation.getFileObject(VcsCollocationQueryImplementation.java:109)
Comment 1 javydreamercsw 2012-02-21 19:50:31 UTC
Created attachment 115996 [details]
stacktrace
Comment 2 Peter Nabbefeld 2012-02-28 10:32:43 UTC
Created attachment 116171 [details]
stacktrace

Tried to create a Java project - URI handling seems not (yet) prepared for spaces and probably some other special characters in paths.
Comment 3 Peter Nabbefeld 2012-02-28 10:39:33 UTC
What IMHO is interesting:
All (up to now) 3 exception reports do have this line in stack trace:
at org.netbeans.modules.versioning.core.VcsCollocationQueryImplementation.getFileObject(VcsCollocationQueryImplementation.java:109)

1. What has VCS to do e.g. with java project creation?
2. I'd guess, VCS usually does not use file URIs - so probably as a consequence it does not encode URIs correctly.
Comment 4 Exceptions Reporter 2012-03-30 16:08:21 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=185192
Comment 5 javydreamercsw 2012-04-04 15:02:18 UTC
Created attachment 117818 [details]
stacktrace

Deleting characters from path in the file chooser (adding a jar as library from a Java project)
Comment 6 Peter Nabbefeld 2012-04-17 08:38:26 UTC
Created attachment 118379 [details]
stacktrace

When creating new project (Java application).
Comment 7 Peter Nabbefeld 2012-04-20 06:08:27 UTC
Created attachment 118543 [details]
stacktrace

Creating a Java Project with dedicated folder for storing libraries
Comment 8 Tomas Stupka 2012-04-23 16:39:16 UTC
fixed in core-main #37f588fa4bd8
Comment 9 Quality Engineering 2012-04-25 10:01:15 UTC
Integrated into 'main-golden', will be available in build *201204250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/37f588fa4bd8
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #208716 - java.net.URISyntaxException: Illegal character in path at index 19: /Z:/NetBeans/Simple Marauroa/Deck Manager/Magic The Gathering Game/lib/