org.eclipse.swt.SWTException: Failed to execute runnable (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 Eclipse Bugzilla by bugs, 1 year ago
Failed to execute runnable (java.lang.IllegalArgumentException: Comparison method violates its general contract!)
via eclipse.org by Unknown author, 1 year ago
Failed to execute runnable (java.lang.IllegalArgumentException: Comparison method violates its general contract!)
via eclipse.org by Unknown author, 2 years ago
Failed to execute runnable (java.lang.IllegalArgumentException: Comparison method violates its general contract!)
via Eclipse Bugzilla by sajja.phani, 1 year ago
Failed to execute runnable (java.lang.IllegalArgumentException: )
via GitHub by tthuem
, 1 year ago
Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
via SpringSource Issue Tracker by Martin Lippert, 1 year ago
Failed to execute runnable (java.lang.IllegalArgumentException: Argument not valid)
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:410)
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 org.eclipse.jface.viewers.TreePathViewerSorter.sort(TreePathViewerSorter.java:103)
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:640)
at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2665)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1937)
at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:749)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1912)
at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1545)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1452)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:426)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1413)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1543)
at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:350)
at org.eclipse.jst.jee.ui.internal.navigator.JEE5ContentProvider$1.run(JEE5ContentProvider.java:145)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3746)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
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:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

Users with the same issue

Once, 1 year ago
3 times, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.