[
https://issues.jboss.org/browse/JBIDE-26306?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-26306:
------------------------------------------
[~jeffmaury] nicely spotted. Yes this definitely is a duplicate of JBIDE-26327. Closing as
duplicate.
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.0.AM3
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)