java.lang.IllegalArgumentException: Comparison method violates its general contract!

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ktole1999
, 1 year ago
Comparison method violates its general contract!
via GitHub by tech-boy101
, 1 year ago
Comparison method violates its general contract!
via GitHub by MicheleMUC
, 1 year ago
Comparison method violates its general contract!
via GitHub by pures
, 1 year ago
Comparison method violates its general contract!
via GitHub by be-neth
, 7 months ago
Comparison method violates its general contract!
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeLo(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.Arrays.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.ArrayList.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at net.minecraft.command.CommandHelp.func_184900_a(SourceFile:118)
at net.minecraft.command.CommandHelp.func_184881_a(SourceFile:73)
at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:104)
at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:83)
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:423)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:388)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.