-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal: Read Error: Could not read or parse the JNLP file #707
Comments
This error happens when ITW is unable to download the resources. Could you please attach the log files for further debugging this. Thanks |
I'm running into a same/similars issue from time to time (using OWS 1.3.1). Sometimes launching the app works, sometimes this or a similar error shows up. It seems to happen more often when I'm trying to launch the application multiple times. It could be a race condition on the download / cache. Maybe it's a problem with download speed dropping below a certain threshold (or 0 for short bursts?). I've not yet have enough time to further investigate and I don't know when I will be able to. Just wanted to give a heads up, just in case it could help. There are some Exceptions in terms of using the cache to be found: java.io.FileNotFoundException: C:\Users\xxxxx.cache\icedtea-web\cache\3\236\slf4j-api.jnlp (Das System kann die angegebene Datei nicht finden) I can also see some logs that I dont' understand. The cache files seem to be deleted? Why does this happen? [ITW-CORE][2020-12-09 14:27:48.756 MEZ][DEBUG][net.adoptopenjdk.icedteaweb.io.FileUtils] Deleting: C:\Users\xxxx.cache\icedtea-web\cache\3\236 |
can you provide the log files? The stack trace is not helpful for us to solve this problem. |
I've launched the application multiple times. Launching it once seems to work. Launching it twice at the same time seems to lead to problems. |
@ulooky if you still need help on this issue, we would need log files from your case. |
Hi @sclassen that's great, thank you. I'm wondering about why the cache is even deleted though? Is there a way to speed up the release? We'd like to use OWS 1.3.x in production starting in Q1/21. |
We do offer different support options. For the free/community version there is only the half year release schedule. |
I will take a second look at the cache deletion over the weekend |
Just one question: |
I'm sorry, I'll only have access to the windows computer in January. I don't think the cache limit is set / that low though. I'll check it next month. My team lead has already requested support options pricing. |
@jastax we are going to take a deeper look into this bug. We'll keep you updated. |
@Jamila891 Thanks!
We have booked a support option now (LVM). I'd like to test whether the fix solves the problems - are you going to release it soon? :) |
(We are using OWS, so the fixed Version would need to be applied there too) |
We will do a release today. It will be available tomorrow and contains the fix for your issue. |
@sclassen That's great, thanks! |
Can you please open a new issue for the cache cleanup if you can still reproduce the behavior with 1.3.2 |
I am getting the following error when I run javaws on my asdm.jnlp file
asdm.zip
asdm.zip
net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file. 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:487)
at net.sourceforge.jnlp.Launcher.launch(Launcher.java:287)
at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:67)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:258)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:62)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:198)
Caused by: java.io.IOException: java.lang.NullPointerException: name can't be null
at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:318)
at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:240)
at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:215)
at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:200)
at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:186)
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:451)
... 6 more
Caused by: java.lang.NullPointerException: name can't be null
at java.io.FilePermission.init(FilePermission.java:209)
at java.io.FilePermission.(FilePermission.java:310)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.FileInputStream.(FileInputStream.java:127)
at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:316)
... 11 more
The text was updated successfully, but these errors were encountered: