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

ServiceManager.stopServices() throws NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • jt4.2.1
    • jt4.2.1
    • tools
    • b02
    • generic
    • generic
    • Verified

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: