java.lang.IllegalArgumentException: Comparison method violates its general contract!

GitHub | jim618 | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 649#129924179

    GitHub | 2 years ago | jim618
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    Clipboard failure

    GitHub | 2 years ago | gary-rowe
    java.lang.IllegalArgumentException: Comparison method violates its general contract!

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Comparison method violates its general contract!

      at java.util.TimSort.mergeHi()
    2. Java RT
      TransferHandler$TransferAction.actionPerformedImpl
      1. java.util.TimSort.mergeHi(Unknown Source)[na:1.7.0_80]
      2. java.util.TimSort.mergeAt(Unknown Source)[na:1.7.0_80]
      3. java.util.TimSort.mergeCollapse(Unknown Source)[na:1.7.0_80]
      4. java.util.TimSort.sort(Unknown Source)[na:1.7.0_80]
      5. java.util.TimSort.sort(Unknown Source)[na:1.7.0_80]
      6. java.util.Arrays.sort(Unknown Source)[na:1.7.0_80]
      7. sun.awt.datatransfer.DataTransferer.setToSortedDataFlavorArray(Unknown Source)[na:1.7.0_80]
      8. sun.awt.datatransfer.ClipboardTransferable.<init>(Unknown Source)[na:1.7.0_80]
      9. sun.awt.datatransfer.SunClipboard.getContents(Unknown Source)[na:1.7.0_80]
      10. javax.swing.TransferHandler$TransferAction.actionPerformedImpl(Unknown Source)[na:1.7.0_80]
      10 frames