You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2013/03/20 18:11:15 UTC

[jira] [Resolved] (DIRSTUDIO-891) A schema project containing a reference to a deleted connection makes the perspective completely unusable

     [ https://issues.apache.org/jira/browse/DIRSTUDIO-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot resolved DIRSTUDIO-891.
----------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   2.0.0-M7

Fixed at revision 1458955.

http://svn.apache.org/r1458955
                
> A schema project containing a reference to a deleted connection makes the perspective completely unusable
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-891
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-891
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-schemaeditor
>    Affects Versions: 2.0.0-M6
>            Reporter: Emmanuel Lecharny
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Blocker
>             Fix For: 2.0.0-M7, 2.0.0
>
>
> If I switch to the Schema perspective, I can't anymore load or create Schema projects : I get a NPE :
> !ENTRY org.eclipse.jface 4 2 2013-03-20 10:58:37.177
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> !STACK 0
> java.lang.NullPointerException
>         at org.apache.directory.studio.schemaeditor.model.io.ProjectsExporter.addProject(ProjectsExporter.java:132)
>         at org.apache.directory.studio.schemaeditor.model.io.ProjectsExporter.toDocument(ProjectsExporter.java:91)
>         at org.apache.directory.studio.schemaeditor.PluginUtils.saveProjects(PluginUtils.java:255)
>         at org.apache.directory.studio.schemaeditor.Activator$1.openProjectChanged(Activator.java:146)
>         at org.apache.directory.studio.schemaeditor.controller.ProjectsHandler.notifyOpenProjectChanged(ProjectsHandler.java:357)
>         at org.apache.directory.studio.schemaeditor.controller.ProjectsHandler.openProject(ProjectsHandler.java:196)
>         at org.apache.directory.studio.schemaeditor.controller.ProjectsViewController$3.doubleClick(ProjectsViewController.java:213)
>         at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:845)
>         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>         at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
>         at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
>         at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:843)
>         at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1134)
>         at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1246)
>         at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:249)
>         at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:246)
>         at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:307)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>         at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4134)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
>         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3980)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3619)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
>         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
>         at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
>         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at org.apache.directory.studio.Application.start(Application.java:51)
>         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:353)
>         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
>         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:629)
>         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
>         at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira