Hi Chris, I think this is because you don't have any Schema project opened.
You should first create a Schema Project in the Schema Editor perspective and then try to import the eduPerson OpenLDAP schema file. The import and export wizards should be disabled when there's no open project. I'll add a Jira about that. Regards, Pierre-Arnaud Marcelot On 12/18/07, Chris G. Sellers <[EMAIL PROTECTED]> wrote: > > Ok, I found out also that the .log file contains this when trying to > add the schema: > > !ENTRY org.eclipse.ui 4 4 2007-12-18 16:27:04.229 > !MESSAGE Unhandled event loop exception > > !ENTRY org.eclipse.ui 4 0 2007-12-18 16:27:04.230 > !MESSAGE java.lang.NullPointerException > !STACK 0 > java.lang.NullPointerException > at > org > .apache > .directory > .studio > .schemaeditor > .view.wizards.ImportSchemasFromOpenLdapWizard.performFinish(Unknown > Source) > at > org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java: > 680) > at > org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java: > 355) > at org.eclipse.jface.dialogs.Dialog > $3.widgetSelected(Dialog.java:660) > at > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) > at > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) > at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java: > 1279) > at > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312) > at > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941) > at org.eclipse.jface.window.Window.runEventLoop(Window.java: > 820) > at org.eclipse.jface.window.Window.open(Window.java:796) > at > org > .eclipse > .ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:159) > at > org > .eclipse > .ui > .actions > .BaseSelectionListenerAction > .runWithEvent(BaseSelectionListenerAction.java:168) > at > org > .eclipse > .jface > .action > .ActionContributionItem > .handleWidgetSelection(ActionContributionItem.java:539) > at org.eclipse.jface.action.ActionContributionItem.access > $2(ActionContributionItem.java:488) > at org.eclipse.jface.action.ActionContributionItem > $5.handleEvent(ActionContributionItem.java:400) > at > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) > at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java: > 1279) > at > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312) > at > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941) > at > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) > at > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: > 419) > at > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > at org.apache.directory.studio.Application.run(Unknown Source) > at org.eclipse.core.internal.runtime.PlatformActivator > $1.run(PlatformActivator.java:78) > at > org > .eclipse > .core > .runtime > .internal > .adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) > at > org > .eclipse > .core > .runtime > .internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) > at > org > .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: > 400) > at > org > .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: > 177) > 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:585) > at org.eclipse.core.launcher.Main.invokeFramework(Main.java: > 336) > at org.eclipse.core.launcher.Main.basicRun(Main.java:280) > at org.eclipse.core.launcher.Main.run(Main.java:977) > at org.eclipse.core.launcher.Main.main(Main.java:952) > (END) > > > > I also tried Studio 0.8 to see if it made a difference and the > documentation referenced applies to the older version more but it > still didn't add the eduPerson schema. > > I hope this is helpful. > > Sellers > > On Dec 18, 2007, at 4:08 PM, Chris G. Sellers wrote: > > > I've tested the studio console 1.0.1 on MacOSX and Linux. In both > > cases, I can not add a schema to the ADS 1.5.1 install . The option > > is simply greyed out. > > > > I was following > http://directory.apache.org/apacheds/1.5/add-your-first-elements-to-the-schema.html#Addyourfirstelementstotheschema-UsingApacheDirectoryStudiotoloadthenewschemaelements > > > > But when I get to the screen, it's greyed out. If I use File Import > > Schema Studio and choose the eduPerson OpenLDAP .schema file, when I > > click Finish it just sits there and not not accept the Finish button. > > > > I can't seem to find any logs in the client. I have not tried to add > > via JNDI. > > > > Ideas? > > > > Sellers > > > > ______________________________________________ > > Chris G. Sellers | NITLE Technology > > 734.661.2318 | [EMAIL PROTECTED] > > AIM: imthewherd | GTalk: [EMAIL PROTECTED] > > > > ______________________________________________ > Chris G. Sellers | NITLE Technology > 734.661.2318 | [EMAIL PROTECTED] > AIM: imthewherd | GTalk: [EMAIL PROTECTED] > >
