Post Reply 
Comparison method violates its general contract!
10-03-2013, 08:22
Post: #2
RE: Comparison method violates its general contract!
(10-03-2013 02:26)Mike48 Wrote:  I don't know what to make of this:

Sat Mar 09 17:20:09 MinimServer: exception while processing action request: java.lang.IllegalArgumentException: Comparison method violates its general contract!
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeHi(Unknown Source)
at java.util.ComparableTimSort.mergeAt(Unknown Source)
at java.util.ComparableTimSort.mergeForceCollapse(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at com.minimserver.Server.sortAlbumList(Server.java:3461)
at com.minimserver.Server.access$10700(Server.java:84)
at com.minimserver.Server$AlbumListView.init(Server.java:9059)
at com.minimserver.Server$AlbumListView.<init>(Server.java:8995)
at com.minimserver.Server$AlbumListContainer.populate(Server.java:9150)
at com.minimserver.Server.populateContainer(Server.java:3440)
at com.minimserver.Server.access$12600(Server.java:84)
at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:9906)
at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:9861)
at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

I think I know what's causing this. It's related to a recent change I made to "improve" the sort algorithm for albumSortTags. I'll do some investigations and I'll post more information here when I have it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Comparison method violates its general contract! - simoncn - 10-03-2013 08:22

Forum Jump:


User(s) browsing this thread: 1 Guest(s)