directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSTUDIO-689) Apache Directory Studio can't create connection or browser views
Date Wed, 25 Aug 2010 18:09:16 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902547#action_12902547
] 

Stefan Seelmann commented on DIRSTUDIO-689:
-------------------------------------------

I think the important information is:
> Caused by: java.lang.OutOfMemoryError: Java heap space 

That happens while reading the locally saved schema of existing connections at startup. How
many connections do you have configured?

Could you please try to increase the heap memory? See http://directory.apache.org/studio/faqs.html#FAQs-Howtoincreasetheheapmemory%3F
how this works.

Sorry for the inconvenience.

> Apache Directory Studio can't create connection or browser views
> ----------------------------------------------------------------
>
>                 Key: DIRSTUDIO-689
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-689
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-connection, studio-ldapbrowser
>    Affects Versions: 1.4.0, 1.5.3
>         Environment: Windows XP SP3, Java JRE 6
>            Reporter: James Spinks
>
> I had version 1.4.0 installed and working, but decided to upgrade to 1.5.3.  The upgrade
requested the removal of the previous version and then was installed.  Since then, I've been
unable to open the Connections, LDAP Browser views or the Modification or Search logs views.
 I've tried removing 1.5.3 and reinstalling 1.4.0 but that now suffers from the same problems.
> The messages shown are as follows:
> Connections view:
> Could not create the view: Plug-in org.apache.directory.studio.ldapbrowser.ui was unable
to load class org.apache.directory.studio.ldapbrowser.ui.views.connection.ConnectionView.
> LDAP Browser view:
> Could not create the view: Plug-in org.apache.directory.studio.ldapbrowser.ui was unable
to load class org.apache.directory.studio.ldapbrowser.ui.views.browser.BrowserView.
> The log views are similar, but with different classes listed: org.apache.directory.studio.ldapbrowser.ui.views.searchlogs.SearchLogsView
and org.apache.directory.studio.ldapbrowser.ui.views.modificationlogs.ModificationLogsView
respectively.
> Clicking on the Details button for the Connections view error brings up the following
output:
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException:
An error occurred while automatically activating bundle org.apache.directory.studio.ldapbrowser.ui
(21).
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)
> 	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
> 	at java.lang.ClassLoader.loadClass(Unknown Source)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
> 	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
> 	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
> 	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
> 	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
> 	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
> 	at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:63)
> 	at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:324)
> 	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)
> 	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
> 	at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4212)
> 	at org.eclipse.ui.internal.WorkbenchPage$18.runWithException(WorkbenchPage.java:3271)
> 	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:134)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
> 	at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
> 	at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
> 	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:134)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.apache.directory.studio.Application.start(Application.java:58)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
> 	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:368)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> Caused by: org.osgi.framework.BundleException: Exception in org.apache.directory.studio.ldapbrowser.ui.BrowserUIPlugin.start()
of bundle org.apache.directory.studio.ldapbrowser.ui.
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
> 	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
> 	... 55 more
> Caused by: java.lang.NoClassDefFoundError: org/apache/directory/studio/ldapbrowser/core/events/EntryUpdateListener
> 	at org.apache.directory.studio.ldapbrowser.ui.BrowserUIPlugin.start(BrowserUIPlugin.java:71)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
> 	... 60 more
> Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException:
An error occurred while automatically activating bundle org.apache.directory.studio.ldapbrowser.core
(19).
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)
> 	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
> 	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
> 	at java.lang.ClassLoader.loadClass(Unknown Source)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	... 64 more
> Caused by: org.osgi.framework.BundleException: Exception in org.apache.directory.studio.ldapbrowser.core.BrowserCorePlugin.start()
of bundle org.apache.directory.studio.ldapbrowser.core.
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
> 	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
> 	... 74 more
> Caused by: java.lang.OutOfMemoryError: Java heap space
> 	at java.lang.AbstractStringBuilder.<init>(Unknown Source)
> 	at java.lang.StringBuffer.<init>(Unknown Source)
> 	at org.apache.directory.studio.ldifparser.parser.LdifScanner.addFolding(LdifScanner.java:214)
> 	at org.apache.directory.studio.ldifparser.parser.LdifScanner.read(LdifScanner.java:303)
> 	at org.apache.directory.studio.ldifparser.parser.LdifScanner.getContent(LdifScanner.java:430)
> 	at org.apache.directory.studio.ldifparser.parser.LdifScanner.matchValue(LdifScanner.java:1047)
> 	at org.apache.directory.studio.ldifparser.parser.LdifParser.getAttrValLine(LdifParser.java:1022)
> 	at org.apache.directory.studio.ldifparser.parser.LdifParser.parseAttrValRecord(LdifParser.java:692)
> 	at org.apache.directory.studio.ldifparser.parser.LdifParser.checkAndParseRecord(LdifParser.java:435)
> 	at org.apache.directory.studio.ldifparser.parser.LdifParser.access$200(LdifParser.java:63)
> 	at org.apache.directory.studio.ldifparser.parser.LdifParser$1.hasNext(LdifParser.java:137)
> 	at org.apache.directory.studio.ldapbrowser.core.model.schema.Schema.loadFromLdif(Schema.java:172)
> 	at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionManager.loadBrowserConnections(BrowserConnectionManager.java:446)
> 	at org.apache.directory.studio.ldapbrowser.core.BrowserConnectionManager.<init>(BrowserConnectionManager.java:90)
> 	at org.apache.directory.studio.ldapbrowser.core.BrowserCorePlugin.start(BrowserCorePlugin.java:82)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
> 	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
> 	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
> 	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
> 	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
> 	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
> 	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
> 	at java.lang.ClassLoader.loadClass(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message