Bug 4272 - NPE from ExtractMethodAction (1GKRSGD)
Summary: NPE from ExtractMethodAction (1GKRSGD)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:08 EDT by Martin Aeschlimann CLA
Modified: 2001-10-12 06:54 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 Martin Aeschlimann CLA 2001-10-10 23:08:56 EDT
MA (28.09.2001 17:41:47)
	Probably occurred while closing an editor.

java.lang.NullPointerException
	at org.eclipse.jdt.internal.ui.refactoring.actions.ExtractMethodAction$1.partClosed(ExtractMethodAction.java:139)
	at org.eclipse.ui.internal.PartListenerList$3.run(PartListenerList.java(Compiled Code))
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Compiled Code))
	at org.eclipse.ui.internal.PartListenerList.firePartClosed(PartListenerList.java(Compiled Code))
	at org.eclipse.ui.internal.PartListenerList.firePartClosed(PartListenerList.java(Compiled Code))
	at org.eclipse.ui.internal.WWinPartService.partClosed(WWinPartService.java:98)
	at org.eclipse.ui.internal.PartListenerList$3.run(PartListenerList.java(Compiled Code))
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Compiled Code))
	at org.eclipse.ui.internal.PartListenerList.firePartClosed(PartListenerList.java(Compiled Code))
	at org.eclipse.ui.internal.PartListenerList.firePartClosed(PartListenerList.java(Compiled Code))
	at org.eclipse.ui.internal.WorkbenchPage.firePartClosed(WorkbenchPage.java:589)
	at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:369)
	at org.eclipse.ui.internal.CloseAllAction.run(CloseAllAction.java:72)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java(Compiled Code))
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java(Compiled Code))
	at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled Code))
	at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(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.run(Workbench.java:658)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:815)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
	at org.eclipse.core.launcher.Main.run(Main.java:433)
	at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)


NOTES:

DB (28.09.2001 18:45:47)
	Should be fixed in the latest.
Comment 1 Claude Knaus CLA 2001-10-12 06:54:08 EDT
moved to fixed