Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-1924

JNLP parsing error at line 23 for files downloaded from www.jalview.services/launchApp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0b2
    • Component/s: Dev and Dep
    • Labels:
      None

      Description

      On some java installations, javaws fails to parse the JNLP files produced by the launchApp servlet because an XML comment has been inserted before the <?xml...?> config header line.

      Seen on OSX 10.10:
      java version "1.8.0_45"
      Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
      Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

      Exception reported is:
      JNLParseException[ Could not parse launch file. Error at line 23.]
      at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
      at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)..

        Attachments

          Activity

            People

            Assignee:
            jprocter James Procter
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: