Bug 18261 - NPE attempting to open launch config wizard
Summary: NPE attempting to open launch config wizard
Status: RESOLVED DUPLICATE of bug 18093
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-29 20:24 EDT by Kevin McGuire CLA
Modified: 2002-05-30 17:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McGuire CLA 2002-05-29 20:24:16 EDT
0529 build

NPE trying to Debug...

This prevents me from creating new java launch configs or editing existing.


!ENTRY org.eclipse.ui 4 4 May 29, 2002 20:32:56.490
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 May 29, 2002 20:32:56.500
!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:1390)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.sel
ectionChanged(LaunchConfigurationDialog.java:1319)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged
(Viewer.java:147)
	at org.eclipse.jface.viewers.StructuredViewer.updateSelection
(StructuredViewer.java:1153)
	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:478)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.cre
ateContents(LaunchConfigurationDialog.java:428)
	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:558)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.ope
n(LaunchConfigurationDialog.java:519)
	at 
org.eclipse.debug.internal.ui.actions.OpenLaunchConfigurationsAction.run
(OpenLaunchConfigurationsAction.java:133)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:749)
	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:1095)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1078)
	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 Kevin McGuire CLA 2002-05-29 20:41:56 EDT
(And of course you can't self host :(   )

This was with a pre-existing workspace, a few days old.

I torched it and in new workspace I don't get the problem.
Comment 2 Dejan Glozic CLA 2002-05-30 17:23:41 EDT

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