View Poll Results: Spring plugin for eclipse IDE should have proper documentation

Voters
2. You may not vote on this poll
  • yes

    2 100.00%
  • no

    0 0%
Results 1 to 4 of 4

Thread: Error while creating a new spring IDE project

  1. #1

    Default Error while creating a new spring IDE project

    Hi all
    after installing spring plugin ifor eclipse i am getting following errors i have jdk 1.5 eclipse 3.1 and springide_updatesite_1.3.2 plugin
    i can see new project-> spring IDE Project in IDE but can not create project
    here is messages finish button is not working

    pls help
    pankaj


    !ENTRY org.eclipse.ui 4 4 2006-06-28 13:58:33.734
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2006-06-28 13:58:33.734
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at org.springframework.ide.eclipse.beans.ui.wizards.N ewSpringProjectCreationPage.validatePage(NewSpring ProjectCreationPage.java:108)
    at org.eclipse.ui.dialogs.WizardNewProjectCreationPag e$1.handleEvent(WizardNewProjectCreationPage.java: 81)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:843)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:848)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.j ava:2061)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control .java:3164)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:3041)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:3751)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW( Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(O S.java:1580)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.j ava:131)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:3123)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java: 1777)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:3751)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW (Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage( OS.java:1656)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2756)
    at org.eclipse.jface.window.Window.runEventLoop(Windo w.java:809)
    at org.eclipse.jface.window.Window.open(Window.java:7 87)
    at org.eclipse.ui.actions.NewProjectAction.run(NewPro jectAction.java:114)
    at org.eclipse.jface.action.Action.runWithEvent(Actio n.java:996)
    at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(ActionContributionItem.java:53 8)
    at org.eclipse.jface.action.ActionContributionItem.ac cess$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5. handleEvent(ActionContributionItem.java:400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2758)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java: 278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

  2. #2
    Join Date
    Aug 2004
    Location
    Frankfurt/Main, Germany
    Posts
    253

    Default

    The reason for the NPE is two-fold:

    1. You removed the default entry "xml" from the text field "List of Config file extensions" and leaving this (required) field empty.
    2. I forgot a null check in the validatePage() method.


    So I opened a ticket for the bug described in 2) and will fix it. This in turn will keep you from 1)


    Regarding your poll for proper documentation:

    The NewProject wizard is documented here. One can argue that's not fool-proof enough, but hey, this is just a wiki. If you find something missing or wrong then jump in and edit the corresponding wiki page.

    Torsten

    PS For obvious bugs like this one please create a bug report here.

  3. #3

    Unhappy how to install eclipse IDE plugin for springs?????

    Hi
    as u know after installing its not working propperly. so to install eclipse plugin i copy and paste features and plugin folde there is a site.xml file with your release for spring ide tell me whether this file need to copied
    I think people r using spring ide so when i can fix the problem temporarily to run a spring project in eclipse IDE
    what is the link to download plugin i am confused for peoper link

    reply ASAP
    pankaj narang

  4. #4
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Make sure that you excatly follow the steps described at http://springide.org/project/wiki/SpringideInstall.

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •