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 Eclipse Bugzilla by david.green, 1 year ago
via Eclipse Bugzilla by error-reports-inbox, 1 year ago
via GitHub by gary-rowe
, 1 year ago
Comparison method violates its general contract!
via GitHub by ignazio1977
, 2 years ago
Comparison method violates its general contract!
via Eclipse Bugzilla by error-reports-inbox, 1 year ago
Comparison method violates its general contract!
via parse.com by Unknown author, 1 year ago
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.mergeForceCollapse(TimSort.java:426)	at java.util.TimSort.sort(TimSort.java:223)	at java.util.TimSort.sort(TimSort.java:173)	at java.util.Arrays.sort(Arrays.java:659)	at org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:189)	at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:640)	at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:815)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:791)	at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:611)	at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:762)	at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1541)	at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:790)	at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1525)	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)	at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:366)	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)	at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1517)	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:292)	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1701)	at org.eclipse.ui.internal.ide.misc.ContainerSelectionGroup.createTreeViewer(ContainerSelectionGroup.java:301)	at org.eclipse.ui.internal.ide.misc.ContainerSelectionGroup.createContents(ContainerSelectionGroup.java:244)	at org.eclipse.ui.internal.ide.misc.ContainerSelectionGroup.(ContainerSelectionGroup.java:168)	at org.eclipse.ui.internal.ide.misc.ResourceAndContainerGroup.createContents(ResourceAndContainerGroup.java:228)	at org.eclipse.ui.internal.ide.misc.ResourceAndContainerGroup.(ResourceAndContainerGroup.java:186)	at org.eclipse.ui.dialogs.WizardNewFolderMainPage.createControl(WizardNewFolderMainPage.java:279)	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:175)	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:705)	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:597)	at org.eclipse.jface.window.Window.create(Window.java:430)	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)	at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:123)	at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)	at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)	at org.eclipse.jface.window.Window.open(Window.java:803)	at org.eclipse.ui.internal.views.log.EventDetailsDialog.open(EventDetailsDialog.java:181)	at org.eclipse.ui.internal.views.log.EventDetailsDialogAction.run(EventDetailsDialogAction.java:98)	at org.eclipse.ui.internal.views.log.LogView$15.doubleClick(LogView.java:546)	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:832)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:829)	at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1470)	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1263)	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252)	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)	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:606)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)