Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26306

Server adapter: deleting server adapter after project causes NPE

XMLWordPrintable

      steps:

      1. ASSERT: have an application running in OpenShift that you created via the eap70-basic-s2i template
      2. ASSERT: have the project imported into workspace, have the server adapter created for it
      3. EXEC: delete the project in workspace
      4. EXEC: delete the server (have it stopped before being deleted - the checkbox checked for this sake)

      Result:
      Error dialog reports an NPE

      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)
      

              adietish@redhat.com André Dietisheim
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: