AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

unable to launch jnlp File - Fatal: Read Error: Could not read or parse the JNLP file

Open
#875 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
268
Forks
96
PR merge metrics
No merged PRs in 30d

Description

we are unable to launch a jnlp File from here https://keylink2.ubs.com/app/KL1/P0_INT/start_aciiz.html

```
Removed sun.net.www.protocol.https.DelegateHttpsURLConnection:https://keylink2.ubs.com/ErrorRedirector
Disconnecting sun.net.www.protocol.https.DelegateHttpsURLConnection:https://keylink2.ubs.com/ErrorRedirector
isCurrent:lastModified cache:0 actual:0
isCurrent:isCached true
isCached: remote:312 cached:312
Downloading file: https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp into: C:\Users\xxx\.cache\icedtea-web\cache\46\https\keylink.ubs.com\app\KL1\P0_INT\accesscard.jnlp
Downloading https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp using https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp (encoding : null)
Selected proxies: [HTTP @ /x.x.x.x:80, HTTP @ /x.x.x.x:80, DIRECT]
Selecting proxy for: https://keylink2.ubs.com/ErrorRedirector
Selected proxies: [HTTP @ /x.x.x.x:80, HTTP @ /x.x.x.x:80, DIRECT]
Selecting proxy for: https://keylink2.ubs.com/error/E9009.html
Selected proxies: [HTTP @ /x.x.x.x:80, HTTP @ /x.x.x.x:80, DIRECT]
Selecting proxy for: https://keylink2.ubs.com:443/app/KL1/P0_INT/accesscard.jnlp?NavLB_key=1654849129
Selected proxies: [HTTP @ /x.x.x.x:80, HTTP @ /x.x.x.x:80, DIRECT]
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:280)     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:220) Caused by: java.io.IOException: java.lang.NullPointerException: name can't be null     at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:319)     at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:241)     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:317)     ... 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))
Selecting proxy for: https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp
done https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp
Adding sun.net.www.protocol.https.DelegateHttpsURLConnection:https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp
Connecting https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp
net.sourceforge.jnlp.cache.ResourceDownloader$RedirectionException: The resource https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp is being redirected (302) to http://www.ubs.com/__key/servicefailure. This is disabled by default. If you wont to allow it, run javaws with -allowredirect parameter.     at net.sourceforge.jnlp.cache.ResourceDownloader.findBestUrl(ResourceDownloader.java:317)     at net.sourceforge.jnlp.cache.ResourceDownloader.initializeOnlineResource(ResourceDownloader.java:132)     at net.sourceforge.jnlp.cache.ResourceDownloader.initializeResource(ResourceDownloader.java:124)     at net.sourceforge.jnlp.cache.ResourceDownloader.run(ResourceDownloader.java:113)     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:750)
Resource location=https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp state=PRECONNECT CONNECTING PREDOWNLOAD PROCESSING got redirect 302 code for HEAD request for https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp adding http://www.ubs.com/__key/servicefailure to list of possible urls
Removed sun.net.www.protocol.https.DelegateHttpsURLConnection:https://keylink2.ubs.com/ErrorRedirector
Disconnecting sun.net.www.protocol.https.DelegateHttpsURLConnection:https://keylink2.ubs.com/ErrorRedirector
Key : Location ,Value : [http://www.ubs.com/__key/servicefailure]
Key : Content-Type ,Value : [text/html; charset=utf-8]
Key : Date ,Value : [Fri, 10 Jun 2022 08:18:49 GMT]
Key : P3P ,Value : [CP="OTI DSP CURa OUR LEG COM NAV INT"]
Key : Content-Length ,Value : [312]
Key : Pragma ,Value : [no-cache]
Key : Connection ,Value : [close]
Key : Server ,Value : [Apache]
Key : Cache-Control ,Value : [no-cache]
Key : Strict-Transport-Security ,Value : [max-age=31536000]
Key : null ,Value : [HTTP/1.1 302 Found]
Selected proxies: [HTTP @ /x.x.x.x:80, HTTP @ /x.x.x.x:80, DIRECT]
Selecting proxy for: https://keylink2.ubs.com/ErrorRedirector
Selected proxies: [HTTP @ /x.x.x.x:80, HTTP @ /x.x.x.x:80, DIRECT]
Selecting proxy for: https://keylink2.ubs.com/error/E9009.html
Selected proxies: [HTTP @ /x.x.x.x:80, HTTP @ /x.x.x.x:80, DIRECT]
Selecting proxy for: https://keylink2.ubs.com:443/app/KL1/P0_INT/accesscard.jnlp?NavLB_key=1654849128
Selected proxies: [HTTP @ /x.x.x.x:80, HTTP @ /x.x.x.x:80, DIRECT]
Selecting proxy for: https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp
done https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp
Adding sun.net.www.protocol.https.DelegateHttpsURLConnection:https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp
Connecting https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp
All possible urls for location=https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp state=PRECONNECT CONNECTING PREDOWNLOAD PROCESSING : [https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp, https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp]
Finding best URL for: https://keylink.ubs.com/app/KL1/P0_INT/accesscard.jnlp : DownloadOptions[use pack: false; use version: false]
good - your JRE - 1.8.0_322 - match requested JRE - 1.6+
Acceptable vendor tag found, contains: UBS
Acceptable title tag found, contains: KeyLink International
Jars not ready to provide attribute Application-Name
Description: null
Homepage: null
line: 3

line: 2             KeyLink International        UBS                                                                                                                                                                                                                                                                                                                                                                        

Using MalformedXMLParser
JNLP file location: C:\Temp\accesscard.jnlp
Proceeding with jnlp
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
java.io.FileNotFoundException: C:\Users\xxx\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:293)     at net.sourceforge.jnlp.runtime.Boot.init(Boot.java:359)     at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:58)     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:280)     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:220)
Using the Rhino based PAC evaluator for url http://pac.zscloud.net/xxx/xxx-server.pac
Starting security dialog thread
Forcing of offline set to: false
WARNING: key deployment.system.cachedir has no value, setting to default value
Loading User level properties from: file:/C:/Users/xxx/.config/icedtea-web/deployment.properties
Ico provider registered correctly.
cache: C:\Users\xxx\.cache\icedtea-web file exists:true
config: C:\Users\xxx\.config\icedtea-web file exists: true
System is already following XDG .cache and .config specifications
Using JRE version 1.8.0_322-b06 OpenJDK 64-Bit Server VM (Temurin)
icedtea-web 1.8.8 (b2)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.