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

Eclipse Bugzilla | bugs | 5 years ago
  1. 0

    [Viewers] ViewerComparator violates its general contract

    Eclipse Bugzilla | 5 years ago | bugs
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    expanding the resources tree node in the working set editor causes an exception

    Eclipse Bugzilla | 4 years ago | david.green
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  3. 0

    Bug 364735 – [Viewers] ViewerComparator violates its general contract

    eclipse.org | 1 year ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug 215614 – IllegalArgumentException: Comparison method violates its general contract!

    netbeans.org | 5 months ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  6. 0

    Bug 403533 – Comparison method violates its general contract!

    eclipse.org | 5 months ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!

  1. zokni 3 times, last 7 months ago
  2. silex 6 times, last 7 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Comparison method violates its general contract!

    at java.util.TimSort.mergeHi()
  2. Java RT
    Arrays.sort
    1. java.util.TimSort.mergeHi(TimSort.java:868)
    2. java.util.TimSort.mergeAt(TimSort.java:485)
    3. java.util.TimSort.mergeForceCollapse(TimSort.java:426)
    4. java.util.TimSort.sort(TimSort.java:223)
    5. java.util.TimSort.sort(TimSort.java:173)
    6. java.util.Arrays.sort(Arrays.java:659)
    6 frames
  3. JFace
    AbstractTreeViewer$1.run
    1. org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:189)
    2. org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:640)
    3. org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:815)
    3 frames
  4. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    1 frame
  5. JFace
    StructuredViewer.setInput
    1. org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:791)
    2. org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:611)
    3. org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:762)
    4. org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1541)
    5. org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:790)
    6. org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1525)
    7. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)
    8. org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:366)
    9. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)
    10. org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1517)
    11. org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:292)
    12. org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1701)
    12 frames
  6. Eclipse UI
    WizardNewFolderMainPage.createControl
    1. org.eclipse.ui.internal.ide.misc.ContainerSelectionGroup.createTreeViewer(ContainerSelectionGroup.java:301)
    2. org.eclipse.ui.internal.ide.misc.ContainerSelectionGroup.createContents(ContainerSelectionGroup.java:244)
    3. org.eclipse.ui.internal.ide.misc.ContainerSelectionGroup.<init>(ContainerSelectionGroup.java:168)
    4. org.eclipse.ui.internal.ide.misc.ResourceAndContainerGroup.createContents(ResourceAndContainerGroup.java:228)
    5. org.eclipse.ui.internal.ide.misc.ResourceAndContainerGroup.<init>(ResourceAndContainerGroup.java:186)
    6. org.eclipse.ui.dialogs.WizardNewFolderMainPage.createControl(WizardNewFolderMainPage.java:279)
    6 frames
  7. JFace
    Dialog.create
    1. org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:175)
    2. org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:705)
    3. org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:597)
    4. org.eclipse.jface.window.Window.create(Window.java:430)
    5. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
    5 frames
  8. Workbench
    NewWizardShortcutAction.run
    1. org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:123)
    1 frame
  9. JFace
    ActionContributionItem$5.handleEvent
    1. org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
    2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    4 frames
  10. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
    5 frames
  11. JFace
    Window.open
    1. org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
    2. org.eclipse.jface.window.Window.open(Window.java:803)
    2 frames
  12. org.eclipse.ui
    LogView$15.doubleClick
    1. org.eclipse.ui.internal.views.log.EventDetailsDialog.open(EventDetailsDialog.java:181)
    2. org.eclipse.ui.internal.views.log.EventDetailsDialogAction.run(EventDetailsDialogAction.java:98)
    3. org.eclipse.ui.internal.views.log.LogView$15.doubleClick(LogView.java:546)
    3 frames
  13. JFace
    StructuredViewer$1.run
    1. org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:832)
    1 frame
  14. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  15. Eclipse UI
    JFaceUtil$1.run
    1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
    1 frame
  16. JFace
    OpenStrategy$1.handleEvent
    1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
    2. org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:829)
    3. org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1470)
    4. org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1263)
    5. org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252)
    6. org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)
    7. org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)
    7 frames
  17. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
    5 frames
  18. Eclipse Workbench SWT
    PartRenderingEngine$4.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    1 frame
  19. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  20. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    1 frame
  21. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    1 frame
  22. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
    1 frame
  23. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  24. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
    1 frame
  25. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    1 frame
  26. Eclipse IDE
    IDEApplication.start
    1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    1 frame
  27. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  28. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    4 frames
  29. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  30. Equinox
    Main.run
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
    3 frames