eclipse.platform.swt icon indicating copy to clipboard operation
eclipse.platform.swt copied to clipboard

org.eclipse.swt.SWTError: Unspecified error Aborting Edge initialization after 5 retries with result -2147024726

Open dave1981 opened this issue 2 months ago • 3 comments

I have updated my Eclipse installation to 2025.09, but I'm constantly getting this error

org.eclipse.swt.SWTError: Unspecified error Aborting Edge initialization after 5 retries with result -2147024726 at org.eclipse.swt.SWT.error(SWT.java:4971) at org.eclipse.swt.browser.Edge.lambda$15(Edge.java:704) at org.eclipse.swt.browser.Edge$HandleCoreWebView2SwtCallback.Invoke(Edge.java:250) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3746) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:678) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:583) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:185) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:627) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1431)

Session Data: eclipse.buildId=4.37.0.20250905-1455 java.version=21.0.8 java.vendor=Eclipse Adoptium BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

I tried:

  • reinstall Eclipse
  • change default browser
  • start eclipse in administrator mode

I have updated the installation on two different computers and on both I get this error repeatedly

dave1981 avatar Oct 14 '25 16:10 dave1981

What version of Edge WebView2 do you have installed?

You can find this under

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}

or

HKEY_CURRENT_USER\Software\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}

in the registry.

Can you try to install the latest evergreen version from https://developer.microsoft.com/en-us/microsoft-edge/webview2?form=MA13LH#download and see if that helps?

sratz avatar Oct 15 '25 10:10 sratz

I have version 141.0.3537.71 I can't install the latest version because it's already installed

dave1981 avatar Oct 15 '25 15:10 dave1981

It seems like you have some other application using the WebView2 engine with the same data folder at the same time. The mentioned error code -2147024726 means: "The requested resource is in use."

Can you start your application with a customized data folder, i.e., set the system property org.eclipse.swt.browser.EdgeDataDir according to the FAQ, and see if that helps?

And can you share which Windows version you are using?

HeikoKlare avatar Oct 29 '25 07:10 HeikoKlare