HUB Service Exeption...
Posted: Tue 29 Nov 2011, 12:52
Hej,
Jag la till massa Julbelysning i SWK i söndags och igår så bootade jag om maskinen, sedan får jag inte igång HUB Tjänsten,,
Hade problem med en Nexa brytare som jag gick in i Telldus Center och tog bort, försökte lära upp igen...
System.ServiceModel.EndpointNotFoundException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.BusinessAccess.ScheduleAccess.ScheduleEntity.GetDevicesByScheduleId(Int32 id)
at SwitchKing.Server.BusinessAccess.CalcAccess.ScheduleEntity.GetCalculatedDeviceEventsByScheduleId(Int32 scheduleId, DateTime fromDate, DateTime toDate, ScheduleCalculationMode calculationMode, DeviceAction[] actions, Boolean& eventsCalculated, Boolean generateCompensationEvents)
at SwitchKing.Server.BusinessAccess.Invocation.EventQueueAccess.DeviceEventEntity.CalcDeviceEventsForSchedules(ScheduleEntity& schCalcAccess, DateTime& fromDate, DateTime& toDate, Boolean generateCompensationEvents)
at SwitchKing.Server.BusinessAccess.Invocation.EventQueueAccess.DeviceEventEntity.RecalcDeviceEvents(DeviceEntity& deviceAccess, DateTime fromDate, DateTime toDate, Boolean onlyEnqueueFutureEvents)
at SwitchKing.Server.WinSvcServiceHost.InvocationService.RecalcDeviceEvents(DeviceEventEntity& evtAccess, SystemStateEntity& stateAccess, DeviceEntity& deviceAccess, Int32& precalcLimitHours, Int32 maxHistoricTimelineHours)
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
{UnhandledExceptionController_Framework} --<Critical> -- 2011-11-29 12:38:24 -- Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
{UnhandledExceptionController_Framework} --<Critical> -- 2011-11-29 12:38:24 -- Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Running version 2.0.1.0 of server and version 2.01 of DB.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Build date and time for this version is 2011-10-25 22:01:12.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Telldus version is 2.1.0.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Validating database version and executing upgrade scripts.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- No upgrade performed. Database version is already up to date.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Status of license is Valid.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Opening service channel for Framework.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Service channel for Framework opened.
{REST Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Opening service channel for REST.
{REST Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Service channel for REST opened.
{Hub Client - Startup} --<Status> -- 2011-11-29 12:47:59 -- Opening service channel for Hub Communicator.
{Hub Client - Startup} --<Status> -- 2011-11-29 12:48:00 -- Service channel for Hub Communicator opened.
{Hub Client - Startup} --<Status> -- 2011-11-29 12:48:03 -- Starting timer
{Hub Client - Startup} --<Status> -- 2011-11-29 12:48:03 -- Timer started
{Invocation Service - Shutdown} --<Fatal> -- 2011-11-29 12:48:03 -- Main Thread Error. Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.BusinessAccess.ScheduleAccess.ScheduleEntity.GetDevicesByScheduleId(Int32 id)
at SwitchKing.Server.BusinessAccess.CalcAccess.ScheduleEntity.GetCalculatedDeviceEventsByScheduleId(Int32 scheduleId, DateTime fromDate, DateTime toDate, ScheduleCalculationMode calculationMode, DeviceAction[] actions, Boolean& eventsCalculated, Boolean generateCompensationEvents)
at SwitchKing.Server.BusinessAccess.Invocation.EventQueueAccess.DeviceEventEntity.CalcDeviceEventsForSchedules(ScheduleEntity& schCalcAccess, DateTime& fromDate, DateTime& toDate, Boolean generateCompensationEvents)
at SwitchKing.Server.BusinessAccess.Invocation.EventQueueAccess.DeviceEventEntity.RecalcDeviceEvents(DeviceEntity& deviceAccess, DateTime fromDate, DateTime toDate, Boolean onlyEnqueueFutureEvents)
at SwitchKing.Server.WinSvcServiceHost.InvocationService.RecalcDeviceEvents(DeviceEventEntity& evtAccess, SystemStateEntity& stateAccess, DeviceEntity& deviceAccess, Int32& precalcLimitHours, Int32 maxHistoricTimelineHours)
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
{UnhandledExceptionController_Framework} --<Critical> -- 2011-11-29 12:48:03 -- Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
{UnhandledExceptionController_Framework} --<Critical> -- 2011-11-29 12:48:03 -- Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Jag la till massa Julbelysning i SWK i söndags och igår så bootade jag om maskinen, sedan får jag inte igång HUB Tjänsten,,
Hade problem med en Nexa brytare som jag gick in i Telldus Center och tog bort, försökte lära upp igen...
System.ServiceModel.EndpointNotFoundException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.BusinessAccess.ScheduleAccess.ScheduleEntity.GetDevicesByScheduleId(Int32 id)
at SwitchKing.Server.BusinessAccess.CalcAccess.ScheduleEntity.GetCalculatedDeviceEventsByScheduleId(Int32 scheduleId, DateTime fromDate, DateTime toDate, ScheduleCalculationMode calculationMode, DeviceAction[] actions, Boolean& eventsCalculated, Boolean generateCompensationEvents)
at SwitchKing.Server.BusinessAccess.Invocation.EventQueueAccess.DeviceEventEntity.CalcDeviceEventsForSchedules(ScheduleEntity& schCalcAccess, DateTime& fromDate, DateTime& toDate, Boolean generateCompensationEvents)
at SwitchKing.Server.BusinessAccess.Invocation.EventQueueAccess.DeviceEventEntity.RecalcDeviceEvents(DeviceEntity& deviceAccess, DateTime fromDate, DateTime toDate, Boolean onlyEnqueueFutureEvents)
at SwitchKing.Server.WinSvcServiceHost.InvocationService.RecalcDeviceEvents(DeviceEventEntity& evtAccess, SystemStateEntity& stateAccess, DeviceEntity& deviceAccess, Int32& precalcLimitHours, Int32 maxHistoricTimelineHours)
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
{UnhandledExceptionController_Framework} --<Critical> -- 2011-11-29 12:38:24 -- Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
{UnhandledExceptionController_Framework} --<Critical> -- 2011-11-29 12:38:24 -- Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Running version 2.0.1.0 of server and version 2.01 of DB.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Build date and time for this version is 2011-10-25 22:01:12.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Telldus version is 2.1.0.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Validating database version and executing upgrade scripts.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- No upgrade performed. Database version is already up to date.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Status of license is Valid.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Opening service channel for Framework.
{Framework Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Service channel for Framework opened.
{REST Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Opening service channel for REST.
{REST Service - Startup} --<Status> -- 2011-11-29 12:47:59 -- Service channel for REST opened.
{Hub Client - Startup} --<Status> -- 2011-11-29 12:47:59 -- Opening service channel for Hub Communicator.
{Hub Client - Startup} --<Status> -- 2011-11-29 12:48:00 -- Service channel for Hub Communicator opened.
{Hub Client - Startup} --<Status> -- 2011-11-29 12:48:03 -- Starting timer
{Hub Client - Startup} --<Status> -- 2011-11-29 12:48:03 -- Timer started
{Invocation Service - Shutdown} --<Fatal> -- 2011-11-29 12:48:03 -- Main Thread Error. Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.BusinessAccess.ScheduleAccess.ScheduleEntity.GetDevicesByScheduleId(Int32 id)
at SwitchKing.Server.BusinessAccess.CalcAccess.ScheduleEntity.GetCalculatedDeviceEventsByScheduleId(Int32 scheduleId, DateTime fromDate, DateTime toDate, ScheduleCalculationMode calculationMode, DeviceAction[] actions, Boolean& eventsCalculated, Boolean generateCompensationEvents)
at SwitchKing.Server.BusinessAccess.Invocation.EventQueueAccess.DeviceEventEntity.CalcDeviceEventsForSchedules(ScheduleEntity& schCalcAccess, DateTime& fromDate, DateTime& toDate, Boolean generateCompensationEvents)
at SwitchKing.Server.BusinessAccess.Invocation.EventQueueAccess.DeviceEventEntity.RecalcDeviceEvents(DeviceEntity& deviceAccess, DateTime fromDate, DateTime toDate, Boolean onlyEnqueueFutureEvents)
at SwitchKing.Server.WinSvcServiceHost.InvocationService.RecalcDeviceEvents(DeviceEventEntity& evtAccess, SystemStateEntity& stateAccess, DeviceEntity& deviceAccess, Int32& precalcLimitHours, Int32 maxHistoricTimelineHours)
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
{UnhandledExceptionController_Framework} --<Critical> -- 2011-11-29 12:48:03 -- Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
{UnhandledExceptionController_Framework} --<Critical> -- 2011-11-29 12:48:03 -- Exception:
System.NullReferenceException
Level 1) Object reference not set to an instance of an object.
StackTrace for Level 1:
at SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()