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 Oracle Community by 2887223, 1 year ago
via Oracle Community by 2887223, 1 year ago
via Oracle Community by 2887223, 1 year ago
via Oracle Community by 2887223, 1 year ago
via Oracle Community by 2887223, 1 year ago
via xeams.com by Unknown author, 2 years ago
Comparison method violates its general contract!
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:408)	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 java.util.Collections.sort(Collections.java:217)	at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(SortingFocusTraversalPolicy.java:136)	at javax.swing.SortingFocusTraversalPolicy.getFocusTraversalCycle(SortingFocusTraversalPolicy.java:110)	at javax.swing.SortingFocusTraversalPolicy.getComponentAfter(SortingFocusTraversalPolicy.java:280)	at javax.swing.LayoutFocusTraversalPolicy.getComponentAfter(LayoutFocusTraversalPolicy.java:106)	at java.awt.Component.getNextFocusCandidate(Component.java:7860)	at java.awt.Component.transferFocus(Component.java:7828)	at java.awt.Container.removeNotify(Container.java:2808)	at javax.swing.JComponent.removeNotify(JComponent.java:4761)	at java.awt.Container.removeAll(Container.java:1290)	at atg.ui.seqeditor.view.OpenablePanel.closePanel(OpenablePanel.java:325)	at atg.ui.seqeditor.view.OpenablePanel.graphNodeChanged(OpenablePanel.java:216)	at atg.ui.seqeditor.model.SequenceModelListener.treeNodesChanged(SequenceModelListener.java:110)	at javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged(DefaultTreeModel.java:486)	at javax.swing.tree.DefaultTreeModel.nodesChanged(DefaultTreeModel.java:348)	at javax.swing.tree.DefaultTreeModel.nodeChanged(DefaultTreeModel.java:279)	at javax.swing.tree.DefaultTreeModel.valueForPathChanged(DefaultTreeModel.java:225)	at atg.ui.seqeditor.editor.SequenceEditorPanel$10.run(SequenceEditorPanel.java:999)	at atg.ui.seqeditor.editor.SequenceEditorPanel.changeNode(SequenceEditorPanel.java:1009)	at atg.ui.seqeditor.view.expression.ExpressionDetailEditor.ok(ExpressionDetailEditor.java:148)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at atg.xcl.InvocationBuilder$Invocation.doAction(InvocationBuilder.java:155)	at atg.ui.xuill.XuillAction.actionPerformed(XuillAction.java:88)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)	at java.awt.Component.processMouseEvent(Component.java:6505)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)	at java.awt.Component.processEvent(Component.java:6270)	at java.awt.Container.processEvent(Container.java:2229)	at java.awt.Component.dispatchEventImpl(Component.java:4861)	at java.awt.Container.dispatchEventImpl(Container.java:2287)	at java.awt.Component.dispatchEvent(Component.java:4687)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)	at java.awt.Container.dispatchEventImpl(Container.java:2273)	at java.awt.Window.dispatchEventImpl(Window.java:2719)	at java.awt.Component.dispatchEvent(Component.java:4687)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)	at java.awt.EventQueue.access$200(EventQueue.java:103)	at java.awt.EventQueue$3.run(EventQueue.java:682)	at java.awt.EventQueue$3.run(EventQueue.java:680)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)	at java.awt.EventQueue$4.run(EventQueue.java:696)	at java.awt.EventQueue$4.run(EventQueue.java:694)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)