Bug 34957 - Can not create a new TestCase.
Summary: Can not create a new TestCase.
Status: RESOLVED DUPLICATE of bug 34169
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-13 14:59 EST by David Kyle CLA
Modified: 2003-03-13 17:11 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 David Kyle CLA 2003-03-13 14:59:58 EST
File->New->Other->Java->Junit->TestCase, click on Next. Nothing happens. Build 
Id: 200303071024 (RC2).

Exceptions are thrown into the .metadata/.log file.

!ENTRY org.eclipse.ui.workbench 4 2 Mar 13, 2003 12:50:42.656
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.ClassCastException
	at org.eclipse.ui.internal.dialogs.NewWizardNewPage$2.createWizard
(NewWizardNewPage.java:287)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run
(WorkbenchWizardNode.java:82)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:867)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run
(WorkbenchWizardNode.java:79)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard
(WorkbenchWizardNode.java:77)
	at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage
(WizardSelectionPage.java:90)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed
(WizardDialog.java:671)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:310)
	at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:417)
	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:836)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1777)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1485)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:577)
	at org.eclipse.jface.window.Window.open(Window.java:557)
	at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:136)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:456)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:403)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:397)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:72)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1777)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1485)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1400)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1383)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:845)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	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:324)
	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)
!ENTRY org.eclipse.ui 4 4 Mar 13, 2003 12:50:42.656
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Mar 13, 2003 12:50:42.656
!MESSAGE 
!STACK 0
java.lang.IllegalArgumentException: 
	at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:56)
	at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:41)
	at org.eclipse.core.runtime.Status.setPlugin(Status.java:156)
	at org.eclipse.core.runtime.Status.<init>(Status.java:64)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.handleException
(WorkbenchWizardNode.java:93)
	at org.eclipse.core.internal.runtime.InternalPlatform.handleException
(InternalPlatform.java:448)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:869)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run
(WorkbenchWizardNode.java:79)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
	at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard
(WorkbenchWizardNode.java:77)
	at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage
(WizardSelectionPage.java:90)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed
(WizardDialog.java:671)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:310)
	at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:417)
	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:836)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1777)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1485)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:577)
	at org.eclipse.jface.window.Window.open(Window.java:557)
	at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:136)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:456)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:403)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:397)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:72)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1777)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1485)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1400)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1383)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:845)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	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:324)
	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 Erich Gamma CLA 2003-03-13 17:11:13 EST

*** This bug has been marked as a duplicate of 34169 ***