Skip to content
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

net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file #892

Open
MatFlB opened this issue Jan 13, 2023 · 7 comments

Comments

@MatFlB
Copy link

MatFlB commented Jan 13, 2023

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:489)
at net.sourceforge.jnlp.Launcher.launch(Launcher.java:289)
at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:67)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:270)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:63)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:210)
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:453)
... 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
netx: Read Error: Could not read or parse the JNLP file. (java.lang.NullPointerException: name can't be null (name can't be null))
Disconnecting sun.net.www.protocol.http.HttpURLConnection:http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at net.sourceforge.jnlp.cache.ResourceDownloader.uncompressGzip(ResourceDownloader.java:488)
at net.sourceforge.jnlp.cache.ResourceDownloader.downloadGZipFile(ResourceDownloader.java:405)
at net.sourceforge.jnlp.cache.ResourceDownloader.downloadResource(ResourceDownloader.java:362)
at net.sourceforge.jnlp.cache.ResourceDownloader.run(ResourceDownloader.java:118)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Extracting gzip: http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 to http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
isCurrent:isCached false
Downloading file: http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 into: C:\Users\adresc.cache\icedtea-web\cache\7\http\192.168.99.5\8089\open\webstart\exploit.jnlp_jsessionid_5F0293347AA82DE14C1C852961A31717
Downloading http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 using http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 (encoding : gzip)
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
done http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
Connecting http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
Disconnecting sun.net.www.protocol.http.HttpURLConnection:http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
isCached: remote:-1 cached:0
isCurrent: http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 = false
isCurrent:lastModified cache:1673616198000 actual:1673616346000
isCurrent:isCached true
isCached: remote:-1 cached:0
done http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
Connecting http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
best url for location=http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 state=PRECONNECT CONNECTING PREDOWNLOAD PROCESSING is http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 by HEAD
Disconnecting sun.net.www.protocol.http.HttpURLConnection:http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
Key : Content-Type ,Value : [application/x-java-jnlp-file]
Key : Date ,Value : [Fri, 13 Jan 2023 13:25:51 GMT]
Key : Pragma ,Value : [no-store, no-cache]
Key : Expires ,Value : [Thu, 01 Jan 1970 00:00:00 GMT]
Key : Last-Modified ,Value : [Fri, 13 Jan 2023 13:25:46 GMT]
Key : Vary ,Value : [Accept-Encoding]
Key : Content-Encoding ,Value : [gzip]
Key : Server ,Value : [Apache-Coyote/1.1]
Key : null ,Value : [HTTP/1.1 200 OK]
Key : Transfer-Encoding ,Value : [chunked]
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: socket://192.168.99.5:8089
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
done http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
Connecting http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717
All possible urls for location=http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 state=PRECONNECT CONNECTING PREDOWNLOAD PROCESSING : [http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717, http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717]
Finding best URL for: http://192.168.99.5:8089/open/webstart/exploit.jnlp;jsessionid=5F0293347AA82DE14C1C852961A31717 : DownloadOptions[use pack: false; use version: false]
good - your JRE - 1.8.0_265 - match requested JRE - 1.4+
Acceptable vendor tag found, contains: BODET Software
Acceptable title tag found, contains: Bodet
Jars not ready to provide attribute Application-Name
Description: null
Homepage: null
line: 47
line: 46
line: 45
line: 44 2=2
line: 43 1=1
line: 42 proxy.password=
line: 41 proxy.user=
line: 40 proxy.port=
line: 39 proxy.host=
line: 38 https.keystore=
line: 37 population=$$population
line: 36 token=YWRyZXNjOjE2NzM2MTY2NDY4Mzg6ODNhMmUzYTg3Yjk4MTFhYzU1OWZkNTdiZjJkMjgxMzI=
line: 35 connexion.timeout=0
line: 34 spring=$$spring
line: 33 jvm.provided.forced=$$jvm.provided.forced
line: 32 jvm.source=$$jvm.source
line: 31 jvm.min=$$jvm.min
line: 30 jvm.args=$$jvm.args
line: 29 log.pop=false
line: 28 log.lvl=1
line: 27 clean.before=2013-12-31 12:34:56
line: 26 dest.paths=
line: 25 bin.name=TwinyExp.exe
line: 24 source.url=http://192.168.99.5:8089/open/portail/datas/
line: 23 server.url=http://192.168.99.5:8089/open
line: 22 mode=delphi
line: 21
line: 20
line: 19
line: 18
line: 17
line: 16
line: 15
line: 14
line: 13
line: 12
line: 11
line: 10
line: 9
line: 8
line: 7
line: 6 BODET Software
line: 5 <title>Bodet</title>
line: 4
line: 3
line: 2

Using MalformedXMLParser
JNLP file location: C:\Users\adresc\Downloads\exploit (16).jnlp
Proceeding with jnlp
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
java.io.FileNotFoundException: C:\Users\adresc\AppData\Roaming\Mozilla\Firefox\profiles.ini
at net.sourceforge.jnlp.browser.FirefoxPreferencesFinder.find(FirefoxPreferencesFinder.java:84)
at net.sourceforge.jnlp.browser.BrowserAwareProxySelector.parseBrowserPreferences(BrowserAwareProxySelector.java:151)
at net.sourceforge.jnlp.browser.BrowserAwareProxySelector.initFromBrowserConfig(BrowserAwareProxySelector.java:114)
at net.sourceforge.jnlp.browser.BrowserAwareProxySelector.initialize(BrowserAwareProxySelector.java:101)
at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:292)
at net.sourceforge.jnlp.runtime.Boot.init(Boot.java:349)
at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:58)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:270)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:63)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:210)
Starting security dialog thread
Forcing of offline set to: false
WARNING: key deployment.system.cachedir has no value, setting to default value
java.io.FileNotFoundException: C:\Users\adresc.config\icedtea-web\deployment.properties (El sistema no puede encontrar el archivo especificado)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1068)
at net.sourceforge.jnlp.config.DeploymentConfiguration.loadComments(DeploymentConfiguration.java:928)
at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:385)
at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:347)
at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:325)
at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.initConfiguration(JNLPRuntime.java:457)
at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.(JNLPRuntime.java:452)
at net.sourceforge.jnlp.runtime.JNLPRuntime.getConfiguration(JNLPRuntime.java:487)
at net.sourceforge.jnlp.config.DirectoryValidator.(DirectoryValidator.java:226)
at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15Structure(DeploymentConfiguration.java:886)
at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15StructureCatched(DeploymentConfiguration.java:786)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:121)
No User level deployment.properties found.
java.io.FileNotFoundException: C:\Users\adresc.config\icedtea-web\deployment.properties (El sistema no puede encontrar el archivo especificado)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1068)
at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:711)
at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:533)
at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:345)
at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:325)
at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.initConfiguration(JNLPRuntime.java:457)
at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.(JNLPRuntime.java:452)
at net.sourceforge.jnlp.runtime.JNLPRuntime.getConfiguration(JNLPRuntime.java:487)
at net.sourceforge.jnlp.config.DirectoryValidator.(DirectoryValidator.java:226)
at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15Structure(DeploymentConfiguration.java:886)
at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15StructureCatched(DeploymentConfiguration.java:786)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:121)
Ico provider registered correctly.
cache: C:\Users\adresc.cache\icedtea-web file exists:true
config: C:\Users\adresc.config\icedtea-web file exists: true
System is already following XDG .cache and .config specifications

@lherschi
Copy link
Contributor

No one will be able to help you like this. How are you supposed to get a jnlp file that is only available in your private network? Right in the first line is the following sentence. "You can try to download this file manually and send it as bug report to IcedTea-Web team."

@lherschi
Copy link
Contributor

java.io.EOFException: Unexpected end of ZLIB input stream

f45539b

@RMCampos
Copy link

Any updates on this? I have Debian Linux here with the exact same error.

@RMCampos
Copy link

@lherschi This commit got merged in 2022. I just downloaded the latest version (1.8.8) binary for linux and I'm still getting the same error. Maybe this is a different issue?

@RMCampos
Copy link

Wait. OMG. I realized the version 1.8.8 is from 2021 actually 👀 how can I run, or build the latest version?

@lherschi
Copy link
Contributor

#878

@Matflo-Ekide
Copy link

Solved it by installing an erlier version of java, 7.65 if I recall correctly... Hope this works for you guys...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants