Menu

#137 Problem in Add Struts Support page

open
UI (13)
5
2004-09-30
2004-09-30
Anonymous
No

Hi ,
I clicked on "Add Struts Support Page",
The page is launched successfully,
In the page when I click on "Browse..." button for
selecting "Webapp folder", It always shows message "No
Entries available".

The same problem occurs if I click on "Browse.." button
to select a "Struts-config.xml"

I created lot of directories through Eclipse and windows
before i did the above operation.

Eclipse version:2.1

Please tell me if this is expected behaviour or a bug?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I clicked on "Add Struts Support Page",then click "next"
    button,It happen nothing,So I find the log in the workspace.
    The result is:
    !ENTRY org.eclipse.ui.workbench 4 2 十月 13, 2004
    22:58:53.453
    !MESSAGE Problems occurred when invoking code from plug-
    in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.VerifyError: receiver is incompatible with declaring
    class (class:
    org/easystruts/eclipse/wizards/NewEasyStrutsWizard method:
    addPages()V) at pc: 147
    at java.lang.Throwable.<init>(Throwable.java)
    at java.lang.Throwable.<init>(Throwable.java)
    at java.lang.VerifyError.<init>(VerifyError.java:51)
    at java.lang.Class.verifyImpl(Native Method)
    at java.lang.Class.verify(Class.java)
    at java.lang.Class.verify(Class.java)
    at java.lang.Class.initialize(Class.java)
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java)
    at
    org.eclipse.core.internal.plugins.PluginDescriptor.createExecuta
    bleExtension(PluginDescriptor.java:138)
    at
    org.eclipse.core.internal.plugins.PluginDescriptor.createExecuta
    bleExtension(PluginDescriptor.java:167)
    at
    org.eclipse.core.internal.plugins.ConfigurationElement.createEx
    ecutableExtension(ConfigurationElement.java)
    at
    org.eclipse.ui.internal.WorkbenchPlugin.createExtension
    (WorkbenchPlugin.java:151)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.create
    ExecutableExtension(WorkbenchWizardElement.java:83)
    at
    org.eclipse.ui.internal.dialogs.NewWizardNewPage$2.createWiz
    ard(NewWizardNewPage.java:294)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run
    (WorkbenchWizardNode.java:88)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.run
    (InternalPlatform.java)
    at org.eclipse.core.runtime.Platform.run
    (Platform.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run
    (WorkbenchWizardNode.java:85)
    at org.eclipse.swt.custom.BusyIndicator.showWhile
    (BusyIndicator.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard
    (WorkbenchWizardNode.java:83)
    at
    org.eclipse.jface.wizard.WizardSelectionPage.getNextPage
    (WizardSelectionPage.java:96)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed
    (WizardDialog.java:677)
    at
    org.eclipse.jface.wizard.WizardDialog.buttonPressed
    (WizardDialog.java:316)
    at org.eclipse.jface.dialogs.Dialog$1.widgetSelected
    (Dialog.java:423)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent
    (TypedListener.java)
    at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java)
    at org.eclipse.swt.widgets.Widget.sendEvent
    (Widget.java)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java)
    at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java)
    at org.eclipse.jface.window.Window.runEventLoop
    (Window.java)
    at org.eclipse.jface.window.Window.open
    (Window.java:563)
    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.handleWidgetS
    election(ActionContributionItem.java:456)
    at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetE
    vent(ActionContributionItem.java)
    at
    org.eclipse.jface.action.ActionContributionItem.access$0
    (ActionContributionItem.java)
    at
    org.eclipse.jface.action.ActionContributionItem$ActionListener.
    handleEvent(ActionContributionItem.java)
    at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java)
    at org.eclipse.swt.widgets.Widget.sendEvent
    (Widget.java)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java)
    at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java)
    at org.eclipse.ui.internal.Workbench.runEventLoop
    (Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run
    (Workbench.java:1385)
    at
    org.eclipse.core.internal.boot.InternalBootLoader.run
    (InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run
    (BootLoader.java:461)
    at java.lang.reflect.AccessibleObject.invokeL
    (AccessibleObject.java:207)
    at java.lang.reflect.Method.invoke(Method.java:271)
    at org.eclipse.core.launcher.Main.basicRun
    (Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main
    (Main.java:583)
    !ENTRY org.eclipse.ui 4 4 &#21313;&#26376; 13, 2004 22:58:53.546
    !MESSAGE &#22312;&#20107;&#20214;&#24490;&#29615;&#20013;&#25429;&#33719;&#21040;&#26410;&#22788;&#29702;&#30340;&#24322;&#24120;&#12290;
    !ENTRY org.eclipse.ui 4 0 &#21313;&#26376; 13, 2004 22:58:53.546
    !MESSAGE
    !STACK 0
    java.lang.IllegalArgumentException:
    at java.lang.Throwable.<init>(Throwable.java)
    at java.lang.Throwable.<init>(Throwable.java)
    at org.eclipse.core.internal.runtime.Assert.isLegal
    (Assert.java)
    at org.eclipse.core.internal.runtime.Assert.isLegal
    (Assert.java)
    at org.eclipse.core.runtime.Status.setPlugin
    (Status.java)
    at org.eclipse.core.runtime.Status.<init>
    (Status.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.handleE
    xception(WorkbenchWizardNode.java:99)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.handleExcepti
    on(InternalPlatform.java:461)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.run
    (InternalPlatform.java)
    at org.eclipse.core.runtime.Platform.run
    (Platform.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run
    (WorkbenchWizardNode.java:85)
    at org.eclipse.swt.custom.BusyIndicator.showWhile
    (BusyIndicator.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard
    (WorkbenchWizardNode.java:83)
    at
    org.eclipse.jface.wizard.WizardSelectionPage.getNextPage
    (WizardSelectionPage.java:96)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed
    (WizardDialog.java:677)
    at
    org.eclipse.jface.wizard.WizardDialog.buttonPressed
    (WizardDialog.java:316)
    at org.eclipse.jface.dialogs.Dialog$1.widgetSelected
    (Dialog.java:423)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent
    (TypedListener.java)
    at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java)
    at org.eclipse.swt.widgets.Widget.sendEvent
    (Widget.java)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java)
    at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java)
    at org.eclipse.jface.window.Window.runEventLoop
    (Window.java)
    at org.eclipse.jface.window.Window.open
    (Window.java:563)
    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.handleWidgetS
    election(ActionContributionItem.java:456)
    at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetE
    vent(ActionContributionItem.java)
    at
    org.eclipse.jface.action.ActionContributionItem.access$0
    (ActionContributionItem.java)
    at
    org.eclipse.jface.action.ActionContributionItem$ActionListener.
    handleEvent(ActionContributionItem.java)
    at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java)
    at org.eclipse.swt.widgets.Widget.sendEvent
    (Widget.java)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java)
    at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java)
    at org.eclipse.ui.internal.Workbench.runEventLoop
    (Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run
    (Workbench.java:1385)
    at
    org.eclipse.core.internal.boot.InternalBootLoader.run
    (InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run
    (BootLoader.java:461)
    at java.lang.reflect.AccessibleObject.invokeL
    (AccessibleObject.java:207)
    at java.lang.reflect.Method.invoke(Method.java:271)
    at org.eclipse.core.launcher.Main.basicRun
    (Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main
    (Main.java:583)

     
  • Nobody/Anonymous

    Logged In: NO

    I clicked on "Add Struts Support Page",then click "next"
    button,It happen nothing,So I find the log in the workspace.
    The result is:
    !ENTRY org.eclipse.ui.workbench 4 2 &#21313;&#26376; 13, 2004
    22:58:53.453
    !MESSAGE Problems occurred when invoking code from plug-
    in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.VerifyError: receiver is incompatible with declaring
    class (class:
    org/easystruts/eclipse/wizards/NewEasyStrutsWizard method:
    addPages()V) at pc: 147
    at java.lang.Throwable.<init>(Throwable.java)
    at java.lang.Throwable.<init>(Throwable.java)
    at java.lang.VerifyError.<init>(VerifyError.java:51)
    at java.lang.Class.verifyImpl(Native Method)
    at java.lang.Class.verify(Class.java)
    at java.lang.Class.verify(Class.java)
    at java.lang.Class.initialize(Class.java)
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java)
    at
    org.eclipse.core.internal.plugins.PluginDescriptor.createExecuta
    bleExtension(PluginDescriptor.java:138)
    at
    org.eclipse.core.internal.plugins.PluginDescriptor.createExecuta
    bleExtension(PluginDescriptor.java:167)
    at
    org.eclipse.core.internal.plugins.ConfigurationElement.createEx
    ecutableExtension(ConfigurationElement.java)
    at
    org.eclipse.ui.internal.WorkbenchPlugin.createExtension
    (WorkbenchPlugin.java:151)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.create
    ExecutableExtension(WorkbenchWizardElement.java:83)
    at
    org.eclipse.ui.internal.dialogs.NewWizardNewPage$2.createWiz
    ard(NewWizardNewPage.java:294)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run
    (WorkbenchWizardNode.java:88)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.run
    (InternalPlatform.java)
    at org.eclipse.core.runtime.Platform.run
    (Platform.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run
    (WorkbenchWizardNode.java:85)
    at org.eclipse.swt.custom.BusyIndicator.showWhile
    (BusyIndicator.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard
    (WorkbenchWizardNode.java:83)
    at
    org.eclipse.jface.wizard.WizardSelectionPage.getNextPage
    (WizardSelectionPage.java:96)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed
    (WizardDialog.java:677)
    at
    org.eclipse.jface.wizard.WizardDialog.buttonPressed
    (WizardDialog.java:316)
    at org.eclipse.jface.dialogs.Dialog$1.widgetSelected
    (Dialog.java:423)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent
    (TypedListener.java)
    at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java)
    at org.eclipse.swt.widgets.Widget.sendEvent
    (Widget.java)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java)
    at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java)
    at org.eclipse.jface.window.Window.runEventLoop
    (Window.java)
    at org.eclipse.jface.window.Window.open
    (Window.java:563)
    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.handleWidgetS
    election(ActionContributionItem.java:456)
    at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetE
    vent(ActionContributionItem.java)
    at
    org.eclipse.jface.action.ActionContributionItem.access$0
    (ActionContributionItem.java)
    at
    org.eclipse.jface.action.ActionContributionItem$ActionListener.
    handleEvent(ActionContributionItem.java)
    at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java)
    at org.eclipse.swt.widgets.Widget.sendEvent
    (Widget.java)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java)
    at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java)
    at org.eclipse.ui.internal.Workbench.runEventLoop
    (Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run
    (Workbench.java:1385)
    at
    org.eclipse.core.internal.boot.InternalBootLoader.run
    (InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run
    (BootLoader.java:461)
    at java.lang.reflect.AccessibleObject.invokeL
    (AccessibleObject.java:207)
    at java.lang.reflect.Method.invoke(Method.java:271)
    at org.eclipse.core.launcher.Main.basicRun
    (Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main
    (Main.java:583)
    !ENTRY org.eclipse.ui 4 4 &#21313;&#26376; 13, 2004 22:58:53.546
    !MESSAGE &#22312;&#20107;&#20214;&#24490;&#29615;&#20013;&#25429;&#33719;&#21040;&#26410;&#22788;&#29702;&#30340;&#24322;&#24120;&#12290;
    !ENTRY org.eclipse.ui 4 0 &#21313;&#26376; 13, 2004 22:58:53.546
    !MESSAGE
    !STACK 0
    java.lang.IllegalArgumentException:
    at java.lang.Throwable.<init>(Throwable.java)
    at java.lang.Throwable.<init>(Throwable.java)
    at org.eclipse.core.internal.runtime.Assert.isLegal
    (Assert.java)
    at org.eclipse.core.internal.runtime.Assert.isLegal
    (Assert.java)
    at org.eclipse.core.runtime.Status.setPlugin
    (Status.java)
    at org.eclipse.core.runtime.Status.<init>
    (Status.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.handleE
    xception(WorkbenchWizardNode.java:99)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.handleExcepti
    on(InternalPlatform.java:461)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.run
    (InternalPlatform.java)
    at org.eclipse.core.runtime.Platform.run
    (Platform.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run
    (WorkbenchWizardNode.java:85)
    at org.eclipse.swt.custom.BusyIndicator.showWhile
    (BusyIndicator.java)
    at
    org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard
    (WorkbenchWizardNode.java:83)
    at
    org.eclipse.jface.wizard.WizardSelectionPage.getNextPage
    (WizardSelectionPage.java:96)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed
    (WizardDialog.java:677)
    at
    org.eclipse.jface.wizard.WizardDialog.buttonPressed
    (WizardDialog.java:316)
    at org.eclipse.jface.dialogs.Dialog$1.widgetSelected
    (Dialog.java:423)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent
    (TypedListener.java)
    at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java)
    at org.eclipse.swt.widgets.Widget.sendEvent
    (Widget.java)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java)
    at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java)
    at org.eclipse.jface.window.Window.runEventLoop
    (Window.java)
    at org.eclipse.jface.window.Window.open
    (Window.java:563)
    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.handleWidgetS
    election(ActionContributionItem.java:456)
    at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetE
    vent(ActionContributionItem.java)
    at
    org.eclipse.jface.action.ActionContributionItem.access$0
    (ActionContributionItem.java)
    at
    org.eclipse.jface.action.ActionContributionItem$ActionListener.
    handleEvent(ActionContributionItem.java)
    at org.eclipse.swt.widgets.EventTable.sendEvent
    (EventTable.java)
    at org.eclipse.swt.widgets.Widget.sendEvent
    (Widget.java)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
    (Display.java)
    at org.eclipse.swt.widgets.Display.readAndDispatch
    (Display.java)
    at org.eclipse.ui.internal.Workbench.runEventLoop
    (Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run
    (Workbench.java:1385)
    at
    org.eclipse.core.internal.boot.InternalBootLoader.run
    (InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run
    (BootLoader.java:461)
    at java.lang.reflect.AccessibleObject.invokeL
    (AccessibleObject.java:207)
    at java.lang.reflect.Method.invoke(Method.java:271)
    at org.eclipse.core.launcher.Main.basicRun
    (Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main
    (Main.java:583)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.