Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 49511 - NPE when using wizard to import external plug-ins
Summary: NPE when using wizard to import external plug-ins
Status: RESOLVED DUPLICATE of bug 47255
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 18:52 EST by Sebastian Davids CLA
Modified: 2004-01-09 04:31 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Davids CLA 2004-01-04 18:52:24 EST
Version: 3.0.0 Build id: 200401030010 Motif drop
(eclipse-SDK-N20040103-linux-motif.zip)

Clean install.

File/Import... External Plug-ins and Fragments

NPE after I press "Next>":

java.lang.NullPointerException
	at org.eclipse.pde.internal.core.PDECore.initializeModels(PDECore.java:428)
	at org.eclipse.pde.internal.core.PDECore.getWorkspaceModelManager(PDECore.java:361)
	at
org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardExpressPage$PluginContentProvider.getElements(PluginImportWizardExpressPage.java:41)
	at
org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:516)
	at
org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:463)
	at
org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:567)
	at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:448)
	at org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:432)
	at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:870)
	at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:810)
	at
org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:289)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:868)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:830)
	at org.eclipse.jface.viewers.TableViewer.inputChanged(TableViewer.java:399)
	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:238)
	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1004)
	at
org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardExpressPage.createTablePart(PluginImportWizardExpressPage.java:147)
	at
org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardExpressPage.createControl(PluginImportWizardExpressPage.java:105)
	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:171)
	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:524)
	at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:889)
	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:943)
	at org.eclipse.jface.wizard.WizardDialog.access$1(WizardDialog.java:940)
	at org.eclipse.jface.wizard.WizardDialog$3.run(WizardDialog.java:929)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
	at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:927)
	at
org.eclipse.ui.internal.dialogs.WorkbenchWizardListSelectionPage.doubleClick(WorkbenchWizardListSelectionPage.java:187)
	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:381)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
	at org.eclipse.core.runtime.Platform.run(Platform.java:457)
	at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:379)
	at
org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:598)
	at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:693)
	at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:187)
	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:184)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:231)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:738)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:538)
	at org.eclipse.swt.widgets.Table.columnMouseDoubleClick(Table.java:276)
	at org.eclipse.swt.widgets.Table.handleEvents(Table.java:1303)
	at
org.eclipse.swt.widgets.SelectableItemWidget$2.handleEvent(SelectableItemWidget.java:1206)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:586)
	at org.eclipse.jface.window.Window.open(Window.java:566)
	at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:149)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:509)
	at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:461)
	at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:408)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
	at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
	at java.lang.reflect.Method.invoke(Method.java:386)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
	at org.eclipse.core.launcher.Main.run(Main.java:742)
	at org.eclipse.core.launcher.Main.main(Main.java:581)
Comment 1 Wassim Melhem CLA 2004-01-09 04:31:47 EST
Caused by the same problem as bug 47255

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