Comparison method violates its general contract

Error:

Occasionally, the File Event fails with the following error

Comparison method violates its general contract! 

 

Cause:

There are changes in the sorting logic of Java 7, causing this issue.

 

Solution:

Update the launcher.properties file to handle the change

1) Navigate to /ServerKernel/etc. 
2) Backup the launcher.properties file
3) Open the launcher.properties file
4) Add -Djava.util.Arrays.useLegacyMergeSort=true to the KN JVM line as below

#Kernel JVM parameters
KN:JVM: -Xms2048M -Xmx2048M -Xrs -XX:PermSize=64M -XX:MaxPermSize=256M -Djava.util.Arrays.useLegacyMergeSort=true

5) Save the launcher.properties file
6) Start Adeptia Services

 

 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.