You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Eric Sirianni (JIRA)" <ji...@apache.org> on 2010/03/22 19:29:27 UTC

[jira] Created: (IVYDE-241) NullPointerException from IvyDE when adding library to launch configuration

NullPointerException from IvyDE when adding library to launch configuration
---------------------------------------------------------------------------

                 Key: IVYDE-241
                 URL: https://issues.apache.org/jira/browse/IVYDE-241
             Project: IvyDE
          Issue Type: Bug
          Components: launch configuration
    Affects Versions: 2.0.0.final
         Environment: Eclipse 3.5, Linux
            Reporter: Eric Sirianni


When trying to add an an "IvyDE Managed Dependencies" Library to the Classpath tab in an Eclipse launch configuration, a NullPointerException occurs when clicking the "Next >" button the first time.  Clicking the "Next >" button again yields a blank configuration page (see attachment).

Here is the stacktrace from <workspace>/.metadata/.log

{code}
!ENTRY org.eclipse.jface 4 2 2010-03-22 09:25:23.167
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
	at org.apache.ivyde.eclipse.workspaceresolver.WorkspaceIvySettings.decorate(WorkspaceIvySettings.java:48)
	at org.apache.ivyde.eclipse.workspaceresolver.WorkspaceIvySettings.getDefaultResolver(WorkspaceIvySettings.java:40)
	at org.apache.ivy.core.settings.IvySettings.dumpSettings(IvySettings.java:513)
	at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:393)
	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:580)
	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.doGetIvy(IvyClasspathContainerConfiguration.java:535)
	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:453)
	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getModuleDescriptor(IvyClasspathContainerConfiguration.java:803)
	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.checkIvyXmlPath(IvydeContainerPage.java:164)
	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage$5.ivyXmlPathUpdated(IvydeContainerPage.java:345)
	at org.apache.ivyde.eclipse.ui.IvyFilePathText.ivyXmlPathUpdated(IvyFilePathText.java:139)
	at org.apache.ivyde.eclipse.ui.IvyFilePathText$3.modifyText(IvyFilePathText.java:106)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
	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.Widget.sendEvent(Widget.java:1200)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1181)
	at org.eclipse.swt.widgets.Text.setText(Text.java:2014)
	at org.apache.ivyde.eclipse.ui.IvyFilePathText.init(IvyFilePathText.java:219)
	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.loadFromConf(IvydeContainerPage.java:500)
	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.createControl(IvydeContainerPage.java:280)
	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1157)
	at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)
	at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)
	at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerSelectionPage.doDoubleClick(ClasspathContainerSelectionPage.java:132)
	at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerSelectionPage$2.doubleClick(ClasspathContainerSelectionPage.java:94)
	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:821)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.runtime.Platform.run(Platform.java:888)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:819)
	at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1083)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1195)
	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
	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.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.openWizard(ClasspathContainerWizard.java:225)
	at org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseContainerEntries(BuildPathDialogAccess.java:276)
	at org.eclipse.jdt.internal.debug.ui.actions.AddLibraryAction.run(AddLibraryAction.java:39)
	at org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathAdvancedDialog.okPressed(RuntimeClasspathAdvancedDialog.java:156)
	at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
	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.jdt.internal.debug.ui.actions.AddAdvancedAction.run(AddAdvancedAction.java:39)
	at org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction$1.widgetSelected(RuntimeClasspathAction.java:137)
	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.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1064)
	at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:398)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:406)
	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:340)
	at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	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)
{code}

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


[jira] Resolved: (IVYDE-241) NullPointerException from IvyDE when adding library to launch configuration

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVYDE-241.
-----------------------------------

         Assignee: Nicolas Lalevée
    Fix Version/s: 2.1.0
       Resolution: Fixed

The launch configuration support has been greatly improved in the 2.1
It tested with 2.0, it effectively fail. I had no issue with 2.1. You should try to upgrade.

> NullPointerException from IvyDE when adding library to launch configuration
> ---------------------------------------------------------------------------
>
>                 Key: IVYDE-241
>                 URL: https://issues.apache.org/jira/browse/IVYDE-241
>             Project: IvyDE
>          Issue Type: Bug
>          Components: launch configuration
>    Affects Versions: 2.0.0.final
>         Environment: Eclipse 3.5, Linux
>            Reporter: Eric Sirianni
>            Assignee: Nicolas Lalevée
>             Fix For: 2.1.0
>
>         Attachments: Screenshot-Add Library .png
>
>
> When trying to add an an "IvyDE Managed Dependencies" Library to the Classpath tab in an Eclipse launch configuration, a NullPointerException occurs when clicking the "Next >" button the first time.  Clicking the "Next >" button again yields a blank configuration page (see attachment).
> Here is the stacktrace from <workspace>/.metadata/.log
> {code}
> !ENTRY org.eclipse.jface 4 2 2010-03-22 09:25:23.167
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> !STACK 0
> java.lang.NullPointerException
> 	at org.apache.ivyde.eclipse.workspaceresolver.WorkspaceIvySettings.decorate(WorkspaceIvySettings.java:48)
> 	at org.apache.ivyde.eclipse.workspaceresolver.WorkspaceIvySettings.getDefaultResolver(WorkspaceIvySettings.java:40)
> 	at org.apache.ivy.core.settings.IvySettings.dumpSettings(IvySettings.java:513)
> 	at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:393)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:580)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.doGetIvy(IvyClasspathContainerConfiguration.java:535)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:453)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getModuleDescriptor(IvyClasspathContainerConfiguration.java:803)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.checkIvyXmlPath(IvydeContainerPage.java:164)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage$5.ivyXmlPathUpdated(IvydeContainerPage.java:345)
> 	at org.apache.ivyde.eclipse.ui.IvyFilePathText.ivyXmlPathUpdated(IvyFilePathText.java:139)
> 	at org.apache.ivyde.eclipse.ui.IvyFilePathText$3.modifyText(IvyFilePathText.java:106)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
> 	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.Widget.sendEvent(Widget.java:1200)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1181)
> 	at org.eclipse.swt.widgets.Text.setText(Text.java:2014)
> 	at org.apache.ivyde.eclipse.ui.IvyFilePathText.init(IvyFilePathText.java:219)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.loadFromConf(IvydeContainerPage.java:500)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.createControl(IvydeContainerPage.java:280)
> 	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1157)
> 	at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)
> 	at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)
> 	at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerSelectionPage.doDoubleClick(ClasspathContainerSelectionPage.java:132)
> 	at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerSelectionPage$2.doubleClick(ClasspathContainerSelectionPage.java:94)
> 	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:821)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.core.runtime.Platform.run(Platform.java:888)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> 	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:819)
> 	at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1083)
> 	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1195)
> 	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
> 	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
> 	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
> 	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.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.openWizard(ClasspathContainerWizard.java:225)
> 	at org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseContainerEntries(BuildPathDialogAccess.java:276)
> 	at org.eclipse.jdt.internal.debug.ui.actions.AddLibraryAction.run(AddLibraryAction.java:39)
> 	at org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathAdvancedDialog.okPressed(RuntimeClasspathAdvancedDialog.java:156)
> 	at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
> 	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.jdt.internal.debug.ui.actions.AddAdvancedAction.run(AddAdvancedAction.java:39)
> 	at org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction$1.widgetSelected(RuntimeClasspathAction.java:137)
> 	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.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1064)
> 	at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:398)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:406)
> 	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:340)
> 	at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	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)
> {code}

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


[jira] Updated: (IVYDE-241) NullPointerException from IvyDE when adding library to launch configuration

Posted by "Eric Sirianni (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Sirianni updated IVYDE-241:
--------------------------------

    Attachment: Screenshot-Add Library .png

Screenshot of blank "Add Library" page

> NullPointerException from IvyDE when adding library to launch configuration
> ---------------------------------------------------------------------------
>
>                 Key: IVYDE-241
>                 URL: https://issues.apache.org/jira/browse/IVYDE-241
>             Project: IvyDE
>          Issue Type: Bug
>          Components: launch configuration
>    Affects Versions: 2.0.0.final
>         Environment: Eclipse 3.5, Linux
>            Reporter: Eric Sirianni
>         Attachments: Screenshot-Add Library .png
>
>
> When trying to add an an "IvyDE Managed Dependencies" Library to the Classpath tab in an Eclipse launch configuration, a NullPointerException occurs when clicking the "Next >" button the first time.  Clicking the "Next >" button again yields a blank configuration page (see attachment).
> Here is the stacktrace from <workspace>/.metadata/.log
> {code}
> !ENTRY org.eclipse.jface 4 2 2010-03-22 09:25:23.167
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> !STACK 0
> java.lang.NullPointerException
> 	at org.apache.ivyde.eclipse.workspaceresolver.WorkspaceIvySettings.decorate(WorkspaceIvySettings.java:48)
> 	at org.apache.ivyde.eclipse.workspaceresolver.WorkspaceIvySettings.getDefaultResolver(WorkspaceIvySettings.java:40)
> 	at org.apache.ivy.core.settings.IvySettings.dumpSettings(IvySettings.java:513)
> 	at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:393)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:580)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.doGetIvy(IvyClasspathContainerConfiguration.java:535)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:453)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getModuleDescriptor(IvyClasspathContainerConfiguration.java:803)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.checkIvyXmlPath(IvydeContainerPage.java:164)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage$5.ivyXmlPathUpdated(IvydeContainerPage.java:345)
> 	at org.apache.ivyde.eclipse.ui.IvyFilePathText.ivyXmlPathUpdated(IvyFilePathText.java:139)
> 	at org.apache.ivyde.eclipse.ui.IvyFilePathText$3.modifyText(IvyFilePathText.java:106)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
> 	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.Widget.sendEvent(Widget.java:1200)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1181)
> 	at org.eclipse.swt.widgets.Text.setText(Text.java:2014)
> 	at org.apache.ivyde.eclipse.ui.IvyFilePathText.init(IvyFilePathText.java:219)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.loadFromConf(IvydeContainerPage.java:500)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvydeContainerPage.createControl(IvydeContainerPage.java:280)
> 	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1157)
> 	at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)
> 	at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)
> 	at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerSelectionPage.doDoubleClick(ClasspathContainerSelectionPage.java:132)
> 	at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerSelectionPage$2.doubleClick(ClasspathContainerSelectionPage.java:94)
> 	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:821)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.core.runtime.Platform.run(Platform.java:888)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> 	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:819)
> 	at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1083)
> 	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1195)
> 	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
> 	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
> 	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
> 	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.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.openWizard(ClasspathContainerWizard.java:225)
> 	at org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseContainerEntries(BuildPathDialogAccess.java:276)
> 	at org.eclipse.jdt.internal.debug.ui.actions.AddLibraryAction.run(AddLibraryAction.java:39)
> 	at org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathAdvancedDialog.okPressed(RuntimeClasspathAdvancedDialog.java:156)
> 	at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
> 	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.jdt.internal.debug.ui.actions.AddAdvancedAction.run(AddAdvancedAction.java:39)
> 	at org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction$1.widgetSelected(RuntimeClasspathAction.java:137)
> 	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.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1064)
> 	at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:398)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:406)
> 	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:340)
> 	at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	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)
> {code}

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