facebook

Wizards Needs Better Warning Messages [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #209752 Reply

    donfitz
    Member

    I am using my eclipse on Mac 10.3.4. When I used the trial version everything worked fine. After I purchased my eclipse, the wizards for creating form beans and actions no longer work. This was the primary reason that I paid for the application.

    When I fill in the wizards and finally click “finish” nothing happens. The button presses and nothing happens. I have tried every possible scenario with entering different values in the text fields, re-installed eclipse, re-installed myeclipse, changed permissions and nothing seems to solve the problem. Can you help me out?

    #209756

    donfitz
    Member

    I just updated to Eclipse version 3.0 and ME version 3.8b2 and the problem still persists. I cannot use the wizards to create action forms or actions. No error messages are reported.

    #209778

    Scott Anderson
    Participant

    Don,

    I’ll try to replicate the problem on the Mac in our lab and see if I get similar results. IIRC, you reported the issue via email with 2.8 also. And, the fact that they were working and then stopped makes me wonder what changed? You mentioned purchasing a subscription, but I can assure you that we don’t disable anything when you do that. Did you by chance update any other related software on your Mac recently like the JDK or anything like that?

    Also, are you positive there is no log file? On a Mac you’ll have to use a command line shell and ‘ls -al’ in the <workspace>/.metatdata directory in order to see it as the normal finder settings will not show any “dot” files.

    #209801

    donfitz
    Member

    Okay, I have updated my Eclipse version to the 3.0 stable release and ME to the 3.8b2. I have not recently updated any software on my Mac. There have been no Java updates, or any others for some time now.

    I did find the log file and it seems to show some good info. Here is part of that file:

    !ENTRY com.genuitec.eclipse.struts 1 1 Jul 13, 2004 00:10:06.170
    !MESSAGE
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:314)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:752)
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter.write(Unknown Source)
    at org.easystruts.xslgen.JavaClass.write(Unknown Source)
    at org.easystruts.xslgen.struts.XsltStrutsGenerator.createActionForm(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewActionAndFormCreationWizard.performCreateForm(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewActionAndFormCreationWizard.perform(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizard.performFinish(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2865)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2535)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate$1.run(Unknown Source)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.launchWizard(Unknown Source)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.run(Unknown Source)
    at com.genuitec.eclipse.struts.editor.outline.OpenActionAndFormWizardActionDelegate.run(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2865)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2535)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)
    Caused by: java.lang.NullPointerException
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter.createType(Unknown Source)
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter$1.run(Unknown Source)
    at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:67)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:91)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
    6% at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.launchWizard(Unknown Source)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.run(Unknown Source)
    at com.genuitec.eclipse.struts.editor.outline.OpenActionAndFormWizardActionDelegate.run(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2865)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2535)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)
    Caused by: java.lang.NullPointerException
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter.createType(Unknown Source)
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter$1.run(Unknown Source)
    at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:67)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:91)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:105)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303)
    … 52 more
    Root exception:
    java.lang.NullPointerException
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter.createType(Unknown Source)
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter$1.run(Unknown Source)
    at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:67)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:91)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:105)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:752)
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter.write(Unknown Source)
    at org.easystruts.xslgen.JavaClass.write(Unknown Source)
    at org.easystruts.xslgen.struts.XsltStrutsGenerator.createActionForm(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewActionAndFormCreationWizard.performCreateForm(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewActionAndFormCreationWizard.perform(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizard.performFinish(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2865)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2535)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate$1.run(Unknown Source)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.launchWizard(Unknown Source)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.run(Unknown Source)
    at com.genuitec.eclipse.struts.editor.outline.OpenActionAndFormWizardActionDelegate.run(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2865)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2535)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)

    !ENTRY com.genuitec.eclipse.struts 1 1 Jul 13, 2004 00:10:06.613
    !MESSAGE
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:314)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:752)
    at org.easystruts.eclipse.xslgen.EclipseJdtWriter.write(Unknown Source)
    at org.easystruts.xslgen.JavaClass.write(Unknown Source)
    at org.easystruts.xslgen.struts.XsltStrutsGenerator.createAction(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewActionAndFormCreationWizard.performCreateAction(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewActionAndFormCreationWizard.perform(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizard.performFinish(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2865)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2535)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate$1.run(Unknown Source)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.launchWizard(Unknown Source)
    14%

    #209865

    donfitz
    Member

    Any progress? Sorry to be impatient, but I really need this functionality for a project that I’m in the middle of.

    #209870

    Riyad Kalla
    Member

    I’m not sure on a Mac, but on Linux the “Threading” exceptions are almost always related to permission issues… are you installing Eclipse or MyEclipse as root and then trying to run as your user? Or are you just unzipping everything as your user and then trying to run it?

    Hey also with the wizards, are you *sure* you are giving them “use case” names? Without that, pressing finish will fail every time, this is a bug we found late in testing that should be fixed soon.

    #209876

    donfitz
    Member

    Yeah that was it. The *only* thing I did not try was to enter a use case name. Who knew? Thanks. You guys rock.

    #209881

    Riyad Kalla
    Member

    Sweet, I like easy ones. We will get that bug fixed ASAP, sorry for the trouble.

    #209883

    Scott Anderson
    Participant

    Yeah that was it. The *only* thing I did not try was to enter a use case name. Who knew? Thanks. You guys rock.

    Don,

    Sorry I wandered off and didn’t reply as quickly as I should’ve on the Mac thing. And, thanks to Riyad for picking up the ball. The problem you reported about the use case name not being entered and no error being displayed is an open enhancment request for 3.8 final that will be fixed in the next week or so. Sorry for the confusion it caused you.

    #209884

    donfitz
    Member

    No problem. Thanks again guys. 😀

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Wizards Needs Better Warning Messages [Closed]

You must be logged in to post in the forum log in