ServiceManager.stopServices() throws NullPointerException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • jt4.2.1
    • Affects Version/s: jt4.2.1
    • Component/s: tools
    • b02
    • generic
    • generic
    • Verified

      ServiceManager throws NullPointerException in stopServices() method in the line:
         harness.removeObserver(this);
      It happens if user cancels test run when the last test of the run has been started already. In this case services are being stopped simultaniously from ServiceManager.stoppingTestRun() and from ServiceManager.finishedTesting(), one of the threads sets "harness" variable to null, then another tries to remove observers.

            Assignee:
            Sergey Borodin (Inactive)
            Reporter:
            Dmitry Lepekhin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: