directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott" <isc...@fusemail.com>
Subject Can't start Directory Studio under Ubuntu
Date Wed, 10 Sep 2008 13:01:50 GMT
Hi,

I downloaded Apache Directory Studio 1.2 and attempted to run it on Ubuntu
7.10 however I get a class def no found:

./ApacheDirectoryStudio
0    [main] INFO  org.apache.directory.studio.Application  - Entering
Apache Directory Studio.
exception thrown: java.lang.ClassNotFoundException:
org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeValueEditorRelation
not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/scott/installs/ApacheDirectoryStudio-linux-x86-1.2.0.v20080818/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} -
message:
org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeValueEditorRelation
not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/scott/installs/ApacheDirectoryStudio-linux-x86-1.2.0.v20080818/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
exception thrown: java.lang.reflect.InvocationTargetException - message: null
Exception in thread "Thread-3" java.lang.NoClassDefFoundError:
org.apache.directory.studio.ldapbrowser.ui.wizards.NewEntryWizard
   at java.lang.Class.initializeClass(libgcj.so.81)
   at
org.apache.directory.studio.ldapbrowser.ui.perspective.BrowserPerspective.defineActions(BrowserPerspective.java:83)
   at
org.apache.directory.studio.ldapbrowser.ui.perspective.BrowserPerspective.createInitialLayout(BrowserPerspective.java:66)
   at
org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:768)
   at
org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:258)
   at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:146)
   at
org.eclipse.ui.internal.WorkbenchPage.createPerspective(WorkbenchPage.java:1546)
   at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:2336)
   at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:561)
   at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:732)
   at
org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1023)
   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:129)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
   at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:801)
   at
org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
   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:129)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.apache.directory.studio.Application.start(Application.java:61)
   at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   at java.lang.reflect.Method.invoke(libgcj.so.81)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by:
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException:
An error occurred while automatically activating bundle
org.apache.directory.studio.ldapbrowser.common (108).
   at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)
   at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
   at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
   at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
   at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
   at java.lang.ClassLoader.loadClass(libgcj.so.81)
   at java.lang.VMClassLoader.defineClass(libgcj.so.81)
   at java.lang.ClassLoader.defineClass(libgcj.so.81)
   at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
   at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
   at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
   at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
   at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
   at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
   at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
   at java.lang.ClassLoader.loadClass(libgcj.so.81)
   at java.lang.Class.initializeClass(libgcj.so.81)
   ...39 more
Caused by: org.osgi.framework.BundleException: Exception in
org.apache.directory.studio.ldapbrowser.common.BrowserCommonActivator.start()
of bundle org.apache.directory.studio.ldapbrowser.common.
   at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
   at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
   at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
   at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
   at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
   at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
   ...63 more
Caused by: java.util.EmptyStackException
   at java.util.Stack.pop(libgcj.so.81)
   at gnu.java.beans.encoder.Root.deleteLast(libgcj.so.81)
   at gnu.java.beans.encoder.ScanEngine.revoke(libgcj.so.81)
   at java.beans.XMLEncoder.writeExpression(libgcj.so.81)
   at java.beans.PersistenceDelegate.writeObject(libgcj.so.81)
   at java.beans.Encoder.writeObject(libgcj.so.81)
   at java.beans.XMLEncoder.writeObject(libgcj.so.81)
   at
org.apache.directory.studio.ldapbrowser.core.utils.Utils.serialize(Utils.java:224)
   at
org.apache.directory.studio.ldapbrowser.common.ValueEditorsPreferences.storeDefault(ValueEditorsPreferences.java:256)
   at
org.apache.directory.studio.ldapbrowser.common.ValueEditorsPreferences.setDefaultAttributeValueEditorRelations(ValueEditorsPreferences.java:135)
   at
org.apache.directory.studio.ldapbrowser.common.BrowserCommonPreferencesInitializer.initializeDefaultPreferences(BrowserCommonPreferencesInitializer.java:110)
   at
org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.runInitializer(PreferenceServiceRegistryHelper.java:276)
   at
org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:130)
   at
org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:344)
   at
org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:163)
   at
org.eclipse.core.internal.preferences.DefaultPreferences.loadDefaults(DefaultPreferences.java:236)
   at
org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:232)
   at
org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:307)
   at
org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:543)
   at
org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:662)
   at
org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractScope.java:38)
   at
org.eclipse.core.runtime.preferences.DefaultScope.getNode(DefaultScope.java:67)
   at
org.eclipse.ui.preferences.ScopedPreferenceStore.getDefaultPreferences(ScopedPreferenceStore.java:247)
   at
org.eclipse.ui.preferences.ScopedPreferenceStore.getPreferenceNodes(ScopedPreferenceStore.java:281)
   at
org.eclipse.ui.preferences.ScopedPreferenceStore.internalGet(ScopedPreferenceStore.java:471)
   at
org.eclipse.ui.preferences.ScopedPreferenceStore.getString(ScopedPreferenceStore.java:531)
   at
org.eclipse.jface.text.templates.persistence.TemplateStore.loadCustomTemplates(TemplateStore.java:405)
   at
org.eclipse.jface.text.templates.persistence.TemplateStore.load(TemplateStore.java:109)
   at
org.apache.directory.studio.ldapbrowser.common.BrowserCommonActivator.start(BrowserCommonActivator.java:128)
   at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
   at java.security.AccessController.doPrivileged(libgcj.so.81)
   at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
   ...68 more
3606 [main] INFO  org.apache.directory.studio.Application  - Exiting
Apache Directory Studio.


Any ideas?  This is weird.

FYI--I am not running from within an existing Eclipse.  This is from a
fresh download of version 1.2 of Directory Studio

Mime
View raw message