Bug 18093 - NPE opening launch config dialog
Summary: NPE opening launch config dialog
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 18261 18278 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-28 15:06 EDT by Darin Wright CLA
Modified: 2002-06-06 10:31 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2002-05-28 15:06:49 EDT
I migrated to the 20020528 build and can no longer open the launch config 
dialog. I get this NPE

!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 May 28, 2002 14:16:04.941
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at org.eclipse.pde.internal.ui.launcher.AdvancedLauncherTab.findModel
(AdvancedLauncherTab.java:598)
	at 
org.eclipse.pde.internal.ui.launcher.AdvancedLauncherTab.validatePlugins
(AdvancedLauncherTab.java:586)
	at org.eclipse.pde.internal.ui.launcher.AdvancedLauncherTab.updateStatus
(AdvancedLauncherTab.java:575)
	at 
org.eclipse.pde.internal.ui.launcher.AdvancedLauncherTab.initializeFrom
(AdvancedLauncherTab.java:415)
	at 
org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.initializeFrom
(AbstractLaunchConfigurationTabGroup.java:78)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.set
LaunchConfiguration(LaunchConfigurationDialog.java:1336)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.sel
ectionChanged(LaunchConfigurationDialog.java:1265)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged
(Viewer.java:147)
	at org.eclipse.jface.viewers.StructuredViewer.updateSelection
(StructuredViewer.java:1154)
	at org.eclipse.jface.viewers.StructuredViewer.setSelection
(StructuredViewer.java:903)
	at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:342)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.doI
nitialTreeSelection(LaunchConfigurationDialog.java:453)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.cre
ateContents(LaunchConfigurationDialog.java:420)
	at org.eclipse.jface.window.Window.create(Window.java:278)
	at org.eclipse.jface.window.Window.open(Window.java:527)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.doL
astLaunchedConfig(LaunchConfigurationDialog.java:530)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.ope
n(LaunchConfigurationDialog.java:491)
	at 
org.eclipse.debug.internal.ui.actions.OpenLaunchConfigurationsAction.run
(OpenLaunchConfigurationsAction.java:133)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:590)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1527)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1289)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1085)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:739)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:200)
	at org.eclipse.core.launcher.Main.run(Main.java:643)
	at org.eclipse.core.launcher.Main.main(Main.java:476)
Comment 1 Darin Wright CLA 2002-05-28 15:14:02 EDT
I get the same exception whenever I try to create a new runtime workbench 
configuration.
Comment 2 Darin Wright CLA 2002-05-28 15:31:15 EDT
I had to create a new workspace to solve the problem.
Comment 3 Dejan Glozic CLA 2002-05-30 17:23:41 EDT
*** Bug 18261 has been marked as a duplicate of this bug. ***
Comment 4 Dejan Glozic CLA 2002-05-30 17:24:03 EDT
*** Bug 18278 has been marked as a duplicate of this bug. ***
Comment 5 Dejan Glozic CLA 2002-06-04 18:55:26 EDT
F3 candidate
Comment 6 Dejan Glozic CLA 2002-06-06 10:31:17 EDT
Fixed.