question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot open DBeaver in windows any more after 6.0.0

See original GitHub issue

System information:

  • Operating system (distribution) and version: Microsoft Windows 10 Enterprise Version 10.0.17134 Build 17134
  • DBeaver version: 6.0.0.201903101945
  • Java version: Bundled JRE
  • Additional extensions: None

Describe the problem you’re observing:

DBeaver won’t open at all, though the splashscreen does show.

Include any warning/errors/backtraces from the logs

I ran it with DBeaver CLI, but I can see the same error in ~/.debeaver4/.metadata

.\dbeaver-cli.exe
2019-03-18 12:00:24.519 - Create display
2019-03-18 12:00:24.712 - > Start org.jkiss.dbeaver.core [6.0.0.201903101945]
2019-03-18 12:00:24.727 - DBeaver 6.0.0.201903101945 is starting
2019-03-18 12:00:24.730 - OS: Windows 10 10.0 (amd64)
2019-03-18 12:00:24.731 - Java version: 1.8.0_77 by Oracle Corporation (64bit)
2019-03-18 12:00:24.734 - Install path: 'file:/C:/Program Files/DBeaver/'
2019-03-18 12:00:24.737 - Instance path: 'file:/C:/Users/gllobera/.dbeaver4/'
2019-03-18 12:00:24.739 - Memory available 245Mb/3616Mb
2019-03-18 12:00:24.769 - Starting RMI server at 25142
2019-03-18 12:00:24.836 - Run workbench
2019-03-18 12:00:24.852 - > Start org.eclipse.e4.ui.workbench.swt [0.14.300.v20180906-1121]
2019-03-18 12:00:24.859 - > Start org.eclipse.e4.core.services [2.1.200.v20180817-1215]
2019-03-18 12:00:24.860 - > Start org.eclipse.e4.core.contexts [1.7.100.v20180817-1215]
2019-03-18 12:00:24.874 - > Start org.eclipse.e4.ui.services [1.3.200.v20180906-1121]
2019-03-18 12:00:24.933 - > Start org.eclipse.e4.ui.di [1.2.300.v20180906-1121]
2019-03-18 12:00:24.994 - > Start org.eclipse.emf.common [2.15.0.v20180723-1316]
2019-03-18 12:00:25.023 - > Start org.eclipse.emf.ecore [2.15.0.v20180722-1159]
2019-03-18 12:00:25.164 - > Start org.eclipse.emf.ecore.xmi [2.15.0.v20180706-1146]
2019-03-18 12:00:25.371 - < Stop org.eclipse.core.resources [3.13.100.v20180828-0158]
2019-03-18 12:00:25.383 - Internal error in workbench lifecycle
java.lang.NoClassDefFoundError: org/eclipse/core/resources/ResourcesPlugin
        at org.eclipse.emf.ecore.plugin.EcorePlugin.getWorkspaceRoot(EcorePlugin.java:1149)
        at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.<clinit>(ExtensibleURIConverterImpl.java:393)
        at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getURIConverter(ResourceSetImpl.java:499)
        at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:369)
        at org.eclipse.e4.ui.internal.workbench.ResourceHandler.getResource(ResourceHandler.java:285)
        at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadResource(ResourceHandler.java:261)
        at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:168)
        at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:381)
        at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:256)
        at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:587)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
        at org.jkiss.dbeaver.core.application.DBeaverApplication.start(DBeaverApplication.java:184)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:199)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:391)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:246)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.core.resources (40).
        at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:126)
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:557)
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
        at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:39)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 26 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:803)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:732)
        at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1005)
        at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:357)
        at org.eclipse.osgi.container.Module.doStart(Module.java:584)
        at org.eclipse.osgi.container.Module.start(Module.java:452)
        at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:471)
        at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
        ... 35 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:1042)
        at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:705)
        at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1561)
        at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:2451)
        at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:2208)
        at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:489)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:782)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:775)
        ... 42 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)
        ... 54 more
2019-03-18 12:00:25.597 - DBeaver is stopping
2019-03-18 12:00:25.598 - Stop RMI server
2019-03-18 12:00:25.664 - < Stop org.jkiss.dbeaver.ext.mssql.ui [1.0.3.201903101945]

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

11reactions
bielllscommented, Mar 18, 2019

Fixed by deleting %HOMEPATH%/.dbeaver/.metadata/.plugins/org.eclipse.core.resources as specified in https://dbeaver.io/forum/viewtopic.php?f=2&t=1662. There wasn’t any .snap file. It’s a little annoying to lose the script associations but I guess it’s Eclipse’s fault and not DBeaver’s.

4reactions
Alastair-Lcommented, Jul 23, 2020

I had the same issue and this fixed it: https://github.com/dbeaver/dbeaver/issues/5517#issuecomment-473872921. Just wanted to add that for me that folder was instead at: %HOMEPATH%\AppData\Roaming\DBeaverData\workspace6\.metadata\.plugins. Not sure if that should have been obvious but I spent some time searching for it…

Read more comments on GitHub >

github_iconTop Results From Across the Web

DBeaver failing to open - DBeaver Forum • View topic
Hi All, My DBeaver application unexpectedly stopped opening last week. I am not sure what could have precipitated its crash - one day...
Read more >
Error while installing dbeaver - Java error code = 13
Change the JVM DBeaver is using: Go to the DBeaver-directory and add the lines ... 6.0.1 and later (because both Java and Eclipse...
Read more >
Silent Installation of DBeaver (6.0.0) - ManageEngine
Software Installation Guide ; Software Name, DBeaver (6.0.0) ; Version, 6.0.0 ; Platform, Windows ; Vendor, DBeaver ; Architecture, 32-bit.
Read more >
Develop in Eclipse - DBeaver Documentation
Open main menu Help -> Install New Software · Check all plugins and finish the installation process: · Restart Eclipse · In Eclipse...
Read more >
download dbeaver Code Example - Code Grepper
installing Dbeaver · Answers related to “download dbeaver” · Queries related to “download dbeaver” · More “Kinda” Related Answers View All Shell/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found