net.sourceforge.nanoxml.XMLParseException :: net.sourceforge.nanoxml.XMLParseException

Bug #781819 reported by asett
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

 affects ubuntu

I am running Ubuntu 11.04 and Java JDK version 1.6 update 25 on my box.
I tried running a .jnlp file from my Ubuntu desktop by double clicking it
and I got the error shown below.
However when I go to the command-line and run javaws <jnlp_file_name> it
launches without a problem. This makes me think the issue is not with Java.
I appreciate your help in resolving this issue.

Regards,
Amit

net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or
parse the JNLP file.
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:491)
 at net.sourceforge.jnlp.Launcher.launch(Launcher.java:283)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:199)
 at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:51)
at java.security.AccessController.doPrivileged(Native Method)
 at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:165)
Caused by: net.sourceforge.jnlp.ParseException: Invalid XML document syntax.
at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1251)
 at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:177)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:162)
 at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:148)
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:477)
 ... 5 more
Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception
during parsing of a jnlp element at line 83: Unexpected end of data reached
 at
net.sourceforge.nanoxml.XMLElement.unexpectedEndOfData(XMLElement.java:1094)
at net.sourceforge.nanoxml.XMLElement.readChar(XMLElement.java:877)
 at net.sourceforge.nanoxml.XMLElement.resolveEntity(XMLElement.java:1013)
at net.sourceforge.nanoxml.XMLElement.scanString(XMLElement.java:658)
 at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:915)
at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:512)
 at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:464)
at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1247)
 ... 9 more
Caused by:
net.sourceforge.jnlp.ParseException: Invalid XML document syntax.
at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1251)
 at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:177)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:162)
 at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:148)
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:477)
 at net.sourceforge.jnlp.Launcher.launch(Launcher.java:283)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:199)
 at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:51)
at java.security.AccessController.doPrivileged(Native Method)
 at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:165)
Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception
during parsing of a jnlp element at line 83: Unexpected end of data reached
 at
net.sourceforge.nanoxml.XMLElement.unexpectedEndOfData(XMLElement.java:1094)
at net.sourceforge.nanoxml.XMLElement.readChar(XMLElement.java:877)
 at net.sourceforge.nanoxml.XMLElement.resolveEntity(XMLElement.java:1013)
at net.sourceforge.nanoxml.XMLElement.scanString(XMLElement.java:658)
 at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:915)
at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:512)
 at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:464)
at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1247)
 ... 9 more
Caused by:
net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during
parsing of a jnlp element at line 83: Unexpected end of data reached
 at
net.sourceforge.nanoxml.XMLElement.unexpectedEndOfData(XMLElement.java:1094)
at net.sourceforge.nanoxml.XMLElement.readChar(XMLElement.java:877)
 at net.sourceforge.nanoxml.XMLElement.resolveEntity(XMLElement.java:1013)
at net.sourceforge.nanoxml.XMLElement.scanString(XMLElement.java:658)
 at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:915)
at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:512)
 at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:464)
at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1247)
 at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:177)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:162)
 at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:148)
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:477)
 at net.sourceforge.jnlp.Launcher.launch(Launcher.java:283)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:199)
 at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:51)
at java.security.AccessController.doPrivileged(Native Method)
 at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:165)

IKT (ikt)
affects: ubuntu → openjdk-6 (Ubuntu)
Revision history for this message
Robert Keidel (rkeidel) wrote :

I have encountered the exact same error.
Ubuntu 11.04
Java JDK version 1.6 update 25
Is there any update on this issue?

Thanks,

Robert

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.