Bug 27702 - IllegalArgumentException in AntView
Summary: IllegalArgumentException in AntView
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P2 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-12-04 16:27 EST by DJ Houghton CLA
Modified: 2002-12-06 15:27 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2002-12-04 16:27:12 EST
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)
Comment 1 Jared Burns CLA 2002-12-06 14:43:20 EST
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.
Comment 2 Darin Swanson CLA 2002-12-06 15:27:06 EST
Verified.