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

Using the Advanced Search 9 times in a row causes search to fail and generates an exception

    Details

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

      Description

      *Found by Ivory in 8.3.0 (also happens on 8.4.0):

      This bug was found when performing residue searches. If you consecutively use the advanced search feature it will fail on the 9th search and generate an exception (see below for exception, Ivory's comments, and a screenshot of the problem.)

        Attachments

          Activity

          Hide
          mason Mason Meyer (Inactive) added a comment -

          Testing verifies that using the Advanced Search 9 times in a row no longer causes search to fail and no longer generates an exception. A user can now search as many times as they want and the 8 colors continue to cycle.

          Since this story is resolved it will now be closed.

          Show
          mason Mason Meyer (Inactive) added a comment - Testing verifies that using the Advanced Search 9 times in a row no longer causes search to fail and no longer generates an exception. A user can now search as many times as they want and the 8 colors continue to cycle. Since this story is resolved it will now be closed.
          Hide
          mason Mason Meyer (Inactive) added a comment -

          13:28:53.358 INFO com.affymetrix.igb.Application - Copied 36 residues from selected region to clipboard
          java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 8
          at java.util.concurrent.FutureTask.report(FutureTask.java:122)
          at java.util.concurrent.FutureTask.get(FutureTask.java:192)
          at javax.swing.SwingWorker.get(SwingWorker.java:602)
          at com.affymetrix.igb.search.SearchView$SearchAction$1.finished(SearchView.java:170)
          at com.affymetrix.genometryImpl.thread.CThreadWorker.done(CThreadWorker.java:47)
          at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
          at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
          at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
          at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
          at javax.swing.Timer.fireActionPerformed(Timer.java:313)
          at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
          at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
          at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
          at java.awt.EventQueue.access$400(EventQueue.java:97)
          at java.awt.EventQueue$3.run(EventQueue.java:697)
          at java.awt.EventQueue$3.run(EventQueue.java:691)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
          at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
          at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
          at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
          Caused by: java.lang.ArrayIndexOutOfBoundsException: 8
          at com.affymetrix.igb.search.SearchModeResidue.search(SearchModeResidue.java:295)
          at com.affymetrix.igb.search.SearchModeResidue.searchResidue(SearchModeResidue.java:251)
          at com.affymetrix.igb.search.SearchView$SearchAction$1.runInBackground(SearchView.java:135)
          at com.affymetrix.igb.search.SearchView$SearchAction$1.runInBackground(SearchView.java:130)
          at com.affymetrix.genometryImpl.thread.CThreadWorker.doInBackground(CThreadWorker.java:69)
          at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at javax.swing.SwingWorker.run(SwingWorker.java:334)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)

          Show
          mason Mason Meyer (Inactive) added a comment - 13:28:53.358 INFO com.affymetrix.igb.Application - Copied 36 residues from selected region to clipboard java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 8 at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at javax.swing.SwingWorker.get(SwingWorker.java:602) at com.affymetrix.igb.search.SearchView$SearchAction$1.finished(SearchView.java:170) at com.affymetrix.genometryImpl.thread.CThreadWorker.done(CThreadWorker.java:47) at javax.swing.SwingWorker$5.run(SwingWorker.java:737) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) at javax.swing.Timer.fireActionPerformed(Timer.java:313) at javax.swing.Timer$DoPostEvent.run(Timer.java:245) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.ArrayIndexOutOfBoundsException: 8 at com.affymetrix.igb.search.SearchModeResidue.search(SearchModeResidue.java:295) at com.affymetrix.igb.search.SearchModeResidue.searchResidue(SearchModeResidue.java:251) at com.affymetrix.igb.search.SearchView$SearchAction$1.runInBackground(SearchView.java:135) at com.affymetrix.igb.search.SearchView$SearchAction$1.runInBackground(SearchView.java:130) at com.affymetrix.genometryImpl.thread.CThreadWorker.doInBackground(CThreadWorker.java:69) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
          Hide
          mason Mason Meyer (Inactive) added a comment - - edited

          *From Ivory:

          IGB hangs on advanced search of nucleotide sequences. I did several searches and they all worked until the peach color had been used (even if there were no peach results to show). After that, if tried a new residue search it just searched indefinitely until I restarted the program. Its like it doesn’t want to admit that it has run out of colors. Even if a search has no results, if you hit the search button several times, each one is a search and uses a color and after 9?, it will hang. I could avoid the hang by clearing search results when I got to peach.

          Show
          mason Mason Meyer (Inactive) added a comment - - edited *From Ivory: IGB hangs on advanced search of nucleotide sequences. I did several searches and they all worked until the peach color had been used (even if there were no peach results to show). After that, if tried a new residue search it just searched indefinitely until I restarted the program. Its like it doesn’t want to admit that it has run out of colors. Even if a search has no results, if you hit the search button several times, each one is a search and uses a color and after 9?, it will hang. I could avoid the hang by clearing search results when I got to peach.

            People

            • Assignee:
              mason Mason Meyer (Inactive)
              Reporter:
              mason Mason Meyer (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: