Page 1 of 1

SK 3.0 tjänster stannar vid KingPin aktivitet

Posted: Thu 13 Sep 2012, 12:43
by Rhodin
Hej

Jag vet att SK inte har stöd för KingPin projektorduk men kör den via Beyond Measure och Telldus Center.

Får fel i loggen och sen kraschar SK


Level 1) Invalid or unsupported protocol and model. Protocol and model silvanchip and kp100:kingpin is not supported.

StackTrace for Level 1:
at SwitchKing.Server.BusinessAccess.PlatformStore.TelldusCoreAccess.CreateDeviceFromPlatformStore(Int32 nativeId)
at SwitchKing.Server.BusinessAccess.PlatformStore.Windows.WindowsPlatformAccess.CreateDeviceFromPlatformStore(Int32 nativeId)
at SwitchKing.Server.BusinessAccess.PlatformStore.AbstractPlatformAccess.GetDevicesFromPlatformStore()
{BusinessAccess - Invocation} --<Warning> -- 2012-09-13 13:20:05 -- Device with id 4, name motorvärmare, native id 4 and code 1:2 is defaulting to state off due to that the device is not tied to an active schedule or that the schedule could not be used to calculate an expected state. This is a warning only, and can be discarded if this device is intended to be controlled manually.
{BusinessAccess - Invocation} --<Warning> -- 2012-09-13 13:30:05 -- Device with id 4, name motorvärmare, native id 4 and code 1:2 is defaulting to state off due to that the device is not tied to an active schedule or that the schedule could not be used to calculate an expected state. This is a warning only, and can be discarded if this device is intended to be controlled manually.
{Common - Entity Mapping Operation} --<Warning> -- 13/09/2012 13:31:25 -- Could not find device with native ID 27 in device list.
{BusinessAccess - Monitoring/Enqueueing} --<Warning> -- 2012-09-13 13:31:25 -- Intercepted an event not originating from a device stored in Switch King.
{Common - Entity Mapping Operation} --<Warning> -- 13/09/2012 13:31:46 -- Could not find device with native ID 27 in device list.
{UnhandledExceptionController_Framework} --<Critical> -- 13/09/2012 13:31:47 -- Exception:
System.NullReferenceException

Level 1) Object reference not set to an instance of an object.

StackTrace for Level 1:
at SwitchKing.Server.BusinessAccess.Invocation.Monitoring.ExternalEventMonitoring.<>c__DisplayClass22.<AlreadyInterceptedEqualEventWithinTimeframe>b__1d(<>f__AnonymousType6`2 <>h__TransparentIdentifier19)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at SwitchKing.Server.BusinessAccess.Invocation.Monitoring.ExternalEventMonitoring.AlreadyInterceptedEqualEventWithinTimeframe(NativeDeviceEvent nativeEvent)
at SwitchKing.Server.BusinessAccess.Invocation.Monitoring.Telldus.TelldusRawEventInvoker.EventOccurred(TelldusRawEventEntry entry)
at SwitchKing.Server.BusinessAccess.Invocation.Monitoring.ExternalEventMonitoring.<>c__DisplayClass6.<TellStickRawEvent_Occurred>b__5(Object state)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
{UnhandledExceptionController_Framework} --<Critical> -- 13/09/2012 13:31:47 -- Exception:
System.NullReferenceException

Re: SK 3.0 tjänster stannar vid KingPin aktivitet

Posted: Thu 13 Sep 2012, 13:15
by Martin
Buggrapporterat, så ska det naturligtvis inte vara. Switch King ska inte bry sig om osupporterade enheter.
http://bugnet.switchking.se/Issues/Issu ... spx?id=575

Re: SK 3.0 tjänster stannar vid KingPin aktivitet

Posted: Thu 13 Sep 2012, 20:41
by Martin
Gör ett försök med bifogad DLL (spara den gamla först) så kommer Kingpin att komma in som ett Raw-event istället.
Med "officiellt" i 3.0.1 (men det ligger en bit fram i tiden).

Edit: Tog bort filen. Krävdes ytterligare någon justering.