[jbosstools-issues] [JBoss JIRA] (JBIDE-14908) NPE thrown when clicking on LiveReload adapter in Server view

Martin Malina (JIRA) jira-events at lists.jboss.org
Tue Jun 18 03:56:20 EDT 2013


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

Martin Malina updated JBIDE-14908:
----------------------------------

    Steps to Reproduce: 
1. Have a workspace with JBoss AS 7.1.1 set up
2. Create the html5 project from Central and deploy it to the running server
3. Wait until the livereload adapter gets added (I'm really not aware of adding it)
4. Click the livereload adapter - bang!

    
> NPE thrown when clicking on LiveReload adapter in Server view
> -------------------------------------------------------------
>
>                 Key: JBIDE-14908
>                 URL: https://issues.jboss.org/browse/JBIDE-14908
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: livereload
>    Affects Versions: 4.1.0.Beta2
>         Environment: OS X Mountain Lion
> JBDS 7.0.0.Beta2 B261
>            Reporter: Martin Malina
>             Fix For: 4.1.0.Beta2
>
>         Attachments: livereload-npe.png
>
>
> When I click on the LiveReload adapter in Server view, a NPE is thrown:
> !livereload-npe.png!
> {code}
> !ENTRY org.eclipse.jface 4 2 2013-06-18 09:49:09.381
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> !STACK 0
> java.lang.NullPointerException
> 	at org.jboss.ide.eclipse.as.ui.views.server.extensions.ShowInWebManagementActionProvider.accepts(ShowInWebManagementActionProvider.java:38)
> 	at org.jboss.ide.eclipse.as.ui.views.server.extensions.AbstractOpenBrowserServerAction$OpenBrowserAction.accept(AbstractOpenBrowserServerAction.java:92)
> 	at org.eclipse.wst.server.ui.internal.view.servers.AbstractServerAction.selectionChanged(AbstractServerAction.java:85)
> 	at org.eclipse.ui.actions.SelectionProviderAction.selectionChanged(SelectionProviderAction.java:143)
> 	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> 	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
> 	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
> 	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)
> 	at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:478)
> 	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)
> 	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)
> 	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)
> 	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
> 	at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4914)
> 	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5296)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
> 	at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1101)
> 	at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2047)
> 	at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1093)
> 	at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2563)
> 	at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2012)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5556)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
> 	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2104)
> 	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2318)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5620)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5057)
> 	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5206)
> 	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:3648)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list