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

Eclipse Bugzilla | bugs | 5 years ago
  1. 0

    Bug 364735 – [Viewers] ViewerComparator violates its general contract

    eclipse.org | 1 year ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  2. 0

    [Viewers] ViewerComparator violates its general contract

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

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

    netbeans.org | 5 months 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 403533 – Comparison method violates its general contract!

    eclipse.org | 5 months ago
    java.lang.IllegalArgumentException: Comparison method violates its general contract!
  6. 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!

  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
    StructuredViewer.setInput
    1. org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:189)
    2. org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:1061)
    3. org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:667)
    4. org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:615)
    5. org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:607)
    6. org.eclipse.jface.viewers.AbstractTableViewer$1.run(AbstractTableViewer.java:567)
    7. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1436)
    8. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1397)
    9. org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:344)
    10. org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:564)
    11. org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:292)
    12. org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1675)
    12 frames
  4. Eclipse UI
    WizardNewProjectReferencePage.createControl
    1. org.eclipse.ui.dialogs.WizardNewProjectReferencePage.createControl(WizardNewProjectReferencePage.java:98)
    1 frame
  5. JFace
    WizardDialog$8.run
    1. org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1276)
    2. org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268)
    3. org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257)
    3 frames
  6. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    1 frame
  7. JFace
    Dialog$2.widgetSelected
    1. org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254)
    2. org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942)
    3. org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
    4. org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
    4 frames
  8. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
    5. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
    6. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
    6 frames
  9. JFace
    Window.open
    1. org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
    2. org.eclipse.jface.window.Window.open(Window.java:808)
    2 frames
  10. Workbench
    E4HandlerProxy.execute
    1. org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:269)
    2. org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
    3. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
    4. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
    4 frames
  11. 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
  12. org.eclipse.e4
    HandlerServiceHandler.execute
    1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
    2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
    3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
    4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
    5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
    5 frames
  13. Commands
    ParameterizedCommand.executeWithChecks
    1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
    2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    2 frames
  14. org.eclipse.e4
    HandlerServiceImpl.executeHandler
    1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
    1 frame
  15. Workbench
    CommandAction.runWithEvent
    1. org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:343)
    2. org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:159)
    2 frames
  16. JFace
    ActionContributionItem$5.handleEvent
    1. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    2. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    3. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    3 frames
  17. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
    5 frames
  18. Eclipse Workbench SWT
    PartRenderingEngine$9.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    1 frame
  19. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  20. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    1 frame
  21. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    1 frame
  22. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    1 frame
  23. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  24. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    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:135)
    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:382)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
    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.main
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    4. org.eclipse.equinox.launcher.Main.main(Main.java:1438)
    4 frames