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

Groovy Console 'File Open'/Jalview 'File Save' dialog doesn't work on Java 10 (Vaqua4 failback)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10.4, 2.10.4b1, 2.11.0
    • Fix Version/s: 2.10.5, 2.11.1
    • Component/s: gui, java11, jvdesktop
    • Labels:
      None
    • Environment:
      Jalview Version: 2.10.4
      Jalview Installation: webstart git-commit:c0a005c [releases/Release_2_10_4_Branch]
      Build Date: 10 May 2018
      Java version: 10.0.1
      x86_64 Mac OS X 10.10.5
      Java version: 1000001

      Description

      Workaround: Loading: Drag and drop a script onto the groovy console to load it.
      Workaround: Saving: none currently (except open groovy console and execute code for saving projects directly


      Open groovy console and try to open a file via the 'open file' icon and the file chooser. The filechooser displayed seems to be a 'save as' rather than an 'open file' dialog. Selecting a file and hitting open raises the following exception:

      java.io.FileNotFoundException: /Users/jprocter/git/jalview/examples/groovy/Untitled (No such file or directory)
      at java.base/java.io.FileInputStream.open0(Native Method)
      at java.base/java.io.FileInputStream.open(Unknown Source)
      at java.base/java.io.FileInputStream.<init>(Unknown Source)
      at groovy.util.CharsetToolkit.<init>(CharsetToolkit.java:71)
      at org.codehaus.groovy.runtime.ResourceGroovyMethods.newReader(ResourceGroovyMethods.java:1572)

        Attachments

          Issue Links

            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: