Project: JDT
Bug 60466 ISE in Externalize Strings Wizard when editing key of ignored string [nls] [refactoring]
Reported: 2004-04-29 13:15:08 | Status: resolved fixed

I200404281424.from20040429_1712 - Externalize Strings - Select a new string, press Ignore - click in "Key" field of ignored string, click somewhere else -> Error Dialog & Log: !ENTRY org.eclipse.core.runtime 4 2 Apr 29, 2004 19:01:00.765 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime". !STACK 0 java.lang.IllegalStateException: Must be in Externalized State ! at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java) at org.eclipse.jdt.internal.corext.refactoring.nls.NLSSubstitution.setKey(NLSSubstitution.java:97) at org.eclipse.jdt.internal.ui.refactoring.nls.ExternalizeWizardPage$CellModifier.modify(ExternalizeWizardPage.java:159) at org.eclipse.jface.viewers.TableViewerImpl.saveEditorValue(TableViewerImpl.java:270) at org.eclipse.jface.viewers.TableViewerImpl.applyEditorValue(TableViewerImpl.java:149) at org.eclipse.jface.viewers.TableViewerImpl$3.applyEditorValue(TableViewerImpl.java:247) at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:290) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java) at org.eclipse.core.runtime.Platform.run(Platform.java) at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:288) at org.eclipse.jface.viewers.CellEditor.focusLost(CellEditor.java:659) at org.eclipse.jface.viewers.TextCellEditor$5.focusLost(TextCellEditor.java:176) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java) at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:3597) at org.eclipse.swt.widgets.Control.windowProc(Control.java) at org.eclipse.swt.widgets.Display.windowProc(Display.java) at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method) at org.eclipse.swt.widgets.Table.sendMouseDownEvent(Table.java:1950) at org.eclipse.swt.widgets.Table.WM_LBUTTONDOWN(Table.java:2916) at org.eclipse.swt.widgets.Control.windowProc(Control.java) at org.eclipse.swt.widgets.Display.windowProc(Display.java) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.jface.window.Window.runEventLoop(Window.java) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:114) at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40) at org.eclipse.jdt.ui.actions.ExternalizeStringsAction.openExternalizeStringsWizard(ExternalizeStringsAction.java:151) at org.eclipse.jdt.ui.actions.FindStringsToExternalizeAction$NonNLSListDialog.openWizard(FindStringsToExternalizeAction.java:406) at org.eclipse.jdt.ui.actions.FindStringsToExternalizeAction$NonNLSListDialog.access$1(FindStringsToExternalizeAction.java:404) at org.eclipse.jdt.ui.actions.FindStringsToExternalizeAction$2.widgetDefaultSelected(FindStringsToExternalizeAction.java:375) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.jface.window.Window.runEventLoop(Window.java) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.jdt.ui.actions.FindStringsToExternalizeAction.showResults(FindStringsToExternalizeAction.java:196) at org.eclipse.jdt.ui.actions.FindStringsToExternalizeAction.run(FindStringsToExternalizeAction.java:150) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:612) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1353) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1324) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:240) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:140) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:283) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:240) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at org.eclipse.core.launcher.Main.basicRun(Main.java:269) at org.eclipse.core.launcher.Main.run(Main.java:700) at org.eclipse.core.launcher.Main.main(Main.java:684)

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