SAP Knowledge Base Article - Preview

3141513 - IllegalArgumentException: Comparison method violates its general contract! in Commerce log

Symptom


SEVERE: Servlet.service() for servlet [hmwebservices-rs] in context with path [/hmwebservices] threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentException: Comparison method violates its general contract!] with root cause

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:1515)

at java.base/java.util.ArrayList.sort(ArrayList.java:1750)

at java.base/java.util.Collections.sort(Collections.java:179)


Read more...

Environment

SAP Commerce Cloud 2011.13

Commerce On-prem 2011.13

Product

SAP Commerce Cloud V1 all versions ; SAP Commerce Cloud all versions ; SAP Commerce all versions

Keywords

KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.