facebook

[3.7 RC2] NPE in DeploymentManager [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #204789 Reply

    I tried to deploy things using tomcat 5.0. It only fails on removing or redeloying so I consider my settings are right. The project is a simple
    on – I’ve just created web modul project called my.test.project and added a servlet called TestServlet. Deployment worked fine using packaged version but hitting redelopyment I got a warning sign and removing fails this way:

    Are there any workarounds? How can I get rid of this failed deployment entry. Since only one Tomcat 5.0 deployment can be managed, I am stuck. I hope the new deployment manager will comes ASAP 🙂 What a fuzz!

    The error-log reads:

    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.Ä„(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.access$1(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$4.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2311)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1992)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:586)
    at org.eclipse.jface.window.Window.open(Window.java:566)
    at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:261)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:509)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:461)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:433)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2311)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1992)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
    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:279)
    at org.eclipse.core.launcher.Main.run(Main.java:742)
    at org.eclipse.core.launcher.Main.main(Main.java:581)

    #204792 Reply

    It looks like the deployment entry was already deleted but the manager didn’t recognized it. After I’ve restarted eclipse everything was ok and the entry disappeared.

    #204801 Reply

    Riyad Kalla
    Member

    Martin,
    As you found, restarting is the correct way to get rid of failed deployments. The revised deployment tool in 3.7GA will offer much more information to the user as to why the deployment failed.

    If you are on windows, I am almost certain your deployment failed due to a file lock.

    #204802 Reply

    Riyad Kalla
    Member

    Martin,
    I’ve closed this as you found the only workaround for the existing problem.If you run into this problem again with 3.7 GA (we are looking at a release later tonight) please create a new thread and we will address it ASAP.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [3.7 RC2] NPE in DeploymentManager [Closed]

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