[
https://issues.jboss.org/browse/JBIDE-23182?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich commented on JBIDE-23182:
-----------------------------------------------
[~adietish], I think it works as follows. HandlerUtil.getCurrentSelection(event) takes the
selection from the context and when the context is created, the selection is asked from
the active part directly, in this case it is Properties View. This view is special, it
returns for selection not what is selected inside but what it got from outside that is an
object selected in the previously active view. The workbench selection service receives
selection by selection changed event so that when something is selected inside Properties
view the event with an inner selected object is broadcast.
NullPointerException in PodLogsHandler.handleEvent
--------------------------------------------------
Key: JBIDE-23182
URL:
https://issues.jboss.org/browse/JBIDE-23182
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Reporter: Automated Error Reporting Bot
Labels: openshift_v3, pod_log_console
Fix For: 4.4.2.AM2
The following problem was reported via the automated error reporting:
Message: Unhandled event loop exception
{noformat}
java.lang.NullPointerException: null
at
org.jboss.tools.openshift.internal.ui.handler.PodLogsHandler.handleEvent(PodLogsHandler.java:46)
at
org.jboss.tools.openshift.internal.ui.handler.AbstractOpenShiftCliHandler.execute(AbstractOpenShiftCliHandler.java:70)
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.NativeMethodAccessorImpl.invoke0(null:-2)
at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
at java.lang.reflect.Method.invoke(null:-1)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
{noformat}
Bundles:
| org.eclipse.e4.core.di | 1.6.0.v20160319-0612 | 1.6.0.v20160319-0612 |
| org.eclipse.ui | 3.108.0.v20160518-1929 | 3.108.0.v20160518-1929 |
| org.jboss.tools.openshift.ui | 3.3.0.v20160831-0703 | 3.3.0.v20160831-0703 |
Operating Systems:
| Windows | 10.0.0 | 10.0.0 |
The above information is a snapshot of the collected data. Visit [this
page|https://redhat.ctrlflow.com/reviewers/#!/problems/57d6df25e4b0fd7621...] for the
latest data.
Thank you for your assistance.
Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)