Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3949

Fix error when re-running InterProScan job through ProtAnnot

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Situation: If a user attempts to re-run a InterProScan job through ProtAnnot an error is thrown in the logs (see below).

      Task: Investigate and fix the issue.

      Steps to reproduce: Follow the IGB ProtAnnot SmokeTesting instructions. The error should appear after the step: Run the InterProScan again by selecting Run InterProScan under the InterProScan tab.

      Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
      	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
      	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
      	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
      	at java.base/java.util.Objects.checkIndex(Objects.java:385)
      	at java.base/java.util.ArrayList.get(ArrayList.java:427)
      	at org.lorainelab.igb.protannot.model.InterProScanTableModel.getValueAt(InterProScanTableModel.java:90)
      	at java.desktop/javax.swing.JTable.getValueAt(JTable.java:2769)
      

        Attachments

        1. CopyToClipboard.txt
          50 kB
        2. Error_Log (2).txt
          10 kB
        3. log_.txt
          10 kB
        4. log.txt
          8 kB
        5. log.txt
          8 kB
        6. target.zip
          670 kB
        7. ViewLogs.txt
          26 kB

          Issue Links

            Activity

            Hide
            ann.loraine Ann Loraine added a comment -

            PR is merged.

            Prior to testing, we need to increment the ProtAnnot version to 10.0.2.

            This is required so that anyone who has ProtAnnot version 10.0.1 (or lower) installed will learn via the IGB interface or via the App Store interface that a new version of the software is available.

            Show
            ann.loraine Ann Loraine added a comment - PR is merged. Prior to testing, we need to increment the ProtAnnot version to 10.0.2. This is required so that anyone who has ProtAnnot version 10.0.1 (or lower) installed will learn via the IGB interface or via the App Store interface that a new version of the software is available.
            Hide
            ann.loraine Ann Loraine added a comment -

            Update:

            • The new bug-fixed version of ProtAnnot had the same version number as before (10.0.1), which caused the automatic bitbucket pipeline to run and over-write the old, non-fixed ProtAnnot jar file with version, so I re-ran the pipeline with commit f3f5934 as the target
            • Meanwhile, I edited the pom.xml file using the bitbucket edit interface and changed the version to 10.0.2
            • Saving the pom.xml edit triggered the pipeline and caused it to build a new jar with version 10.0.2
            • Downloads section of the repository now has restored 10.0.1 jar file and the all-new 10.0.2 jar file

            Ready for testing.

            Show
            ann.loraine Ann Loraine added a comment - Update: The new bug-fixed version of ProtAnnot had the same version number as before (10.0.1), which caused the automatic bitbucket pipeline to run and over-write the old, non-fixed ProtAnnot jar file with version, so I re-ran the pipeline with commit f3f5934 as the target Meanwhile, I edited the pom.xml file using the bitbucket edit interface and changed the version to 10.0.2 Saving the pom.xml edit triggered the pipeline and caused it to build a new jar with version 10.0.2 Downloads section of the repository now has restored 10.0.1 jar file and the all-new 10.0.2 jar file Ready for testing.
            Hide
            ann.loraine Ann Loraine added a comment -

            To test, using the ProtAnnot repository:

            • Launch IGB
            • Just to be on the safe side, de-activate all existing App repositories (using Preferences window, probably)
            • Use the IGB interface (also the Preferences window, probably) to add this location as a new "app repository" : https://bitbucket.org/lorainelab/protannot/downloads/
            • Check that ProtAnnot appears as an option to install. Check that it is shown as version 10.0.2
            • Install it.
            • Repeat "steps to reproduce" - see Description section above
            • Confirm that the reported bug is no longer an issue.
            Show
            ann.loraine Ann Loraine added a comment - To test, using the ProtAnnot repository: Launch IGB Just to be on the safe side, de-activate all existing App repositories (using Preferences window, probably) Use the IGB interface (also the Preferences window, probably) to add this location as a new "app repository" : https://bitbucket.org/lorainelab/protannot/downloads/ Check that ProtAnnot appears as an option to install. Check that it is shown as version 10.0.2 Install it. Repeat "steps to reproduce" - see Description section above Confirm that the reported bug is no longer an issue.
            Hide
            ann.loraine Ann Loraine added a comment -

            Request for Paige Kulzer:

            • Please take a look - is the bug fixed ?
            Show
            ann.loraine Ann Loraine added a comment - Request for Paige Kulzer : Please take a look - is the bug fixed ?
            Hide
            pkulzer Paige Kulzer added a comment -

            This new version of ProtAnnot installs successfully and shows up correctly as version 10.0.2. I've confirmed that the reported bug is no longer an issue, ProtAnnot can be re-run multiple times without throwing an error in the Log.

            For next steps, I will create a new ticket for releasing this new version of ProtAnnot to the IGB App Store. Marking this issue as complete!

            Show
            pkulzer Paige Kulzer added a comment - This new version of ProtAnnot installs successfully and shows up correctly as version 10.0.2. I've confirmed that the reported bug is no longer an issue, ProtAnnot can be re-run multiple times without throwing an error in the Log. For next steps, I will create a new ticket for releasing this new version of ProtAnnot to the IGB App Store. Marking this issue as complete!

              People

              • Assignee:
                pkulzer Paige Kulzer
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: