Project: JDT
Bug 80952 NPE in ChangeParametersControl.installParameterTypeContentAssist
Reported: 2004-12-14 11:59:53 | Status: resolved fixed

I20041214-0800 + ZRH plug-in export Steps: smoke test, extract method test (in AboutDialog.java) --- eclipse.buildId=I20041214-0800 java.version=1.5.0 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -clean -consolelog !ENTRY org.eclipse.ui 4 4 2004-12-14 17:45:48.102 !MESSAGE The command for the key you pressed failed The command for the key you pressed failed Reason: !ENTRY org.eclipse.ui 4 0 2004-12-14 17:45:48.103 !MESSAGE The command for the key you pressed failed !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.installParameterTypeContentAssist(ChangeParametersControl.java:668) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.addCellEditors(ChangeParametersControl.java:564) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.createParameterList(ChangeParametersControl.java:280) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.<init>(ChangeParametersControl.java:211) at org.eclipse.jdt.internal.ui.refactoring.ChangeParametersControl.<init>(ChangeParametersControl.java:181) at org.eclipse.jdt.internal.ui.refactoring.code.ExtractMethodInputPage.createControl(ExtractMethodInputPage.java:164) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.createContents(RefactoringWizardDialog2.java:541) at org.eclipse.jface.window.Window.create(Window.java:375) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:983) at org.eclipse.jface.window.Window.open(Window.java:685) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:125) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.ui.actions.ExtractMethodAction.run(ExtractMethodAction.java:98) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:216) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:989) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:188) at org.eclipse.ui.internal.commands.Command.execute(Command.java:130) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:445) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:724) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:767) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:536) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:479) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:221) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1067) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:995) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1020) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1005) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1032) at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:596) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:1886) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:527) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1332) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3241) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:4633) at org.eclipse.swt.widgets.Display.eventProc(Display.java:907) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1095) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2395) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:710) at org.eclipse.core.launcher.Main.main(Main.java:694)

Files changed in fix:
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java