/
ERROR - An error occurred. java.lang.IllegalArgumentException: Comparison method violates its general contract
ERROR - An error occurred. java.lang.IllegalArgumentException: Comparison method violates its general contract
Problem
The following error log message is observed in the hivemq.log when using 4.30 or 4.28.3
ERROR - An error occurred.
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.base/java.util.TimSort.mergeHi(TimSort.java:903)
at java.base/java.util.TimSort.mergeAt(TimSort.java:520)
at java.base/java.util.TimSort.mergeForceCollapse(TimSort.java:461)
at java.base/java.util.TimSort.sort(TimSort.java:254)
at java.base/java.util.Arrays.sort(Arrays.java:1234)
at com.google.common.collect.ImmutableList.sortedCopyOf(Source.java:348)
at hmq.nj.f.a(Source.java:61)
at hmq.nj.c.f(Source.java:206)
at hmq.nj.c.e(Source.java:188)
at java.base/java.lang.Thread.run(Thread.java:1583
Solution
Ignore the error message.
The issue should be fixed in HiveMQ v.4.31
Related articles
, multiple selections available,
Related content
ERROR - version `GLIBC_2.27' not found
ERROR - version `GLIBC_2.27' not found
More like this
ERROR - An error occurred while returning credits for client and NPE
ERROR - An error occurred while returning credits for client and NPE
More like this
WARN - HiveMQ Distribution didn’t contain a build date, please contact support@hivemq.com
WARN - HiveMQ Distribution didn’t contain a build date, please contact support@hivemq.com
More like this
Sanity checks take a long time during HiveMQ startup
Sanity checks take a long time during HiveMQ startup
More like this
HiveMQ does not start with OpenJDK 11.0.10+9
HiveMQ does not start with OpenJDK 11.0.10+9
More like this