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 249861

Summary: java.nio.file.InvalidPathException: Illegal char <:> at index 64: D:\src\php\pydio-remote\data\plugins\mq.sql\queues\channel-nodes:0
Product: php Reporter: Exceptions Reporter <exceptions_reporter>
Component: ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED FIXED    
Severity: normal CC: vdtoorn
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 214822
Attachments: stacktrace

Description Exceptions Reporter 2015-01-16 13:24:58 UTC
This bug was originally marked as duplicate of bug 229135, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
GUEST: Downloading PHP sources via ssh connection to server




Stacktrace: 
java.nio.file.InvalidPathException: Illegal char <:> at index 64: D:\src\php\pydio-remote\data\plugins\mq.sql\queues\channel-nodes:0
   at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
   at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
   at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
   at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
   at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
   at java.io.File.toPath(File.java:2234)
Comment 1 Exceptions Reporter 2015-01-16 13:25:00 UTC
Created attachment 151547 [details]
stacktrace
Comment 2 Tomas Mysik 2015-04-24 07:44:24 UTC
Do you have a remote file/directory named "channel-nodes:0" or just "channel-nodes"? I guess it is just "channel-nodes", right? I will improve NetBeans code to return just this part of the name.

Thanks.
Comment 3 Tomas Mysik 2015-04-24 08:29:54 UTC
Should be fixed now, please verify. Thanks.

http://hg.netbeans.org/web-main/rev/ec39a1947d75
Comment 4 Tomas Mysik 2015-04-28 12:34:57 UTC
I will revert the fix and add these files among failed operations. The reason is that I really think that such folders/files exist on your server. Let me know if I am wrong.

Thanks.
Comment 5 Tomas Mysik 2015-04-28 13:03:41 UTC
The original fix is reverted.

http://hg.netbeans.org/web-main/rev/df04b4d3c661

Proper fix is added.

http://hg.netbeans.org/web-main/rev/07ebd53681b2
Comment 6 Quality Engineering 2015-04-29 02:31:53 UTC
Integrated into 'main-silver', will be available in build *201504290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/07ebd53681b2
User: Tomas Mysik <tmysik@netbeans.org>
Log: #249861 cont'd - java.nio.file.InvalidPathException: Illegal char <:> at index 64: D:\src\php\pydio-remote\data\plugins\mq.sql\queues\channel-nodes:0

Proper fix.