[jbosstools-issues] [JBoss JIRA] (JBIDE-20324) Unhandled event loop exception when trying to delete a deployment on a server

Rob Stryker (JIRA) issues at jboss.org
Tue Jul 21 14:11:09 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-20324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker reassigned JBIDE-20324:
-----------------------------------

    Assignee: Andre Dietisheim


> Unhandled event loop exception when trying to delete a deployment on a server
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-20324
>                 URL: https://issues.jboss.org/browse/JBIDE-20324
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift, server
>    Affects Versions: 4.3.0.Beta2
>            Reporter: Martin Malina
>            Assignee: Andre Dietisheim
>         Attachments: remove-deployment.png
>
>
> When I click a module (e.g. dynamic web project) deployed to a running server and then hit the Del key on my keyboard, I will always get an exception in the Error Log:
> {code}
> Unhandled event loop exception
> org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
> 	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)
> 	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
> 	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
> 	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> 	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
> 	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
> 	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
> 	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> 	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
> 	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
> 	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
> 	at org.eclipse.e4.ui.bindings.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:72)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> 	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)
> 	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)
> 	at org.eclipse.swt.widgets.Tree.sendKeyEvent(Tree.java:2592)
> 	at org.eclipse.swt.widgets.Control.keyDown(Control.java:2402)
> 	at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:607)
> 	at org.eclipse.swt.widgets.Tree.keyDown(Tree.java:1991)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5694)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> 	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2130)
> 	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2337)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5756)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5193)
> 	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5342)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> 	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> Caused by: java.lang.NullPointerException
> 	at org.jboss.tools.openshift.internal.common.ui.command.RemoveConnectionHandler$1.toString(RemoveConnectionHandler.java:44)
> 	at org.jboss.tools.openshift.internal.common.ui.command.RemoveConnectionHandler$1.toString(RemoveConnectionHandler.java:1)
> 	at org.jboss.tools.openshift.common.core.utils.StringUtils.toString(StringUtils.java:69)
> 	at org.jboss.tools.openshift.internal.common.ui.command.RemoveConnectionHandler.execute(RemoveConnectionHandler.java:38)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> 	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> 	at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> 	... 55 more
> {code}
> This looks like an upstream bug :-\ Let me know if I should report this.
> Note that this probably only happens on Mac - Jirka Peterka tried this for me on Linux and it worked fine.
> Also, one indicator of the problem is that when you right-click a deployed module in the Servers view, you can't see the shortcut there next to Remove.
> !remove-deployment.png!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list