Apparently. I was moving 1700 items from inventory into my closet, which forced a Concoction refresh after each item left inventory. This happened about 1300 items in and stopped the item movement. Trying again led to the same result. Logging out and exiting and starting fresh allowed it to continue.
How the heck do you debug this?
How the heck do you debug this?
Code:
Unexpected error, debug log printed.
class java.lang.IllegalArgumentException: Comparison method violates its general contract!
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:835)
at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:453)
at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:374)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:182)
at java.util.Arrays.sort(Arrays.java:537)
at java.util.TimSort.sort(TimSort.java:178)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at java.util.Collections.sort(Collections.java:217)
at net.java.dev.spellcast.utilities.LockableListModel.sort(LockableListModel.java:152)
at net.java.dev.spellcast.utilities.LockableListModel.sort(LockableListModel.java:143)
at net.sourceforge.kolmafia.persistence.ConcoctionDatabase.refreshConcoctionsNow(ConcoctionDatabase.java:1393)
at net.sourceforge.kolmafia.persistence.ConcoctionDatabase.refreshConcoctions(ConcoctionDatabase.java:1212)
at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1517)
at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1407)
at net.sourceforge.kolmafia.request.TransferItemRequest.run(TransferItemRequest.java:334)
at net.sourceforge.kolmafia.request.ClosetRequest.run(ClosetRequest.java:289)
at net.sourceforge.kolmafia.request.TransferItemRequest.runSubInstances(TransferItemRequest.java:168)
at net.sourceforge.kolmafia.request.TransferItemRequest.run(TransferItemRequest.java:312)
at net.sourceforge.kolmafia.request.ClosetRequest.run(ClosetRequest.java:289)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:278)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:241)
at net.sourceforge.kolmafia.swingui.panel.ItemManagePanel$TransferListener.retrieveItems(ItemManagePanel.java:616)
at net.sourceforge.kolmafia.swingui.panel.ItemManagePanel$TransferListener.initialSetup(ItemManagePanel.java:598)
at net.sourceforge.kolmafia.swingui.panel.ItemManagePanel$PutInClosetListener.execute(ItemManagePanel.java:715)
at net.sourceforge.kolmafia.swingui.listener.ThreadedListener.run(ThreadedListener.java:239)
at net.sourceforge.kolmafia.RequestThread$SequencedRunnable.run(RequestThread.java:404)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)