Bug 5015 - NullPointerException in refactor wizard
Summary: NullPointerException in refactor wizard
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Adam Kiezun CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-16 10:50 EDT by Tim Ellison CLA
Modified: 2001-10-26 11:39 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 Tim Ellison CLA 2001-10-16 10:50:29 EDT
Build 202a

Went to rename an existing interface.
- Entered the new name on the first page,
- Looked at the affected resources on the second page,
- but when I went to the third page of the wizard I got a walkback:

Log: Tue Oct 16 15:43:19 GMT+01:00 2001
4 org.eclipse.core.runtime 0 Unhandled exception caught in event loop.
java.lang.NullPointerException
	at org.eclipse.jdt.internal.ui.util.ExceptionHandler.perform
(ExceptionHandler.java:101)
	at org.eclipse.jdt.internal.ui.util.ExceptionHandler.handle
(ExceptionHandler.java:86)
	at org.eclipse.jdt.internal.ui.util.ExceptionHandler.handle
(ExceptionHandler.java:74)
	at 
org.eclipse.jdt.internal.ui.refactoring.RefactoringWizard.createChange
(RefactoringWizard.java:279)
	at org.eclipse.jdt.internal.ui.refactoring.ErrorWizardPage.getNextPage
(ErrorWizardPage.java:206)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed
(WizardDialog.java:641)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:309)
	at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:211)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.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.jface.window.Window.runEventLoop(Window.java(Compiled 
Code))
	at org.eclipse.jface.window.Window.open(Window.java:523)
	at 
org.eclipse.jdt.internal.ui.reorg.RefactoringSupportFactory$RenameSupport.rename
(RefactoringSupportFactory.java:67)
	at org.eclipse.jdt.internal.ui.reorg.RenameAction.run
(RenameAction.java:26)
	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.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:820)
	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.Main.main(Main.java:306)
Log: Tue Oct 16 15:43:20 GMT+01:00 2001
4 org.eclipse.core.runtime 0 java.lang.NullPointerException
java.lang.NullPointerException
	at org.eclipse.jdt.internal.ui.util.ExceptionHandler.perform
(ExceptionHandler.java:101)
	at org.eclipse.jdt.internal.ui.util.ExceptionHandler.handle
(ExceptionHandler.java:86)
	at org.eclipse.jdt.internal.ui.util.ExceptionHandler.handle
(ExceptionHandler.java:74)
	at 
org.eclipse.jdt.internal.ui.refactoring.RefactoringWizard.createChange
(RefactoringWizard.java:279)
	at org.eclipse.jdt.internal.ui.refactoring.ErrorWizardPage.getNextPage
(ErrorWizardPage.java:206)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed
(WizardDialog.java:641)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:309)
	at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:211)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.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.jface.window.Window.runEventLoop(Window.java(Compiled 
Code))
	at org.eclipse.jface.window.Window.open(Window.java:523)
	at 
org.eclipse.jdt.internal.ui.reorg.RefactoringSupportFactory$RenameSupport.rename
(RefactoringSupportFactory.java:67)
	at org.eclipse.jdt.internal.ui.reorg.RenameAction.run
(RenameAction.java:26)
	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.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:820)
	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.Main.main(Main.java:306)
Comment 1 Adam Kiezun CLA 2001-10-26 11:39:03 EDT
fixed before 207 (204 to be precise)