Project: JDT
Bug 226002 AIOOBE in FindBrokenNLSKeysAction on org.eclipse.jdt.junit.runtime
Reported: 2008-04-07 13:17:02 | Status: resolved fixed

I20080401-0851 - org.eclipse.jdt.junit.runtime from CVS - Source > Find Broken Externalized Strings => nothing happens, except for this log entry: Error Mon Apr 07 19:14:11 CEST 2008 Unhandled event loop exception java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.jdt.internal.ui.actions.FindBrokenNLSKeysAction.collectNLSFilesFromJavaElements(FindBrokenNLSKeysAction.java:301) at org.eclipse.jdt.internal.ui.actions.FindBrokenNLSKeysAction.collectNLSFilesFromJavaElements(FindBrokenNLSKeysAction.java:310) at org.eclipse.jdt.internal.ui.actions.FindBrokenNLSKeysAction.collectNLSFilesFromJavaElements(FindBrokenNLSKeysAction.java:316) at org.eclipse.jdt.internal.ui.actions.FindBrokenNLSKeysAction.collectNLSFilesFromJavaElements(FindBrokenNLSKeysAction.java:327) at org.eclipse.jdt.internal.ui.actions.FindBrokenNLSKeysAction.getNLSFiles(FindBrokenNLSKeysAction.java:196) at org.eclipse.jdt.internal.ui.actions.FindBrokenNLSKeysAction.run(FindBrokenNLSKeysAction.java:137) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:83) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3773) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3372) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2375) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2339) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2205) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:478) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:473) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

Files changed in fix:
org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/RerunRequest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FindBrokenNLSKeysAction.java