java.lang.IllegalArgumentException: Comparison method violates its general contract!
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via GitHub by nilsschmidt1337
, 1 year agovia Stack Overflow by math_law
, 2 years agovia GitHub by rzanoli
, 2 years agovia Stack Overflow by Priyanshu Singh
, 2 years agovia GitHub by pupaxxo
, 1 year agovia GitHub by Nycander
, 1 year agojava.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.Arrays.sort(Unknown Source)
at java.util.ArrayList.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at org.nschmidt.ldparteditor.data.Primitive.sort(Primitive.java:227)
at org.nschmidt.ldparteditor.composites.primitive.CompositePrimitive.load(CompositePrimitive.java:1030)
at org.nschmidt.ldparteditor.composites.primitive.CompositePrimitive.loadPrimitives(CompositePrimitive.java:554)
at org.nschmidt.ldparteditor.shells.editor3d.Editor3DDesign.createContents(Editor3DDesign.java:1990)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.nschmidt.ldparteditor.shells.editor3d.Editor3DWindow.run(Editor3DWindow.java:316)
at org.nschmidt.ldparteditor.splash.SplashScreen.run(SplashScreen.java:298)
at org.nschmidt.ldparteditor.main.LDPartEditor.main(LDPartEditor.java:39)