Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 27533 invoked from network); 9 Oct 2010 16:43:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Oct 2010 16:43:57 -0000 Received: (qmail 30639 invoked by uid 500); 9 Oct 2010 16:43:57 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 30552 invoked by uid 500); 9 Oct 2010 16:43:56 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 30545 invoked by uid 99); 9 Oct 2010 16:43:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Oct 2010 16:43:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Oct 2010 16:43:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o99GhVCu014414 for ; Sat, 9 Oct 2010 16:43:31 GMT Message-ID: <11199388.55161286642611113.JavaMail.jira@thor> Date: Sat, 9 Oct 2010 12:43:31 -0400 (EDT) From: "Tyler Perkins (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSTUDIO-704) NullPointerException creating new online schema editor project In-Reply-To: <28612256.51631286594191819.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSTUDIO-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919511#action_12919511 ] Tyler Perkins commented on DIRSTUDIO-704: ----------------------------------------- Sorry, I was updating to 1.5.3 while I wrote this bug up. I get the same result for 1.5.3. > NullPointerException creating new online schema editor project > -------------------------------------------------------------- > > Key: DIRSTUDIO-704 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-704 > Project: Directory Studio > Issue Type: Bug > Components: studio-schemaeditor > Affects Versions: 1.5.2 > Environment: Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux > Reporter: Tyler Perkins > > Trying to add a new schema project selecting 'Online Schema from a Directory Server'. After selecting the connection I would like to use and hitting finish it waits a second and then returns back to the connection selection screen. The error log is showing a NullPointerException in the ProjectExporter class. Please see below: > null > Error > Fri Oct 08 21:15:29 MDT 2010 > Unhandled event loop exception > java.lang.NullPointerException > at org.apache.directory.studio.schemaeditor.model.io.ProjectsExporter.addProject(ProjectsExporter.java:133) > at org.apache.directory.studio.schemaeditor.model.io.ProjectsExporter.toDocument(ProjectsExporter.java:92) > at org.apache.directory.studio.schemaeditor.PluginUtils.saveProjects(PluginUtils.java:256) > at org.apache.directory.studio.schemaeditor.Activator$1.projectAdded(Activator.java:154) > at org.apache.directory.studio.schemaeditor.controller.ProjectsHandler.notifyProjectAdded(ProjectsHandler.java:308) > at org.apache.directory.studio.schemaeditor.controller.ProjectsHandler.addProject(ProjectsHandler.java:102) > at org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizard.performFinish(NewProjectWizard.java:194) > at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752) > at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) > at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) > at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) > at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) > at org.eclipse.jface.window.Window.open(Window.java:801) > at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:253) > at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273) > at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294) > at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) > at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) > at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) > at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) > at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157) > at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) > at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) > at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) > 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.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) > 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(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:559) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) > at org.eclipse.equinox.launcher.Main.run(Main.java:1311) > at org.eclipse.equinox.launcher.Main.main(Main.java:1287) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.