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

Preferences and Feature settings panel panel doesn't open

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8.0b1
    • Component/s: DAS, gui
    • Labels:
      None
    • Environment:
      Jalview Desktop 2.8
      Build Date: 12 November 2012
      Java version: 1.6.0_65
      x86_64 Mac OS X 10.6.8

      Description

      Problem reported by Michael Wilson via email. Original symptom - no DAS data sources available.

      DAS registry URL appears to be corrupted - possibly due to the original URL being incorrectly upgraded in the 2.7 -> 2.8 jump from the biojava das client to JDAS.

      When asked to open the preferences and fix the problem, the following errors were raised on the console, and the preferences didn't open:

      Exception in thread "AWT-EventQueue-0"
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
          at java.lang.String.substring(String.java:1937)
          at
      jalview.ws.dbsources.das.datamodel.DasSourceRegistry.addLocalDasSources(DasS
      ourceRegistry.java:196)
          at
      jalview.ws.dbsources.das.datamodel.DasSourceRegistry.appendLocalSources(DasS
      ourceRegistry.java:206)
          at
      jalview.ws.dbsources.das.datamodel.DasSourceRegistry.getSources(DasSourceReg
      istry.java:168)
          at jalview.gui.DasSourceBrowser.<init>(DasSourceBrowser.java:103)
          at jalview.gui.DasSourceBrowser.<init>(DasSourceBrowser.java:115)
          at jalview.gui.Preferences.<init>(Preferences.java:110)
          at jalview.gui.Desktop.preferences_actionPerformed(Desktop.java:1356)
          at jalview.jbgui.GDesktop$7.actionPerformed(GDesktop.java:198)
          at
      javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
          at

        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: