Skip to main content

Fatal: Read Error: Could not read or parse the JNLP file

Portal Admin
Published on: 13/09/2014 Discussion Archived

Upon trying to start MOCCA un Ubuntu 14.04 64 bit I get the error above.

Maybe this has to do with the fact, that webstart.buergerkarte.at is not available and is redirected to www.buergerkarte.at

The full stack trace from the java console:

 

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:490)     at net.sourceforge.jnlp.Launcher.launch(Launcher.java:285)     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:246)     at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:58)     at java.security.AccessController.doPrivileged(Native Method)     at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:213) Caused by: net.sourceforge.jnlp.ParseException: Invalid XML document syntax.     at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:117)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:606)     at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1289)     at net.sourceforge.jnlp.JNLPFile.parse(JNLPFile.java:751)     at net.sourceforge.jnlp.JNLPFile. (JNLPFile.java:229)     at net.sourceforge.jnlp.JNLPFile. (JNLPFile.java:211)     at net.sourceforge.jnlp.JNLPFile. (JNLPFile.java:196)     at net.sourceforge.jnlp.JNLPFile. (JNLPFile.java:182)     at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:482)     ... 5 more Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of a html element at line 26: Unknown or invalid entity: ü     at net.sourceforge.nanoxml.XMLElement.unknownEntity(XMLElement.java:1148)     at net.sourceforge.nanoxml.XMLElement.resolveEntity(XMLElement.java:1024)     at net.sourceforge.nanoxml.XMLElement.scanPCData(XMLElement.java:677)     at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:920)     at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:957)     at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:957)     at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:957)     at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:957)     at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:502)     at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:454)     at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:113)     ... 16 more
netx: Read Error: Could not read or parse the JNLP file. (Invalid XML document syntax. (XML Parse Exception during parsing of a html element at line 26: Unknown or invalid entity: ü))
UNIQUEKEY=1410613083420-722920280-file:/home/mat/.cache/icedtea-web/cache/62/http/webstart.buergerkarte.at/mocca/webstart/mocca.jnlp
@ /mocca/webstart/mocca.jnlp
-(DOWNLOADING)
+(DOWNLOADED)
Status: CONNECTED DOWNLOADED STARTED
Downloadinghttp://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp using http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp (encoding : gzip)
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: socket://www.buergerkarte.at:80
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: http://www.buergerkarte.at/
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: socket://webstart.buergerkarte.at:80
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp
@ /mocca/webstart/mocca.jnlp
-(DOWNLOAD)
+(DOWNLOADING)
Status: CONNECTED DOWNLOADING STARTED
@ /mocca/webstart/mocca.jnlp
-(CONNECTING)
+(CONNECTED)
Status: CONNECTED DOWNLOAD STARTED
isCurrent: http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp = false
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: http://www.buergerkarte.at/
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: socket://webstart.buergerkarte.at:80
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp
best url for location=http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp state=CONNECTING DOWNLOAD STARTED is http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp by HEAD
Key : X-Content-Type-Options ,Value : [nosniff]
Key : Server ,Value : [Apache]
Key : Accept-Ranges ,Value : [bytes]
Key : Connection ,Value : [Keep-Alive]
Key : Content-Type ,Value : [text/html; charset=UTF-8]
Key : Keep-Alive ,Value : [timeout=5, max=100]
Key : Last-Modified ,Value : [Fri, 12 Sep 2014 12:24:39 GMT]
Key : Content-Encoding ,Value : [gzip]
Key : Content-Length ,Value : [8303]
Key : Date ,Value : [Sat, 13 Sep 2014 12:55:24 GMT]
Key : Vary ,Value : [Accept-Encoding]
Key : ETag ,Value : ["c00b9-a336-502dd5e78c302"]
Key : null ,Value : [HTTP/1.1 200 OK]
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: socket://www.buergerkarte.at:80
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: http://www.buergerkarte.at/
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: socket://webstart.buergerkarte.at:80
Selected proxies: [DIRECT]
Browser selected proxies: [DIRECT]
Selecting proxy for: http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp
All possible urls for location=http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp state=CONNECTING DOWNLOAD STARTED : [http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp, http://webstart.buergerkarte.at/mocca/webstart/mocca.jnlp]
@ /mocca/webstart/mocca.jnlp
-(CONNECT)
+(CONNECTING)
Status: CONNECTING DOWNLOAD STARTED
@ /mocca/webstart/mocca.jnlp
+(DOWNLOAD)
Status: CONNECT DOWNLOAD STARTED
@ /mocca/webstart/mocca.jnlp
+(CONNECT STARTED)
Status: CONNECT STARTED
Acceptable vendor tag found, contains: E-Government Innovationszentrum (EGIZ)
Acceptable title tag found, contains: MOCCA Webstart
Jars not ready to provide attribute Application-Name
Description: MOCCA Webstart - Buergerkartenumgebung (BKU)
Homepage: http://joinup.ec.europa.eu/site/mocca/
@ /home/mat/.cache/icedtea-web/cache/62/http/webstart.buergerkarte.at/mocca/webstart/mocca.jnlp
+(CONNECTED DOWNLOADED STARTED)
Status: CONNECTED DOWNLOADED STARTED
JNLP file location: /home/mat/.cache/icedtea-web/cache/62/http/webstart.buergerkarte.at/mocca/webstart/mocca.jnlp
Read 2547 entries from Firefox's preferences
Found preferences file: /home/mat/.mozilla/firefox/vkdw1v3z.default/prefs.js
Using firefox's profiles file: /home/mat/.mozilla/firefox/profiles.ini
Starting security dialog thread
WARNING: key deployment.system.cachedir has no value, setting to default value
No User level deployment.properties found.
java.io.FileNotFoundException: /home/mat/.config/icedtea-web/deployment.properties (No such file or directory)     at java.io.FileInputStream.open(Native Method)     at java.io.FileInputStream. (FileInputStream.java:146)     at java.io.FileReader. (FileReader.java:72)     at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:650)     at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:474)     at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:287)     at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:257)     at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.initConfiguration(JNLPRuntime.java:394)     at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder. (JNLPRuntime.java:389)     at net.sourceforge.jnlp.runtime.JNLPRuntime.getConfiguration(JNLPRuntime.java:424)     at net.sourceforge.jnlp.config.DirectoryValidator. (DirectoryValidator.java:224)     at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15Structure(DeploymentConfiguration.java:824)     at net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15StructureCatched(DeploymentConfiguration.java:728)     at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:142)
cache: /home/mat/.cache/icedtea-web file exists:true
config: /home/mat/.config/icedtea-web file exists: true
System is already following XDG .cache and .config specifications

 

Here is the content of my cached mocca.jnlp:

 

<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://webstart.buergerkarte.at/mocca/webstart/" context="http://webstart.buergerkarte.at/mocca/" href="mocca.jnlp">

  <information>
    <title>MOCCA Webstart</title>
    <vendor>E-Government Innovationszentrum (EGIZ)</vendor>
    <homepage href="http://joinup.ec.europa.eu/site/mocca/"/>
    <description>MOCCA Webstart - Bürgerkartenumgebung (BKU)</description>
    <description kind="short">MOCCA Webstart</description>
    <icon kind="shortcut" href="img/chip16.png" width="16" height="16"/>
    <icon kind="shortcut" href="img/chip24.png" width="24" height="24"/>
    <icon kind="shortcut" href="img/chip32.png" width="32" height="32"/>
    <icon kind="shortcut" href="img/chip48.png" width="48" height="48"/>
    <icon kind="shortcut" href="img/chip128.png" width="128" height="128"/>
    <icon kind="default" href="img/chip16.png" width="16" height="16"/>
    <icon kind="default" href="img/chip24.png" width="24" height="24"/>
    <icon kind="default" href="img/chip32.png" width="32" height="32"/>
    <icon kind="default" href="img/chip48.png" width="48" height="48"/>
    <icon kind="default" href="img/chip128.png" width="128" height="128"/>
    <icon kind="splash" href="img/splash.png"/>
    <shortcut online="true">
      <desktop/>
      <menu submenu="e-Government"/>
    </shortcut>

    <offline-allowed/>

  </information>
 
  <security>
    <all-permissions/>
  </security>

  <update check="timeout" policy="prompt-update"/>

  <resources os="Mac OS X">
    <java version="1.7+" />
    <java version="1.6" java-vm-args="-d32"/>
    
<jar href="BKUWebStart-1.3.14.jar" main="true"/>
<jar href="BKUCertificates-1.10.jar"/>
<jar href="iaik_jce_full_signed-5.01.jar"/>
<jar href="jetty-6.1.19.jar"/>
<jar href="jetty-util-6.1.19.jar"/>
<jar href="servlet-api-2.5-20081211.jar"/>
<jar href="slf4j-api-1.6.4-s.jar"/>
<jar href="slf4j-log4j12-1.6.4.jar"/>
<jar href="log4j-1.2.17.jar"/>

  </resources>

  <resources>
    <java version="1.6+"/>
    
<jar href="BKUWebStart-1.3.14.jar" main="true"/>
<jar href="BKUCertificates-1.10.jar"/>
<jar href="iaik_jce_full_signed-5.01.jar"/>
<jar href="jetty-6.1.19.jar"/>
<jar href="jetty-util-6.1.19.jar"/>
<jar href="servlet-api-2.5-20081211.jar"/>
<jar href="slf4j-api-1.6.4-s.jar"/>
<jar href="slf4j-log4j12-1.6.4.jar"/>
<jar href="log4j-1.2.17.jar"/>

  </resources>

  <application-desc main-class="at.gv.egiz.bku.webstart.Launcher"/>
</jnlp>
 

Component

Code

Category

bug
Login or create an account to comment.