CenOS6.2 dbeaver can not launcher:Project 'DBeaver' not foun

Note: please leave bug reports and feature requests on

CenOS6.2 dbeaver can not launcher:Project 'DBeaver' not foun

Postby irockytan » Mon Mar 26, 2012 8:46 am

Hello!
I use the CentOS6.2 and download the dbeaver-1.5.2-linux.gtk.x86.zip to my computer.
when I exec the dbeaver i got a error,the log is:
!SESSION 2012-03-26 16:25:26.595 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.jkiss.dbeaver.core 4 0 2012-03-26 16:25:28.516
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.jkiss.dbeaver.registry.ProjectRegistry.initializeProject(ProjectRegistry.java:288)
at org.jkiss.dbeaver.registry.ProjectRegistry.loadProjects(ProjectRegistry.java:94)
at org.jkiss.dbeaver.core.DBeaverCore$1.run(DBeaverCore.java:192)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1162)
at org.jkiss.dbeaver.core.DBeaverCore.initialize(DBeaverCore.java:174)
at org.jkiss.dbeaver.core.DBeaverCore.createInstance(DBeaverCore.java:106)
at org.jkiss.dbeaver.core.DBeaverCore.getInstance(DBeaverCore.java:91)
at org.jkiss.dbeaver.core.ApplicationWorkbenchAdvisor.initialize(ApplicationWorkbenchAdvisor.java:61)
at org.eclipse.ui.application.WorkbenchAdvisor.internalBasicInitialize(WorkbenchAdvisor.java:188)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1536)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
org.jkiss.dbeaver.core.DBeaverApplication.start(DBeaverApplication.java:68)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
!SUBENTRY 1 org.jkiss.dbeaver.core 4 0 2012-03-26 16:25:28.517
!MESSAGE NullPointerException

!ENTRY org.jkiss.dbeaver.core 2 0 2012-03-26 16:25:28.644
!MESSAGE Project 'DBeaver' didn't has project ID

!ENTRY org.eclipse.ui 4 0 2012-03-26 16:25:28.646
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalStateException: Project 'DBeaver' not found in registry
at org.jkiss.dbeaver.registry.ProjectRegistry.getDataSourceRegistry(ProjectRegistry.java:214)
at org.jkiss.dbeaver.core.ApplicationToolbarDataSources.<init>(ApplicationToolbarDataSources.java:147)
at org.jkiss.dbeaver.core.ApplicationActionBarAdvisor.fillCoolBar(ApplicationActionBarAdvisor.java:163)
at org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:153)
at org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3564)
at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:419)
at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workbench3xImplementation.java:31)
at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1920)
at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1918)
at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1202)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1595)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.jkiss.dbeaver.core.DBeaverApplication.start(DBeaverApplication.java:68)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY org.jkiss.dbeaver.core 2 0 2012-03-26 16:25:28.701
!MESSAGE Some project listeners are still register: [org.jkiss.dbeaver.core.ApplicationWorkbenchWindowAdvisor@18f1a31]

!ENTRY org.jkiss.dbeaver.core 2 0 2012-03-26 16:25:28.702
!MESSAGE Some datasource registry listeners are still registered: [org.jkiss.dbeaver.core.ApplicationToolbarDataSources@c550]
!SESSION 2012-03-26 16:26:47.186 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.jkiss.dbeaver.core 4 0 2012-03-26 16:26:48.656
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.jkiss.dbeaver.registry.ProjectRegistry.initializeProject(ProjectRegistry.java:288)
at org.jkiss.dbeaver.registry.ProjectRegistry.loadProjects(ProjectRegistry.java:94)
at org.jkiss.dbeaver.core.DBeaverCore$1.run(DBeaverCore.java:192)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1162)
at org.jkiss.dbeaver.core.DBeaverCore.initialize(DBeaverCore.java:174)
at org.jkiss.dbeaver.core.DBeaverCore.createInstance(DBeaverCore.java:106)
at org.jkiss.dbeaver.core.DBeaverCore.getInstance(DBeaverCore.java:91)
at org.jkiss.dbeaver.core.ApplicationWorkbenchAdvisor.initialize(ApplicationWorkbenchAdvisor.java:61)
at org.eclipse.ui.application.WorkbenchAdvisor.internalBasicInitialize(WorkbenchAdvisor.java:188)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1536)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.jkiss.dbeaver.core.DBeaverApplication.start(DBeaverApplication.java:68)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
!SUBENTRY 1 org.jkiss.dbeaver.core 4 0 2012-03-26 16:26:48.657
!MESSAGE NullPointerException

!ENTRY org.jkiss.dbeaver.core 2 0 2012-03-26 16:26:48.798
!MESSAGE Project 'DBeaver' didn't has project ID

!ENTRY org.eclipse.ui 4 0 2012-03-26 16:26:48.799
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalStateException: Project 'DBeaver' not found in registry
at org.jkiss.dbeaver.registry.ProjectRegistry.getDataSourceRegistry(ProjectRegistry.java:214)
at org.jkiss.dbeaver.core.ApplicationToolbarDataSources.<init>(ApplicationToolbarDataSources.java:147)
at org.jkiss.dbeaver.core.ApplicationActionBarAdvisor.fillCoolBar(ApplicationActionBarAdvisor.java:163)
at org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:153)
at org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3564)
at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:419)
at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workbench3xImplementation.java:31)
at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1920)
at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1918)
at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1202)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1595)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.jkiss.dbeaver.core.DBeaverApplication.start(DBeaverApplication.java:68)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY org.jkiss.dbeaver.core 2 0 2012-03-26 16:26:48.835
!MESSAGE Some project listeners are still register: [org.jkiss.dbeaver.core.ApplicationWorkbenchWindowAdvisor@e7e8eb]

!ENTRY org.jkiss.dbeaver.core 2 0 2012-03-26 16:26:48.835
!MESSAGE Some datasource registry listeners are still registered: [org.jkiss.dbeaver.core.ApplicationToolbarDataSources@16cbd97]

anyone can help me?
irockytan
 
Posts: 2
Joined: Mon Mar 26, 2012 8:40 am

Re: CenOS6.2 dbeaver can not launcher:Project 'DBeaver' not

Postby Serge » Mon Mar 26, 2012 6:25 pm

Hi!

This is very surprising error.
As I see from source code this error may occur only if GUID generation fails for some reason. GUID generator uses very basic algorythm based on localhost IP, random numbers and MD5 hash. Probably there are some low-level networking problems in your Java version. Anyway, I've added workaround for any troubles which may occur in this case and hope it will help.
Could check latest EA version ()? It contains fix of this bug.

Thank you for report!
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: CenOS6.2 dbeaver can not launcher:Project 'DBeaver' not

Postby irockytan » Sun Apr 01, 2012 2:55 am

Thank you very much!I've fixed my bug, my centos has default installed openJDK and i install the sun-jdk use a bin file from oracle download , then in / etc / profile which does not use update-alternatives configure the java environment, I think dbeaver should call / usr / bin / java instead of calling the configured java environment variables, so it got this error.
when I use "update-alternative - install java" install my own Java environment, this problem has been solved.
Thanks angin.
irockytan
 
Posts: 2
Joined: Mon Mar 26, 2012 8:40 am


Return to Support



Who is online

Users browsing this forum: Google [Bot] and 18 guests