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

HTTP errors are often interpreted to the user as a file format error - and FileNotFound errors are not propagated from Web or Local file import

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.11.3.2, 2.11.3.3, 2.11.4.0
    • Fix Version/s: 2.11.4.0, 2.11.4.2
    • Component/s: Command Line Interface, gui
    • Labels:
      None

      Description

      This happens particularly when opening a file from command line.
      FileParse.parse(...) turns all exceptions, including HTTP fetching errors, into an IOException, which is then interpreted by IdentifyFile.identify(String, DataSourceType) to mean and throw a FileFormatException.
      This results in HTTP errors that throw (e.g.) a FileNotFoundException to generate an error message saying the URL format isn't recognised, when in fact the URL was incorrect or the server gave an error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              soares Ben Soares
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: