Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312508 - NPE at PluginImportWizardDetailedPage.dispose
Summary: NPE at PluginImportWizardDetailedPage.dispose
Status: CLOSED DUPLICATE of bug 313952
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 16:35 EDT by Thomas Watson CLA
Modified: 2010-05-26 06:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA 2010-05-11 16:35:54 EDT
I'm not really sure how to reproduce this.  I was importing "Projects from a repository" using the new Eclipse-SourceReferences header.  While waiting for the project to be checked out from CVS (I was checking out org.eclipse.pde.ui) I tried to import another project using the "Projects from a repository" option.  Somehow I got into a situation where I could not move exit the dialog.  I got the following NPE in my log:

java.lang.NullPointerException
at org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardDetailedPage.dispose(PluginImportWizardDetailedPage.java:647)
at org.eclipse.jface.wizard.Wizard.dispose(Wizard.java:188)
at org.eclipse.jface.wizard.WizardDialog.hardClose(WizardDialog.java:859)
at org.eclipse.jface.wizard.WizardDialog.close(WizardDialog.java:484)
at org.eclipse.jface.wizard.WizardDialog.cancelPressed(WizardDialog.java:471)
at org.eclipse.jface.wizard.WizardDialog$1.widgetSelected(WizardDialog.java:321)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3764)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1343)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1366)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1351)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1163)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3610)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3265)
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$Import.executeHandler(WizardHandler.java:147)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
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.ui.internal.actions.CommandAction.run(CommandAction.java:171)
at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:97)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
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.Display.sendEvent(Display.java:3764)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1343)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1366)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1351)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1163)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3610)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3265)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2624)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2588)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2422)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
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:592)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

I had to force Eclipse to quit to get out of the dialog.
Comment 1 Dani Megert CLA 2010-05-26 06:10:42 EDT

*** This bug has been marked as a duplicate of bug 313952 ***