Article - CS187643

Model Manager stops unexpectedly during save operation with error "Comparison method violates its general contract" in Creo Elements/Direct Model Manager

Modified: 19-May-2023   


Applies To

  • Creo Elements/Direct Model Manager / Drawing Manager 19.00 to 20.5

Description

  • Model Manager stops unexpectedly during save operation with error Comparison method violates its general contract
  • Throws Java error - Comparison method violates its general contract see below :
    • ​java.lang.IllegalArgumentException: Comparison method violates its general contract!
                     at java.util.TimSort.mergeHi(Unknown Source)
                     at java.util.TimSort.mergeAt(Unknown Source)
                     at java.util.TimSort.mergeCollapse(Unknown Source)
                     at java.util.TimSort.sort(Unknown Source)
                     at java.util.TimSort.sort(Unknown Source)
                     at java.util.Arrays.sort(Unknown Source)
                     at java.util.Collections.sort(Unknown Source)
                     at com.osm.datamgmt.biz.SaveTransaction.preApply(Unknown Source)
                     at com.osm.biz.WMTransaction.apply(Unknown Source)
                     at com.osm.biz.WMTransaction.apply(Unknown Source)
                     at com.osm.datamgmt.util.DoSave.run(Unknown Source)
  • Does this issue occur if using Amazon Corretto 11?
This is a printer-friendly version of Article 187643 and may be out of date. For the latest version click CS187643