Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6830630

ServiceManager.stopServices() throws NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jt4.2.1
    • jt4.2.1
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: