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 217528 - java.net.URISyntaxException: Illegal character in path at index 27: http://localhost:8383/Easel Demo/index.html
Summary: java.net.URISyntaxException: Illegal character in path at index 27: http://lo...
Status: RESOLVED DUPLICATE of bug 216436
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-28 13:08 UTC by Kenneth Ganfield
Modified: 2012-09-20 18:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191906


Attachments
stacktrace (890 bytes, text/plain)
2012-08-28 13:08 UTC, Kenneth Ganfield
Details
stacktrace (890 bytes, text/plain)
2012-09-20 11:14 UTC, Kenneth Ganfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2012-08-28 13:08:33 UTC
Build: NetBeans IDE Dev (Build 201208280201)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Mac OS X

User Comments:
kganfield: Trying to run project




Stacktrace: 
java.net.URISyntaxException: Illegal character in path at index 27: http://localhost:8383/Easel Demo/index.html
   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:3034)
   at java.net.URI.<init>(URI.java:595)
   at java.net.URL.toURI(URL.java:936)
Comment 1 Kenneth Ganfield 2012-08-28 13:08:36 UTC
Created attachment 123654 [details]
stacktrace
Comment 2 Kenneth Ganfield 2012-09-20 11:14:10 UTC
Created attachment 124640 [details]
stacktrace

looks like empty space is not supported in project name
Comment 3 Kenneth Ganfield 2012-09-20 11:27:00 UTC
It seems that you can get it to work by manually removing the space or replacing the space with a character in the Web Root field in the Run category of the project Properties window.

In a Java web project the IDE automatically replaces a space with an underscore in the Context Path for the project (see Run category of project Properties window)
Comment 4 Vladimir Riha 2012-09-20 18:44:45 UTC
this seems like a duplicate

*** This bug has been marked as a duplicate of bug 216436 ***