Community
Participate
Working Groups
build 2002-12-04, Linux GTK, IBM JRE 1.3.1 - Opened ant View (had no entries) - pressed Play !ENTRY org.eclipse.ui 4 4 Dec 04, 2002 16:19:29.909 !MESSAGE Unhandled exception caught in event loop. Unhandled exception caught in event loop. Reason: !ENTRY org.eclipse.ui 4 0 Dec 04, 2002 16:19:30.197 !MESSAGE !STACK 0 java.lang.IllegalArgumentException: at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java(Compiled Code)) at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java(Compiled Code)) at org.eclipse.core.runtime.Status.setMessage(Status.java:147) at org.eclipse.core.runtime.Status.<init>(Status.java:66) at org.eclipse.ui.externaltools.internal.ant.view.actions.RunActiveTargetsAction.reportError(RunActiveTargetsAction.java:117) at org.eclipse.ui.externaltools.internal.ant.view.actions.RunActiveTargetsAction.run(RunActiveTargetsAction.java:107) at org.eclipse.jface.action.Action.runWithEvent(Action.java:769) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:411) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:365) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:356) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:48) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.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:1388) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:841) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:247) at org.eclipse.core.launcher.Main.run(Main.java:703) at org.eclipse.core.launcher.Main.main(Main.java:539)
The given test case can no longer be performed (fix in a previous bug report), but I added protection in RunActiveTargetsAction to make sure that we don't pass in a null message to the Status constructor. Please verify.
Verified.