Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » An internal error has occurred(java.lang.IllegalArgumentException: Comparison method violates its general contract!)
An internal error has occurred [message #1840646] Wed, 21 April 2021 10:04 Go to next message
Nuchem Katz is currently offline Nuchem KatzFriend
Messages: 11
Registered: March 2021
Junior Member
A couple of days ago, I started noticing eclipse throwing at me the this error, every time I attempted to do Maven -> Update project. (screen capture attached). I didn't take it serious at the time as it still seemed to be updating it.

But now, I can't ignore it anymore as all of a sudden, after installing lombok and integrating it with eclipse, maven seems not to recognizes it and refuses to acknowledge the @Setter and @Getter that lombok provides me. So, I cannot do a mvn clean install and can't update the project fully either, it seems.

I suspect the two maybe related. But alas, I don't remember now what it is I did that started generating this error shown in the screenshot.

Would anyone be so kind and tach me how to interpret the below stack trace in my eclipse log? Or at least tell me what the issues is? Thank you!

!ENTRY org.eclipse.ui 4 4 2021-04-21 10:42:19.716
!MESSAGE An internal error has occurred.
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.base/java.util.TimSort.mergeHi(
at java.base/java.util.TimSort.mergeAt(
at java.base/java.util.TimSort.mergeForceCollapse(
at java.base/java.util.TimSort.sort(
at java.base/java.util.Arrays.sort(
at org.eclipse.jface.viewers.TreePathViewerSorter.sort(
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(
at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(
at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(
at org.eclipse.ui.navigator.CommonViewer.internalRefresh(
at org.eclipse.jface.viewers.StructuredViewer.lambda$3(
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(
at org.eclipse.jface.viewers.StructuredViewer.refresh(
at org.eclipse.jface.viewers.ColumnViewer.refresh(
at org.eclipse.ui.navigator.CommonViewer.refresh(
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.lambda$1(
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.runUpdates(
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.runPendingUpdates(
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$1.runInUIThread(
at org.eclipse.ui.progress.UIJob.lambda$0(
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
at org.eclipse.swt.widgets.Display.runAsyncMessages(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
at org.eclipse.ui.internal.Workbench.lambda$3(
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
at java.base/java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
Re: An internal error has occurred [message #1840652 is a reply to message #1840646] Wed, 21 April 2021 11:35 Go to previous messageGo to next message
Nuchem Katz is currently offline Nuchem KatzFriend
Messages: 11
Registered: March 2021
Junior Member
The two weren't related.

It appears I've not had lombok as a path inside inside the <annotationProcessorPaths> tag and also had put too high a version inside the source and target attribute of the maven compiler (I had 15 before):


Although I'm still getting the above error whenever I try updating my project.

[Updated on: Wed, 21 April 2021 12:05]

Report message to a moderator

Re: An internal error has occurred [message #1840726 is a reply to message #1840652] Thu, 22 April 2021 17:43 Go to previous message
Nuchem Katz is currently offline Nuchem KatzFriend
Messages: 11
Registered: March 2021
Junior Member
I forgot about running eclipse.exe with -clean. This helped.
Previous Topic:How to Trigger "Build All" for site.xml via ANT task
Next Topic:Listen to plugin uninstall hook
Goto Forum:

Current Time: Mon Jun 14 14:54:12 GMT 2021

Powered by FUDForum. Page generated in 0.02170 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top