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

Property Search in Advanced Search tab throws IllegalArgumentException

    Details

      Description

      Investigate and determine why this happens.
      Find out if it affects released branch 9.0.2 (get from bioviz.org).
      Read user's guide Advanced Search documentation as background.

      To repeat:

      1) Click Advanced Search tab
      2) Select PropertySearch, don't enter query string (leave text blank)
      3) Click Search icon (magnifying glass button on right of text entry)

      Observe exception:

      14:51:37.494 ERROR c.a.genometry.thread.CThreadWorker - Comparison method violates its general contract!
      java.lang.IllegalArgumentException: Comparison method violates its general contract!
      at java.util.TimSort.mergeHi(TimSort.java:899) ~[na:1.8.0_192]
      at java.util.TimSort.mergeAt(TimSort.java:516) ~[na:1.8.0_192]
      at java.util.TimSort.mergeCollapse(TimSort.java:441) ~[na:1.8.0_192]
      at java.util.TimSort.sort(TimSort.java:245) ~[na:1.8.0_192]
      at java.util.Arrays.sort(Arrays.java:1512) ~[na:1.8.0_192]
      at java.util.ArrayList.sort(ArrayList.java:1462) ~[na:1.8.0_192]
      at java.util.Collections.sort(Collections.java:175) ~[na:1.8.0_192]
      at com.affymetrix.igb.searchmodeidorprops.SearchModeIDOrProps.findLocalSyms(SearchModeIDOrProps.java:180) ~[na:na]
      at com.affymetrix.igb.searchmodeidorprops.SearchModeIDOrProps.search(SearchModeIDOrProps.java:105) ~[na:na]
      at com.affymetrix.igb.searchmodeidorprops.SearchModeID.search(SearchModeID.java:86) ~[na:na]
      at com.affymetrix.igb.keywordsearch.KeyWordSearch.search(KeyWordSearch.java:65) ~[na:na]
      at com.affymetrix.igb.search.SearchView$SearchAction$1.runInBackground(SearchView.java:175) ~[na:na]
      at com.affymetrix.igb.search.SearchView$SearchAction$1.runInBackground(SearchView.java:155) ~[na:na]
      at com.affymetrix.genometry.thread.CThreadWorker.doInBackground(CThreadWorker.java:73) ~[na:na]
      at javax.swing.SwingWorker$1.call(SwingWorker.java:295) [na:1.8.0_192]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_192]
      at javax.swing.SwingWorker.run(SwingWorker.java:334) [na:1.8.0_192]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_192]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_192]
      at java.lang.Thread.run(Thread.java:748) [na:1.8.0_192]

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Spring 2019 Sprint 5 [ 63 ]
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Assignee Sai Charan Reddy Vallapureddy [ svallapu ]
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

            I checked out to release-9.0.2 branch.

            I followed the exact steps:
            1. Go to Advanced Search
            2. Select properties
            3. Don't enter anything in the search field.
            4. Click the search button.

            I am not getting any error messages.
            I checked in the command line and also in Help-Console.

            Show
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - I checked out to release-9.0.2 branch. I followed the exact steps: 1. Go to Advanced Search 2. Select properties 3. Don't enter anything in the search field. 4. Click the search button. I am not getting any error messages. I checked in the command line and also in Help-Console.
            Hide
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

            This error occurs when the comparator is not correctly implemented.

            Show
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - This error occurs when the comparator is not correctly implemented.
            Hide
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

            Tutorial to handle this issue.
            https://www.youtube.com/watch?v=Enwbh6wpnYs

            Show
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - Tutorial to handle this issue. https://www.youtube.com/watch?v=Enwbh6wpnYs
            svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 18374 ] Fall 2019 Workflow Update [ 20101 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Re-opening because observed bug in 9.1.0

            Show
            ann.loraine Ann Loraine added a comment - Re-opening because observed bug in 9.1.0
            ann.loraine Ann Loraine made changes -
            Epic Link IGBF-1765 [ 17855 ]
            ann.loraine Ann Loraine made changes -
            Priority Major [ 3 ] Blocker [ 1 ]
            Sprint Spring 2019 Sprint 5 [ 63 ] Spring 2019 Sprint 5, Fall 2019 Sprint 3 [ 63, 74 ]
            ann.loraine Ann Loraine made changes -
            Assignee Sai Charan Reddy Vallapureddy [ svallapu ] Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Link This issue is cloned by IGBF-2011 [ IGBF-2011 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 20101 ] Revised Fall 2019 Workflow Update [ 22235 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Sai Charan Reddy Vallapureddy [ svallapu ]

              People

              • Assignee:
                svallapu Sai Charan Reddy Vallapureddy (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: