Dbeaver Can't Open and Shows Error An error has occured
See original GitHub issueI am using Dbeaver latest version. Yesterday and previously I used it smoothly without any issues. But today I can’t open Dbeaver software. I checked the metadata log file. Below is the exception. I previously connected at 5 servers with ssh and local server also. I am using windows 10.
!ENTRY org.eclipse.ui.win32.nls 2 0 2022-01-26 01:01:43.355
!MESSAGE Could not resolve module: org.eclipse.ui.win32.nls [357]
Unresolved requirement: Fragment-Host: org.eclipse.ui.win32
Unresolved requirement: Fragment-Host: org.eclipse.ui.win32
!ENTRY org.eclipse.core.filesystem.win32.x86_64.nls 2 0 2022-01-26 01:01:43.363
!MESSAGE Could not resolve module: org.eclipse.core.filesystem.win32.x86_64.nls [347]
Unresolved requirement: Fragment-Host: org.eclipse.core.filesystem.win32.x86_64
Unresolved requirement: Fragment-Host: org.eclipse.core.filesystem.win32.x86_64
!ENTRY org.eclipse.equinox.security.win32.x86_64.nls 2 0 2022-01-26 01:01:43.364
!MESSAGE Could not resolve module: org.eclipse.equinox.security.win32.x86_64.nls [299]
Unresolved requirement: Fragment-Host: org.eclipse.equinox.security.win32.x86_64
Unresolved requirement: Fragment-Host: org.eclipse.equinox.security.win32.x86_64
!ENTRY org.eclipse.osgi.compatibility.state.nls 2 0 2022-01-26 01:01:43.365
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nls [390]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
!ENTRY org.eclipse.osgi 4 0 2022-01-26 01:01:43.372
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Error initializing desktop platform
at org.jkiss.dbeaver.core.DesktopPlatform.createInstance(DesktopPlatform.java:109)
at org.jkiss.dbeaver.core.DesktopPlatform.getInstance(DesktopPlatform.java:85)
at org.jkiss.dbeaver.core.DesktopAdapterFactory.getAdapter(DesktopAdapterFactory.java:33)
at org.eclipse.core.internal.runtime.AdapterManager.lambda$13(AdapterManager.java:302)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:304)
at org.eclipse.core.internal.runtime.AdapterManager.loadAdapter(AdapterManager.java:328)
at org.jkiss.dbeaver.utils.GeneralUtils.queryAdapterManager(GeneralUtils.java:743)
at org.jkiss.dbeaver.utils.GeneralUtils.adapt(GeneralUtils.java:718)
at org.jkiss.dbeaver.utils.GeneralUtils.adapt(GeneralUtils.java:733)
at org.jkiss.dbeaver.runtime.DBWorkbench.getPlatform(DBWorkbench.java:45)
at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.initDebugWriter(DBeaverApplication.java:631)
at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(DBeaverApplication.java:238)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/resources/ResourcesPlugin
at org.jkiss.dbeaver.core.DesktopPlatform.initialize(DesktopPlatform.java:155)
at org.jkiss.dbeaver.core.DesktopPlatform.createInstance(DesktopPlatform.java:105)
... 34 more
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.core.resources (46).
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:126)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:335)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:384)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:41)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:471)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:403)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 36 more
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:828)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:759)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1019)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:404)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
... 44 more
Caused by: org.eclipse.core.internal.resources.ResourceException: Incompatible file format. Workspace was saved with an incompatible version: 0.
at org.eclipse.core.internal.resources.WorkspaceTreeReader.getReader(WorkspaceTreeReader.java:62)
at org.eclipse.core.internal.resources.WorkspaceTreeReader.getReader(WorkspaceTreeReader.java:70)
at org.eclipse.core.internal.resources.SaveManager.restoreTree(SaveManager.java:1038)
at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:708)
at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1555)
at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:2480)
at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:2231)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:475)
at org.eclipse.osgi.internal.framework.BundleContextImpl.lambda$2(BundleContextImpl.java:808)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:802)
... 51 more
Caused by: java.lang.Exception: Incompatible file format. Workspace was saved with an incompatible version: 0.
at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42)
at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38)
... 62 more
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
DBeaver failing to open - DBeaver Forum • View topic
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.core.resources (18). at org.
Read more >Log files - DBeaver Documentation
There is an Error Log view (main menu Window->Show View->Error Log) which contains all errors which occur during the DBeaver runtime.
Read more >Ask Question - Stack Overflow
dbeaver was working fine in my system.But,suddenly it is giving an error "See the log file /home/system/.dbeaver/.metadata/.log". Please, ...
Read more >[SOLVED] How To Fix Dbeaver.exe Errors - Solvusoft
EXE problems with dbeaver.exe most often stem from a corrupt or missing executable file, which often occur duing the startup of Third-Party Application....
Read more >MySQL 1064 Error: You have an error in your SQL syntax
The 1064 error displays any time you have an issue with your SQL syntax, and is often due to using reserved words, missing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I know this topic is closed, but I had the same problem. For me, the solution was to delete the %APPDATA%/Roaming/DBeaverData/workspace6/.metadata/.plugins folder. (Or I actually renamed it) The issue seemed to be in one of the plugins. On startup, it will redownload the plugins.
great!!