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

Server adapter: NPE when stopping a server adapter whose workspace project was deleted

    XMLWordPrintable

Details

    Description

      steps:

      1. ASSERT: have a workspace project, a running OpenShift application and a server adapter started for the 2
      2. EXEC: delete the workspace project
      3. EXEC: delete the server adapter, making sure that you have the checkbox for stopping the adapter beforehand checked

      Result:
      An NPE occurrs

      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)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: