facebook

Cannot Apply Struts Capabilities To Exissting Project

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #223247 Reply

    mstrong4867
    Member

    I can remove and reapply web project capabilities; however, when I ask for Struts Capabilities, nothing happens.

    When I looked in the eclipse log file, I see that I’m getting a NullPointerException when MyEclipse tries to invoke the struts project capabilities wizard.

    Stack trace follows.

    Please advise.

    Thanks,

    Mike

    !ENTRY org.eclipse.ui 4 0 Jan 20, 2005 14:37:08.109
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.struts.wizards.NewStrutsSupportWizardPage.initWebAppControl(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewStrutsSupportWizardPage.createWebappControls(Unknown Source)
    at com.genuitec.eclipse.struts.wizards.NewStrutsSupportWizardPage.createControl(Unknown Source)
    at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:161)
    at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:548)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:451)
    at org.eclipse.jface.window.Window.create(Window.java:348)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:925)
    at org.eclipse.jface.window.Window.open(Window.java:637)
    at com.genuitec.eclipse.struts.action.AddStrutsCapabilitiesActionDelegate.basicRun(Unknown Source)
    at com.genuitec.eclipse.struts.action.AddStrutsCapabilitiesActionDelegate.run(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:266)
    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:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    #223248 Reply

    mstrong4867
    Member

    What operating system and version are you running? Windows XP
    What Eclipse version and build id are you using? (Help > About Eclipse Platform) Version: 3.0.1, Build id: 200409161125
    – Was Eclipse freshly installed for MyEclipse? Yes
    – Are any other external plugins installed? Yes:

    Eclipse FTP and WebDav 3.0
    Eclipse Project SDK 3.0.1
    Eclipse SDK Examples 3.0.1
    EMF SDK 2.0.1
    GEF Logic Example 3.0.1
    Graphical Editing Framework 3.0.1
    Subclipse 0.9.25
    Version Control with Subversion 1.1.1
    Visual Editor SDK 1.0.1

    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.* 8
    What MyEclipse version are you using? (Help > About Eclipse Platform > Features) 3.8.3, Build Id: 200412061200-3.8.3
    What JDK version are you using to run Eclipse? (java -version) j2sdk1.4.2_05
    What JDK version are you using to launch your application server? j2sdk1.4.2_05
    What steps did you take that resulted in the issue? Extracted a project from SVN. I tried to extract it as a MyEclipse Web project and that failed, so I had to extract it as simply a Java Project.
    What application server are you using? Oracle
    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Cannot Apply Struts Capabilities To Exissting Project

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