← Back to team overview

openjdk team mailing list archive

[Bug 781819] Re: net.sourceforge.nanoxml.XMLParseException :: net.sourceforge.nanoxml.XMLParseException

 

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

** Changed in: openjdk-6 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/781819

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

Status in “openjdk-6” package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/781819/+subscriptions