[Bug 1583] New: XML Parse error?

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Oct 16 09:29:37 PDT 2013


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

            Bug ID: 1583
           Summary: XML Parse error?
    Classification: Unclassified
           Product: IcedTea-Web
           Version: unspecified
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: NetX (javaws)
          Assignee: omajid at redhat.com
          Reporter: duanev at gmail.com
                CC: unassigned at icedtea.classpath.org

Avocent DSView 4 (a comercial app) has an applet that causes the following. 
Most likely is that the JNLP is not downloading at all so (1) can the error
message be made more accurate [zero length JNLP - download failed: (and here is
why it failed)], and (2) what might cause the download to fail?

stderr:
java version "1.7.0_40"
OpenJDK Runtime Environment (IcedTea 2.4.2) (ArchLinux build
7.u40_2.4.2-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.0-b56, mixed mode)
VideoSessionManagerApplet.init Initializing VideSessionManager applet.
VideoSessionManagerApplet.init - params:
ifaceviewer3,tdid,sessioncookie,name,url,viewerType,sessionType,httpsCertificate,sid,fid,cmdName,cmdArgs,cmdConsole,subToolType,applianceType
VideoSessionManagerApplet.init - assigning parameter:
ifaceviewer3=com.avocent.dsview.client.viewer.InterfaceViewer3Impl
...
VideoSessionManagerApplet.init - assigning parameter: viewerType=serial
VideoSessionManagerApplet.init - assigning parameter: sessionType=NORMAL
VideoSessionManagerApplet.init - assigning parameter: subToolType=
VideoSessionManagerApplet.init - assigning parameter: applianceType=ACS6000
Wrote launch arguments to file /tmp/Arg2062384482.tmp
VideoSessionManagerApplet.isAvocentViewer viewerType=serial
VideoSessionManagerApplet.isAvocentViewer:true
VideoSessionManagerApplet.getParamStringForViewer 
VideoSessionManagerApplet.isViewerSessionRunningUsingTcp session id=null
VideoSessionManagerApplet.isViewerSessionRunningUsingTcp file id=null
VideoSessionManagerApplet.isViewerSessionRunningUsingTcp session id or file id
cannot be found
VideoSessionManagerApplet.launchViewer
VideoSessionManagerApplet.launchViewer unix: Attempting Launch Using
/usr/lib/jvm/java-7-openjdk/jre/bin/javaws
https://dsview.....:443/dsview/common/launchSerialJnlp.do?launchFileId=%2Ftmp%2FArg2062384482.tmp

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:472)
    at net.sourceforge.jnlp.Launcher.launch(Launcher.java:278)
    at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:211)
    at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:53)
    at java.security.AccessController.doPrivileged(Native Method)
    at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:177)
Caused by: net.sourceforge.jnlp.ParseException: Invalid XML document syntax.
    at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1312)
    at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:206)
    at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:190)
    at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:175)
    at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:161)
    at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:452)
    ... 5 more
Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception
during parsing of the XML definition at line 1: 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.scanWhitespace(XMLElement.java:596)
    at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:500)
    at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:464)
    at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1308)
    ... 10 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/20131016/ca2527ab/attachment.html 


More information about the distro-pkg-dev mailing list