<html>
    <head>
      <base href="http://icedtea.classpath.org/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - XML Parse error?"
   href="http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1583">1583</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>XML Parse error?
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>IcedTea-Web
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P3
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>NetX (javaws)
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>omajid&#64;redhat.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>duanev&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>unassigned&#64;icedtea.classpath.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 &quot;1.7.0_40&quot;
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
<a href="https://dsview.....:443/dsview/common/launchSerialJnlp.do?launchFileId=%2Ftmp%2FArg2062384482.tmp">https://dsview.....:443/dsview/common/launchSerialJnlp.do?launchFileId=%2Ftmp%2FArg2062384482.tmp</a>

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.&lt;init&gt;(JNLPFile.java:206)
    at net.sourceforge.jnlp.JNLPFile.&lt;init&gt;(JNLPFile.java:190)
    at net.sourceforge.jnlp.JNLPFile.&lt;init&gt;(JNLPFile.java:175)
    at net.sourceforge.jnlp.JNLPFile.&lt;init&gt;(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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>