[Bug 1733] New: XML parsing exception when running javaws

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Apr 9 11:28:55 UTC 2014


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1733

            Bug ID: 1733
           Summary: XML parsing exception when running javaws
           Product: IcedTea-Web
           Version: unspecified
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: NetX (javaws)
          Assignee: omajid at redhat.com
          Reporter: mbriskar at redhat.com
                CC: unassigned at icedtea.classpath.org

Created attachment 1064
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1064&action=edit
application

When worked on a Weld bug, I came accross an XML-parsing exception when using
IcedTea-Web (this exception didn't occur for the default javaws, before I have
installed the icedtea-web). 
icedtea-web version: icedtea-web 1.6pre+rf664addf7da2
java version: OpenJDK 1.7.0_51

How to reproduce:
unzip weld-webstart-bug.zip
cd weld-webstart-bug
mvn clean install
cp weld-webstart-war/target/weld-webstart-war-0.0.1-SNAPSHOT.war
$JBOSS_HOME/standalone/deployments/
javaws
http://localhost:8080/weld-webstart-war-0.0.1-SNAPSHOT/webstart/weld-webstart.jnlp

Exception stack trace:

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:459)     ... 5 more Caused
by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during
parsing of a jnlp element at line 1: Expected:     at
net.sourceforge.nanoxml.XMLElement.expectedInput(XMLElement.java:1116)     at
net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:962)     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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140409/e88d58a8/attachment-0001.html>


More information about the distro-pkg-dev mailing list