]
Jeff MAURY commented on JBIDE-26306:
------------------------------------
[~adietish] isn't it a duplicate of JBIDE-26327
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}