karakun / OpenWebStart

Run Web Start based applications after the release of Java 11
https://openwebstart.com
Other
427 stars 46 forks source link

JNLP wont work with plus sign + in file name #599

Open Tartarga opened 2 months ago

Tartarga commented 2 months ago

OpenWebStart throws File Not Found if a plus sign is in the filename of the JNLP file. Due to reasons beyond my control I cannot provide loGs, nOr am I the able to haVe The developers change things. Once manually removed the program works wonderfully.

Windows 10/11 x64

Tartarga commented 2 months ago

Example, note + is a space on the 2nd part of the error

net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file at 'file:/C:/Users/X/Downloads/launch+2.jnlp'. You can try to download this file manually and send it as bug report to IcedTea-Web team. at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:333) at net.sourceforge.jnlp.Launcher.launch(Launcher.java:193) at net.sourceforge.jnlp.runtime.Boot.launch(Boot.java:355) at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:335) at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:73) at java.security.AccessController.doPrivileged(Native Method) at net.sourceforge.jnlp.runtime.Boot.runMain(Boot.java:279) at net.sourceforge.jnlp.runtime.Boot.mainWithReturnCode(Boot.java:132) at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:114) at com.openwebstart.launcher.PhaseTwoWebStartLauncher.main(PhaseTwoWebStartLauncher.java:93) at com.openwebstart.launcher.OpenWebStartLauncher.main(OpenWebStartLauncher.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25) Caused by: java.io.FileNotFoundException: C:\Users\X\Downloads\launch 2.jnlp (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.(FileInputStream.java:138)