Skip to content

Instantly share code, notes, and snippets.

@mhilbrunner
Created January 25, 2016 00:29
Show Gist options
  • Save mhilbrunner/cf94f6b80883871840e6 to your computer and use it in GitHub Desktop.
Save mhilbrunner/cf94f6b80883871840e6 to your computer and use it in GitHub Desktop.
libGDX Scene2D TextField Copy Paste Clipboard Crash Stacktrace
Uncaught exception in thread LWJGL Application (ID9) caused by null
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(TimSort.java:868)
at java.util.TimSort.mergeAt(TimSort.java:485)
at java.util.TimSort.mergeCollapse(TimSort.java:410)
at java.util.TimSort.sort(TimSort.java:214)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at sun.awt.datatransfer.DataTransferer.setToSortedDataFlavorArray(DataTransferer.java:2426)
at sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:100)
at sun.awt.datatransfer.SunClipboard.getContents(SunClipboard.java:144)
at com.badlogic.gdx.backends.lwjgl.LwjglClipboard.getContents(LwjglClipboard.java:36)
at com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldClickListener.keyDown(TextField.java:827)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:45)
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:181)
at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:146)
at com.badlogic.gdx.scenes.scene2d.Stage.keyDown(Stage.java:412)
at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:286)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment