Bug 21678 - junit launch config: assertion failure [JUnit]
Summary: junit launch config: assertion failure [JUnit]
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-07-18 05:36 EDT by Adam Kiezun CLA
Modified: 2003-02-05 14:57 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 Adam Kiezun CLA 2002-07-18 05:36:20 EDT
2.0

1. create a new junit launch config
2. clear both 'project' and 'test class' fields
3. press the 'Search...' button (next to the 'test class' text field)

org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
	at org.eclipse.jface.util.Assert.isNotNull(Assert.java:133)
	at org.eclipse.jface.util.Assert.isNotNull(Assert.java:110)
	at org.eclipse.jdt.internal.junit.launcher.TestSelectionDialog.<init>
(TestSelectionDialog.java:58)
	at 
org.eclipse.jdt.internal.junit.launcher.JUnitMainTab.handleSearchButtonSelected
(JUnitMainTab.java:217)
	at org.eclipse.jdt.internal.junit.launcher.JUnitMainTab$4.widgetSelected
(JUnitMainTab.java:125)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:87)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:557)
	at org.eclipse.jface.window.Window.open(Window.java:537)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.doL
astLaunchedConfig(LaunchConfigurationDialog.java:617)
	at 
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationDialog.ope
n(LaunchConfigurationDialog.java:578)
	at 
org.eclipse.debug.internal.ui.actions.OpenLaunchConfigurationsAction.run
(OpenLaunchConfigurationsAction.java:132)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:749)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:775)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432)
	at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)
Comment 1 Dirk Baeumer CLA 2003-02-05 14:57:05 EST
There search button is now disabled when project field is empty.