[fixed] ServerAsAServiceSettings branch: ServiceMonitor fails to start (1 Viewer)

chefkoch

Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Branch: https://github.com/MediaPortal/MediaPortal-2/tree/FEAT3823-ServerAsService_ServerSettings
    Commit: https://github.com/MediaPortal/MediaPortal-2/commit/87ae55772701607c953e5eb96e0384333315c94f

    ServiceMonitor fails to start with the following exception.

    Code:
    == Exception: MediaPortal.Common.Exceptions.ServiceNotFoundException: Could not find the MediaPortal.Common.Messaging.IMessageBroker service
      bei MediaPortal.Common.ServiceRegistration.GetService(Type type, Boolean throwIfNotFound)
      bei MediaPortal.Common.ServiceRegistration.Get[T]()
      bei MediaPortal.Common.Runtime.SystemMessaging.SendSystemStateChangeMessage(SystemState newState)
      bei MediaPortal.Common.Services.Runtime.SystemStateService.SwitchSystemState(SystemState newState, Boolean sendMessage)
      bei MediaPortal.ServiceMonitor.App.OnStartup(Object sender, StartupEventArgs args)
      Message: Could not find the MediaPortal.Common.Messaging.IMessageBroker service
      Site  : System.Object GetService(System.Type, Boolean)
      Source : MediaPortal.Common
    == Stack Trace:
      bei MediaPortal.Common.ServiceRegistration.GetService(Type type, Boolean throwIfNotFound)
      bei MediaPortal.Common.ServiceRegistration.Get[T]()
      bei MediaPortal.Common.Runtime.SystemMessaging.SendSystemStateChangeMessage(SystemState newState)
      bei MediaPortal.Common.Services.Runtime.SystemStateService.SwitchSystemState(SystemState newState, Boolean sendMessage)
      bei MediaPortal.ServiceMonitor.App.OnStartup(Object sender, StartupEventArgs args)
    20130310_205719.png

    20130310_205732.png
     
    Last edited:

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Ah... I think I know what's the reason: It could be the change from "Multimonitor support" branch, that splitted the registration of coreservices into two parts. Probably the new call is missing.

    Will check this later, thanks.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Yes, exactly this one (but without additional line break ;))
     
    Last edited:

    Users who are viewing this thread

    Top Bottom