Uploaded image for project: 'MediaPortal 2'
  1. MediaPortal 2
  2. MP2-598

Timer controlled models can cause crash on shutdown

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1
    • 2.1pre
    • Skin Engine
    • None

    Description

      <p>A timer controlled model can try to access services after the client has started shutting down causing an unhandled exception.</p>

      <p><span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">[2017-01-26 12:56:01,691] [1509491] [Main ] [INFO ] - WorkflowManager: Shutdown</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">[2017-01-26 12:56:01,693] [1509493] [122 ] [ERROR] - ApplicationLauncher: Unhandled exception in application</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">MediaPortal.Common.Exceptions.ServiceNotFoundException: Could not find the MediaPortal.UI.Control.InputManager.IInputManager service</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at MediaPortal.Common.ServiceRegistration.GetService(Type type, Boolean throwIfNotFound)</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at MediaPortal.Common.ServiceRegistration.Get[T]()</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at MediaPortal.UiComponents.SkinBase.Models.ScreenSaverModel.Update()</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at MediaPortal.UI.Presentation.Models.BaseTimerControlledModel.OnTimerElapsed(Object sender)</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at System.Threading.TimerQueueTimer.CallCallback()</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at System.Threading.TimerQueueTimer.Fire()</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at System.Threading.TimerQueue.FireNextTimers()</span><br style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">
      <span style="color: rgb(18, 18, 18); font-family: &quot;Open Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, Arial, &quot;sans serif&quot;; font-size: 14px; background-color: rgb(255, 255, 255);">at System.Threading.TimerQueue.AppDomainTimerCallback()</span></p>

      Attachments

        Activity

          People

            brownard Brownard
            brownard Brownard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: