Bug 19227 - [ExternalTools] NPE opening edit dialog
Summary: [ExternalTools] NPE opening edit dialog
Status: RESOLVED DUPLICATE of bug 18774
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 critical (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Ryan Cooper CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-06-04 17:14 EDT by Nick Edgar CLA
Modified: 2002-09-18 13:58 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 Nick Edgar CLA 2002-06-04 17:14:04 EDT
20020602-F2 build

Not sure how I got this, but I noticed the log had several occurrences of the 
following.  At one point I was adding and removing tools, and using cancel in 
the Config dialog.

!ENTRY org.eclipse.ui 4 0 Jun 04, 2002 15:52:33.621
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at 
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:85)
	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(Compiled 
Code))
	at org.eclipse.jface.window.Window.open(Window.java:538)
	at 
org.eclipse.ui.externaltools.internal.ui.ConfigurationDialog.openEditToolDialog
(ConfigurationDialog.java:273)
	at 
org.eclipse.ui.externaltools.internal.ui.ConfigurationDialog.access$1
(ConfigurationDialog.java:268)
	at 
org.eclipse.ui.externaltools.internal.ui.ConfigurationDialog$3.widgetSelected
(ConfigurationDialog.java:195)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:85)
	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(Compiled 
Code))
	at org.eclipse.jface.window.Window.open(Window.java:538)
	at 
org.eclipse.ui.externaltools.internal.ui.ExternalToolsAction.showConfigurationD
ialog(ExternalToolsAction.java:232)
	at 
org.eclipse.ui.externaltools.internal.ui.ExternalToolsAction.access$2
(ExternalToolsAction.java:229)
	at 
org.eclipse.ui.externaltools.internal.ui.ExternalToolsAction$3.widgetSelected
(ExternalToolsAction.java:161)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:85)
	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.run(Workbench.java:1160)
	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:244)
	at org.eclipse.core.launcher.Main.run(Main.java:693)
	at org.eclipse.core.launcher.Main.main(Main.java:526)
Comment 1 Nick Edgar CLA 2002-06-06 00:18:35 EDT
Probably a dup of bug 18924.
Except for the missing top stack frame, the stacks look the same.
Comment 2 Ryan Cooper CLA 2002-06-06 10:15:09 EDT

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