[
https://issues.jboss.org/browse/JBIDE-22228?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich edited comment on JBIDE-22228 at 5/6/16 10:26 AM:
------------------------------------------------------------------------
OpenShiftServerUtils.getService() method got connection addressed in line 309 after PR
https://github.com/jbosstools/jbosstools-openshift/pull/1041 merged on March 24, and the
call got out of this line after PR
https://github.com/jbosstools/jbosstools-openshift/pull/1071 merged on March 31. Only that
connection instance might be null to cause the issue.
[~tmader], could you please test several builds back to the period between the build that
got PR 1041 and the build that got PR 1071? Pinpointing the build that
'accidentally' fixed this issue will let close it.
was (Author: scabanovich):
OpenShiftServerUtils.getService() method could have null connection addressed in line 309
only in master. [~tmader], could you please test several builds back to the moment you got
the issue? Pinpointing the build that 'accidentally' fixed this issue will let
close it.
NPE when deploying to Openshift EAP
-----------------------------------
Key: JBIDE-22228
URL:
https://issues.jboss.org/browse/JBIDE-22228
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Environment: Windows 10
Reporter: Thomas Mäder
Assignee: Max Rydahl Andersen
Fix For: 4.4.x
When I try to publish to an EAP in the CDK, I get a NullPointerException:
{code}
java.lang.NullPointerException
at
org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getService(OpenShiftServerUtils.java:309)
at
org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getService(OpenShiftServerUtils.java:298)
at
org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getDeploymentConfig(OpenShiftServerUtils.java:390)
at
org.jboss.tools.openshift.core.server.behavior.OpenShiftLaunchController.launch(OpenShiftLaunchController.java:87)
at
org.jboss.ide.eclipse.as.wtp.core.server.launch.ControllableServerLaunchConfiguration.launch(ControllableServerLaunchConfiguration.java:52)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3556)
at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3492)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:311)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)