My Oracle Support Banner

Sun Defect 7075600 - "Comparison method violates its general contract!" errors - and Problems with the Work-around (Doc ID 1507950.1)

Last updated on NOVEMBER 14, 2020

Applies to:

Java Platform, Standard Edition - Version 7 to 7 [Release 7]
Information in this document applies to any platform.
Applications started through Java Web Start included in Java SE 7 up to Java SE 7 Update 5.
It affects both 32 and 64 bit versions of Java.

Symptoms

The Java exception "java.lang.IllegalArgumentException: Comparison method violates its general contract!" can happen on applications started through Java Web Start and Java SE 7 to Java SE 7 Update 5, even with the work-around in place.  If you are hitting this issue while running applications without Java Web Start, you might be missing the work-around for Sun Bug 7075600.  See the Solution Section of this document.

The top of the stack trace related to this issue looks like:

 

Changes

 Implementation of the enhancement request created through Sun Bug 6804124 in Java SE 7 or later.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.