NullPointerException raised when selecting an OC with no alias as a superior in 
the NewObjectClassWizard
--------------------------------------------------------------------------------------------------------

                 Key: DIRSTUDIO-213
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-213
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-schemaeditor
    Affects Versions: 1.0.1
            Reporter: Pierre-Arnaud Marcelot
            Assignee: Pierre-Arnaud Marcelot
             Fix For: 1.1.0


NullPointerException raised when selecting an OC with no alias as a superior in 
the NewObjectClassWizard.

!ENTRY org.eclipse.ui 4 0 2007-10-02 17:06:51.162
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
        at 
org.apache.directory.studio.schemaeditor.controller.SchemaHandler.getObjectClass(SchemaHandler.java:255)
        at 
org.apache.directory.studio.schemaeditor.model.hierarchy.HierarchyManager.addObjectClass(HierarchyManager.java:132)
        at 
org.apache.directory.studio.schemaeditor.model.hierarchy.HierarchyManager.objectClassAdded(HierarchyManager.java:356)
        at 
org.apache.directory.studio.schemaeditor.view.views.SchemaViewContentProvider.objectClassAdded(SchemaViewContentProvider.java:709)
        at 
org.apache.directory.studio.schemaeditor.controller.SchemaViewController$1.objectClassAdded(SchemaViewController.java:283)
        at 
org.apache.directory.studio.schemaeditor.controller.SchemaHandler.notifyObjectClassAdded(SchemaHandler.java:980)
        at 
org.apache.directory.studio.schemaeditor.controller.SchemaHandler.addObjectClass(SchemaHandler.java:793)
        at 
org.apache.directory.studio.schemaeditor.view.wizards.NewObjectClassWizard.performFinish(NewObjectClassWizard.java:87)
        at 
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
        at 
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
        at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at 
org.apache.directory.studio.schemaeditor.controller.actions.NewObjectClassAction.run(NewObjectClassAction.java:127)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
        at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
        at 
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:443)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
        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.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
        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 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.equinox.launcher.Main.invokeFramework(Main.java:504)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

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

Reply via email to