[jbosstools-issues] [JBoss JIRA] (JBIDE-26306) Server adapter: deleting server adapter after project causes NPE

Nick Boldt (JIRA) issues at jboss.org
Tue Sep 11 16:03:02 EDT 2018


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

Nick Boldt updated JBIDE-26306:
-------------------------------
    Fix Version/s: 4.9.x
                       (was: 4.9.0.AM3)


> Server adapter: deleting server adapter after project causes NPE 
> -----------------------------------------------------------------
>
>                 Key: JBIDE-26306
>                 URL: https://issues.jboss.org/browse/JBIDE-26306
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.9.0.AM1
>            Reporter: Andre Dietisheim
>              Labels: server_adapter
>             Fix For: 4.9.x
>
>         Attachments: image-2018-08-14-11-57-17-905.png
>
>
> steps:
> # ASSERT: have an application running in OpenShift that you created via the eap70-basic-s2i template
> # ASSERT: have the project imported into workspace, have the server adapter created for it
> # EXEC: delete the project in workspace
> # EXEC: delete the server (have it stopped before being deleted - the checkbox checked for this sake)
> Result:
> Error dialog reports an NPE
>  !image-2018-08-14-11-57-17-905.png! 
> {code}
> java.lang.NullPointerException
> 	at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.updateProject(OpenShiftShutdownController.java:71)
> 	at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.stop(OpenShiftShutdownController.java:58)
> 	at org.jboss.ide.eclipse.as.wtp.core.server.behavior.ControllableServerBehavior.stop(ControllableServerBehavior.java:255)
> 	at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3698)
> 	at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3655)
> 	at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:413)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list