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.
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.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.71-b15, Java(TM) SE Runtime Environment, 1.8.0_71-b15 OS: Windows 7 User Comments: markiewb: Applying a patch with a filename which is enclosed by " Stacktrace: java.nio.file.InvalidPathException: Illegal char <"> at index 18: C:\Users\markiewb\"C:\Users\markiewb\Desktop\210419.patch" 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)
Created attachment 160352 [details] stacktrace
Is it a valid patch file if it has the path enclosed in ""? I can add a workaround for that, I am just curious if it makes any sense (if there is more than one such a patch file in the world for that)
(In reply to Ondrej Vrabec from comment #2) > Is it a valid patch file if it has the path enclosed in ""? I can add a > workaround for that, I am just curious if it makes any sense (if there is > more than one such a patch file in the world for that) I am using Windows7. When I copy the path via SHIFT-right click on a file in the explorer and choose "Copy Path", such a path with " is copied to the clipboard. I trusted the content, which the explorer created, so I pasted it into the file dialog. Perhaps the global file dialog should be fixed?!
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=225176
Created attachment 164281 [details] stacktrace ???????
Created attachment 164282 [details] stacktrace ?????????