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 214057 - NB doesn't start with JDK 7 - InvalidPathException: Illegal character [:] in path at index 4:
Summary: NB doesn't start with JDK 7 - InvalidPathException: Illegal character [:] in ...
Status: VERIFIED DUPLICATE of bug 214038
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 214169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-12 15:44 UTC by Stepan Zebra
Modified: 2012-06-14 08:43 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log from failed startup (4.58 KB, text/plain)
2012-06-12 15:44 UTC, Stepan Zebra
Details
log from next build (4.58 KB, text/plain)
2012-06-13 09:21 UTC, Stepan Zebra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Zebra 2012-06-12 15:44:47 UTC
Created attachment 120745 [details]
log from failed startup

today's build (201206120719) doesn't start with JDK 7 (it seems to run fine on JDK 6)

java.nio.file.InvalidPathException: Illegal character [:] in path at index 4: ///C:/Program Files (x86)/NetBeans Dev 201206120719/platform/core/core.jar
	at sun.nio.fs.WindowsPathParser.nextSlash(WindowsPathParser.java:206)
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:111)
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
	at sun.nio.fs.WindowsUriSupport.fromUri(WindowsUriSupport.java:165)
	at sun.nio.fs.WindowsFileSystemProvider.getPath(WindowsFileSystemProvider.java:91)
	at java.nio.file.Paths.get(Paths.java:138)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.openide.util.Utilities.toFile(Utilities.java:3088)
	at org.netbeans.core.startup.ModuleSystem.loadBootModules(ModuleSystem.java:217)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:167)
	at org.netbeans.core.startup.Main.start(Main.java:305)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:722)
Comment 1 wschalle 2012-06-12 17:25:22 UTC
I can confirm that I got the same error in this build using JDK 7 on Windows 7 x64.
Comment 2 crazyjavahacking 2012-06-12 23:00:58 UTC
Same on my side
Comment 3 KhArtNJava 2012-06-13 07:45:48 UTC
-------------------------------------------------------------------------------
>Log Session: Wednesday, June 13, 2012 11:45:24 AM MSK
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201206120719) (#5a9e0cd75f72)
  Operating System        = Windows 7 version 6.1 running on x86
  Java; VM; Vendor        = 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_03-b05
  Java Home               = C:\Java\jdk1.7.0_03\jre
  System Locale; Encoding = ru_RU (nb); Cp1251
  Home Directory          = C:\Users\Arthur
  Current Directory       = C:\Program Files\NetBeans Dev 201206120719
  User Directory          = C:\Users\Arthur\AppData\Roaming\NetBeans\dev
  Cache Directory         = C:\Users\Arthur\AppData\Local\NetBeans\Cache\dev
  Installation            = C:\Program Files\NetBeans Dev 201206120719\nb
                            C:\Program Files\NetBeans Dev 201206120719\ergonomics
                            C:\Program Files\NetBeans Dev 201206120719\ide
                            C:\Program Files\NetBeans Dev 201206120719\java
                            C:\Program Files\NetBeans Dev 201206120719\apisupport
                            C:\Program Files\NetBeans Dev 201206120719\webcommon
                            C:\Program Files\NetBeans Dev 201206120719\websvccommon
                            C:\Program Files\NetBeans Dev 201206120719\enterprise
                            C:\Program Files\NetBeans Dev 201206120719\mobility
                            C:\Program Files\NetBeans Dev 201206120719\profiler
                            C:\Program Files\NetBeans Dev 201206120719\php
                            C:\Program Files\NetBeans Dev 201206120719\harness
                            C:\Program Files\NetBeans Dev 201206120719\cnd
                            C:\Program Files\NetBeans Dev 201206120719\dlight
                            C:\Program Files\NetBeans Dev 201206120719\groovy
                            C:\Program Files\NetBeans Dev 201206120719\javacard
                            C:\Program Files\NetBeans Dev 201206120719\javafx
                            C:\Program Files\NetBeans Dev 201206120719\platform
  Boot & Ext. Classpath   = C:\Java\jdk1.7.0_03\jre\lib\resources.jar;C:\Java\jdk1.7.0_03\jre\lib\rt.jar;C:\Java\jdk1.7.0_03\jre\lib\sunrsasign.jar;C:\Java\jdk1.7.0_03\jre\lib\jsse.jar;C:\Java\jdk1.7.0_03\jre\lib\jce.jar;C:\Java\jdk1.7.0_03\jre\lib\charsets.jar;C:\Java\jdk1.7.0_03\jre\classes;C:\Java\jdk1.7.0_03\jre\lib\ext\dnsns.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\localedata.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\sunec.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\sunmscapi.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\sunpkcs11.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\zipfs.jar
  Application Classpath   = C:\Program Files\NetBeans Dev 201206120719\platform\lib\boot.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\org-openide-modules.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\org-openide-util-lookup.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\org-openide-util.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\boot_ja.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\boot_pt_BR.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\boot_ru.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\boot_zh_CN.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-modules_ja.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-modules_ru.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-util-lookup_ja.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-util-lookup_pt_BR.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-util-lookup_ru.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-util-lookup_zh_CN.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-util_ja.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-util_ru.jar;C:\Program Files\NetBeans Dev 201206120719\platform\lib\locale\org-openide-util_zh_CN.jar;C:\Java\jdk1.7.0_03\lib\dt.jar;C:\Java\jdk1.7.0_03\lib\tools.jar
  Startup Classpath       = C:\Program Files\NetBeans Dev 201206120719\platform\core\core.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\org-openide-filesystems.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\locale\core_ja.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\locale\core_pt_BR.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\locale\core_ru.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\locale\core_zh_CN.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\locale\org-openide-filesystems_ja.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\locale\org-openide-filesystems_pt_BR.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\locale\org-openide-filesystems_ru.jar;C:\Program Files\NetBeans Dev 201206120719\platform\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\org-netbeans-upgrader.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\core_nb.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\core_nb_ja.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\core_nb_pt_BR.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\core_nb_ru.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\core_nb_zh_CN.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\org-netbeans-upgrader_ja.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\org-netbeans-upgrader_pt_BR.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\org-netbeans-upgrader_ru.jar;C:\Program Files\NetBeans Dev 201206120719\nb\core\locale\org-netbeans-upgrader_zh_CN.jar
-------------------------------------------------------------------------------
java.nio.file.InvalidPathException: Illegal character [:] in path at index 4: ///C:/Program Files/NetBeans Dev 201206120719/platform/core/core.jar
	at sun.nio.fs.WindowsPathParser.nextSlash(WindowsPathParser.java:206)
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:111)
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
	at sun.nio.fs.WindowsUriSupport.fromUri(WindowsUriSupport.java:165)
	at sun.nio.fs.WindowsFileSystemProvider.getPath(WindowsFileSystemProvider.java:91)
	at java.nio.file.Paths.get(Paths.java:138)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.openide.util.Utilities.toFile(Utilities.java:3088)
	at org.netbeans.core.startup.ModuleSystem.loadBootModules(ModuleSystem.java:217)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:167)
	at org.netbeans.core.startup.Main.start(Main.java:305)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:722)
Comment 4 kolen 2012-06-13 09:11:47 UTC
The same error. Build 201206080001 works on my machine, build 201206120719 fails to start with the same error.
Windows XP SP3 32-bit, Java 1.7.0_03-b05.

Set netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_14", now 201206120719 build starts.
Comment 5 Stepan Zebra 2012-06-13 09:21:23 UTC
Created attachment 120766 [details]
log from next build

still present in build 201206130001
Comment 6 KhArtNJava 2012-06-13 09:58:19 UTC
-------------------------------------------------------------------------------
>Log Session: Wednesday, June 13, 2012 1:59:20 PM MSK
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201206130001) (#24c39aee8a04)
  Operating System        = Windows 7 version 6.1 running on x86
  Java; VM; Vendor        = 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_03-b05
  Java Home               = C:\Java\jdk1.7.0_03\jre
  System Locale; Encoding = ru_RU (nb); Cp1251
  Home Directory          = C:\Users\Arthur
  Current Directory       = C:\Program Files\NetBeans Dev 201206130001
  User Directory          = C:\Users\Arthur\AppData\Roaming\NetBeans\dev
  Cache Directory         = C:\Users\Arthur\AppData\Local\NetBeans\Cache\dev
  Installation            = C:\Program Files\NetBeans Dev 201206130001\nb
                            C:\Program Files\NetBeans Dev 201206130001\ergonomics
                            C:\Program Files\NetBeans Dev 201206130001\ide
                            C:\Program Files\NetBeans Dev 201206130001\java
                            C:\Program Files\NetBeans Dev 201206130001\apisupport
                            C:\Program Files\NetBeans Dev 201206130001\webcommon
                            C:\Program Files\NetBeans Dev 201206130001\websvccommon
                            C:\Program Files\NetBeans Dev 201206130001\enterprise
                            C:\Program Files\NetBeans Dev 201206130001\mobility
                            C:\Program Files\NetBeans Dev 201206130001\profiler
                            C:\Program Files\NetBeans Dev 201206130001\php
                            C:\Program Files\NetBeans Dev 201206130001\harness
                            C:\Program Files\NetBeans Dev 201206130001\cnd
                            C:\Program Files\NetBeans Dev 201206130001\dlight
                            C:\Program Files\NetBeans Dev 201206130001\groovy
                            C:\Program Files\NetBeans Dev 201206130001\javacard
                            C:\Program Files\NetBeans Dev 201206130001\javafx
                            C:\Program Files\NetBeans Dev 201206130001\platform
  Boot & Ext. Classpath   = C:\Java\jdk1.7.0_03\jre\lib\resources.jar;C:\Java\jdk1.7.0_03\jre\lib\rt.jar;C:\Java\jdk1.7.0_03\jre\lib\sunrsasign.jar;C:\Java\jdk1.7.0_03\jre\lib\jsse.jar;C:\Java\jdk1.7.0_03\jre\lib\jce.jar;C:\Java\jdk1.7.0_03\jre\lib\charsets.jar;C:\Java\jdk1.7.0_03\jre\classes;C:\Java\jdk1.7.0_03\jre\lib\ext\dnsns.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\localedata.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\sunec.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\sunmscapi.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\sunpkcs11.jar;C:\Java\jdk1.7.0_03\jre\lib\ext\zipfs.jar
  Application Classpath   = C:\Program Files\NetBeans Dev 201206130001\platform\lib\boot.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\org-openide-modules.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\org-openide-util-lookup.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\org-openide-util.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\boot_ja.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\boot_pt_BR.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\boot_ru.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\boot_zh_CN.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-modules_ja.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-modules_ru.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-util-lookup_ja.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-util-lookup_pt_BR.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-util-lookup_ru.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-util-lookup_zh_CN.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-util_ja.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-util_ru.jar;C:\Program Files\NetBeans Dev 201206130001\platform\lib\locale\org-openide-util_zh_CN.jar;C:\Java\jdk1.7.0_03\lib\dt.jar;C:\Java\jdk1.7.0_03\lib\tools.jar
  Startup Classpath       = C:\Program Files\NetBeans Dev 201206130001\platform\core\core.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\org-openide-filesystems.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\locale\core_ja.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\locale\core_pt_BR.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\locale\core_ru.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\locale\core_zh_CN.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\locale\org-openide-filesystems_ja.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\locale\org-openide-filesystems_pt_BR.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\locale\org-openide-filesystems_ru.jar;C:\Program Files\NetBeans Dev 201206130001\platform\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\org-netbeans-upgrader.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\core_nb.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\core_nb_ja.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\core_nb_pt_BR.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\core_nb_ru.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\core_nb_zh_CN.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\org-netbeans-upgrader_ja.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\org-netbeans-upgrader_pt_BR.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\org-netbeans-upgrader_ru.jar;C:\Program Files\NetBeans Dev 201206130001\nb\core\locale\org-netbeans-upgrader_zh_CN.jar
-------------------------------------------------------------------------------
java.nio.file.InvalidPathException: Illegal character [:] in path at index 4: ///C:/Program Files/NetBeans Dev 201206130001/platform/core/core.jar
	at sun.nio.fs.WindowsPathParser.nextSlash(WindowsPathParser.java:206)
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:111)
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
	at sun.nio.fs.WindowsUriSupport.fromUri(WindowsUriSupport.java:165)
	at sun.nio.fs.WindowsFileSystemProvider.getPath(WindowsFileSystemProvider.java:91)
	at java.nio.file.Paths.get(Paths.java:138)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.openide.util.Utilities.toFile(Utilities.java:3088)
	at org.netbeans.core.startup.ModuleSystem.loadBootModules(ModuleSystem.java:217)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:167)
	at org.netbeans.core.startup.Main.start(Main.java:305)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:722)
Comment 7 Stepan Zebra 2012-06-13 10:25:29 UTC
(In reply to comment #6)
> -------------------------------------------------------------------------------
> >Log Session: Wednesday, June 13, 2012 1:59:20 PM MSK
> ...

Please don't paste whole log into an issue comment.
http://wiki.netbeans.org/IssuezillaRules
Comment 8 Stepan Zebra 2012-06-13 10:44:25 UTC
I can build and run the IDE fine on my machine. The problem is probably on the builder...
I'll keep this issue open, until a stable build is available.
Comment 9 kolen 2012-06-13 11:43:43 UTC
Tried on java 1.7.0_05-b05, still does not start.
Comment 10 Ondrej Vrabec 2012-06-13 13:56:50 UTC
isn't this related to jesse's work on UNC paths?
Comment 11 Jesse Glick 2012-06-13 15:17:39 UTC
Probably already fixed in sources; change propagation into daily builds has been retarded somewhat in recent days.

*** This bug has been marked as a duplicate of bug 214038 ***
Comment 12 Marian Mirilovic 2012-06-14 06:42:07 UTC
*** Bug 214169 has been marked as a duplicate of this bug. ***
Comment 13 Stepan Zebra 2012-06-14 08:43:45 UTC
resolved in build 201206140001