Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-1380

HeartbeatManager can trigger a NullReferenceException if Evaluator operation state is [OPERATIONAL] and runtime state is [FAILED]

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Labels:
      None

      Description

      This is caused by the following line of code:

      if (_evaluatorSettings.OperationState == EvaluatorOperationState.OPERATIONAL && EvaluatorRuntime.State == State.RUNNING)
      {
        // code
      } else {
        // code
        DriverInformation driverInformation = _driverConnection.GetDriverInformation();
        // code
      }
      

      We should not call _driverConnection.GetDriverInformation(); on a failed Evaluator.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                afchung90 Andrew Chung
                Reporter:
                afchung90 Andrew Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: