[jbosstools-issues] [JBoss JIRA] (JBIDE-22228) NPE when deploying to Openshift EAP

Viacheslav Kabanovich (JIRA) issues at jboss.org
Fri May 6 09:53:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202137#comment-13202137 ] 

Viacheslav Kabanovich commented on JBIDE-22228:
-----------------------------------------------

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)



More information about the jbosstools-issues mailing list