Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:Fall 6, Fall 7
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)
I observed that the issue occurred when the first InterProScan run was performed using the "ProtAnnot -> Run InterProScan" option, and the second run was done via the "InterProScan tab -> Run InterProScan." However, I did not encounter any issues when both the first and second InterProScan runs were performed using the "InterProScan tab -> Run InterProScan" option.
Attaching the log files:
log.txt
Error_Log (2).txt
Instead of receiving the error "java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0," mentioned in the ticket. I got the error "Server returned HTTP response code: 400 for URL: http://www.ebi.ac.uk/Tools/services/rest/iprscan5/run."