[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-ui-dev] I need your help
|
hi:all
I am making a GUI tool which can generate
"java" file,so i am studying the JDT.I use the "org.eclipse.ui.newWizards"
extension points. now My Plug-in project has include three file
"JavaCodePlugin.java,JavaCodeCreationWizard.java,JavaCodeCreationWizardPage.java".I
have put them in the accessory.but i run the project as the
Run-time workbench,it often be terminate.
the error is"
Unhandled exception caught in event
loop. Reason:
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:96) at
org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:439) at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:843) at
org.eclipse.core.runtime.Platform.run(Platform.java:416) at
org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(WorkbenchWizardNode.java:82) at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at
org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:80) at
org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:91) at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:646) at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:308) at
org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:398) 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:562) at
org.eclipse.jface.window.Window.open(Window.java:542) at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:88) 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:1256) at
org.eclipse.ui.internal.Workbench.run(Workbench.java:1239) 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)
I debug the program, I add the break point in the
"org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:91)".
the program terminate at "org.eclipse.jface.window.Window.runEventLoop(Shell shell)",
who can tell me the reason. thank you
|
Attachment:
generatejava.zip
Description: Binary data