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()
HUB Service Exeption...
Forum rules
För att kunna hjälpa dig med supportfrågor behöver vi så mycket information som möjligt.
Innan du skapar en ny tråd, läs gärna:
viewtopic.php?f=10&t=20
För att kunna hjälpa dig med supportfrågor behöver vi så mycket information som möjligt.
Innan du skapar en ny tråd, läs gärna:
viewtopic.php?f=10&t=20
-
- 3 stars
- Posts: 77
- Joined: Tue 09 Nov 2010, 21:51
HUB Service Exeption...
Windows 7, 15 Enheter, 16 Datakällor, 1-Wire, Tellstick DUO, Switch King v2.xx, iPhone 4, IIS,
MSN: stefan.krantz@hotmail.com
MSN: stefan.krantz@hotmail.com
-
- Administrator
- Posts: 419
- Joined: Tue 09 Nov 2010, 20:41
Re: HUB Service Exeption...
Har du möjlighet att mejla över loggfiler och databas till oss så att vi kan titta på detta?
http://www.switchking.se/sv/faq/42-oevr ... -loggfiler
Databasen hittar du i mappen "DB".
http://www.switchking.se/sv/faq/42-oevr ... -loggfiler
Databasen hittar du i mappen "DB".
Tomas | Switch King
-
- Administrator
- Posts: 419
- Joined: Tue 09 Nov 2010, 20:41
Re: HUB Service Exeption...
Det här felet är löst och berodde på att Switch Kings databas påverkats efter en TelldusCenter-krasch. Databasen gick att reparera.
Tomas | Switch King
Who is online
Users browsing this forum: No registered users and 12 guests