Resolve Comparison method violates its general contract! in Spectrum

Operating System: Windows, Linux, UNIX
    
Product affected: Spectrum™ Technology Platform

Versions: 9 SP3,

Issue

ERROR [MapMarkerGeocoder] com.mapinfo.mapmarker.user.MapMarkerFatalException: java.lang.IllegalArgumentException: Comparison method violates its general contract!
 
com.g1.dcg.stage.StageException: com.g1.component.igeocode.GeocoderException: java.lang.IllegalArgumentException: Comparison method violates its general contract!
 

Cause

There is a known defect with non-US geocoding using Java 1.7.

 

Resolution

UPDATED: August 21, 2019
To resolve, follow the below steps:
  1. Navigate to the following to the <Spectrum install>/server/modules/igeocode-global/java.vmargs file.
  2. Add -Djava.util.Arrays.useLegacyMergeSort=true to the file.
  3. Restart the Spectrum server.
Note: Attached is a java.vmargs file with the already change made.

If the issue is still not resolved, contact client support.