Klienten strular

Supportfrågor för server och klient (Windows, iPhone, Android, Linux).
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
nbonline
1 star
1 star
Posts: 8
Joined: Wed 31 Jul 2013, 09:05

Re: Klienten strular

Post by nbonline » Sun 29 Dec 2013, 21:46

Det verkar komma lite random, men en känsla är ett par veckors mellanrum.

Känns nästan som en buffert som blir full.

/Niclas

Martin
Administrator
Administrator
Posts: 2655
Joined: Tue 09 Nov 2010, 20:25

Re: Klienten strular

Post by Martin » Mon 30 Dec 2013, 09:50

För ett tag sedan fanns det en minnesläcka i Telldus drivrutiner som till slut ledde till ett minnesfel. Det är egentligen det enda kända felet vi känner till som står i relation till hur lång tid som Switch King har körts, ungefär som en buffer som du själv nämner.

Nu är det ju dock ganska många som kör senaste betan av Telldus 2.1.2 och jag tycker inte heller riktigt att det felmeddelandet du får i loggen motsvarar det vi fick då just ovan nämnda problem fanns.

Är det exakt samma fel du får med några dagars mellanrum eller har det dykt upp något annat också?
Hur ser det ut med resurser på maskinen och hur stor är databasen?
Martin | Switch King

nbonline
1 star
1 star
Posts: 8
Joined: Wed 31 Jul 2013, 09:05

Re: Klienten strular

Post by nbonline » Mon 30 Dec 2013, 15:26

Databasen är på 8 MB ungefär.

Maskinen är en:
- AMD Athlon(tm) II X4 640 Processor
- 8,00 GB RAM
- Telldus 2.8.28.0

Denna gången fanns det mer i Windows loggen än tidigare.

Loggen i SW ser ut så här:
{Invocation Service - Shutdown} --<Fatal> -- 2013-12-27 16:13:18 -- Main Thread Error. Exception:
System.Reflection.TargetInvocationException

Level 1) Ett undantagsfel har uppstått i målet för en aktivering.
Level 2) Objektreferensen har inte angetts till en instans av ett objekt.

StackTrace for Level 1:
vid System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
vid System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
vid System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
vid System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
vid System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
vid System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
vid SwitchKing.Common.Entities.DataSource.GetTypedDataSource[TDS](DataSource ds)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.DataSourceIsSubscribingToEvent(DataSource ds, NativeEntityEvent evt)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.<>c__DisplayClass1.<GetApplicableDataSources>b__0(DataSource ds)
vid System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
vid System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
vid System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.GetApplicableDataSources(NativeDeviceEvent evt, DataSourceEntity dataSourceAccess)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.Map(NativeDeviceEvent evt, DataSourceEntity dataSourceAccess, DataSourceValueEntity dataSourceValueAccess)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessEntry(NativeDeviceEvent entry)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessEntry(NativeEntityEvent entry)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessQueue()
vid SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessExternalEvents()
vid SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
{UnhandledExceptionController_Framework} --<Critical> -- 2013-12-27 16:13:18 -- Exception:
System.Reflection.TargetInvocationException

Level 1) Ett undantagsfel har uppstått i målet för en aktivering.
Level 2) Objektreferensen har inte angetts till en instans av ett objekt.

StackTrace for Level 1:
vid System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
vid System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
vid System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
vid System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
vid System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
vid System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
vid SwitchKing.Common.Entities.DataSource.GetTypedDataSource[TDS](DataSource ds)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.DataSourceIsSubscribingToEvent(DataSource ds, NativeEntityEvent evt)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.<>c__DisplayClass1.<GetApplicableDataSources>b__0(DataSource ds)
vid System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
vid System.Collections.Generic.List`1..ctor(collection collection)
vid System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.GetApplicableDataSources(NativeDeviceEvent evt, DataSourceEntity dataSourceAccess)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.Map(NativeDeviceEvent evt, DataSourceEntity dataSourceAccess, DataSourceValueEntity dataSourceValueAccess)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessEntry(NativeDeviceEvent entry)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessEntry(NativeEntityEvent entry)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessQueue()
vid SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessExternalEvents()
vid SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
vid System.Threading.ThreadHelper.ThreadStart()
{UnhandledExceptionController_Framework} --<Critical> -- 2013-12-27 16:13:18 -- Exception:
System.Reflection.TargetInvocationException

Level 1) Ett undantagsfel har uppstått i målet för en aktivering.
Level 2) Objektreferensen har inte angetts till en instans av ett objekt.

StackTrace for Level 1:
vid System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
vid System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
vid System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
vid System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
vid System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
vid System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
vid SwitchKing.Common.Entities.DataSource.GetTypedDataSource[TDS](DataSource ds)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.DataSourceIsSubscribingToEvent(DataSource ds, NativeEntityEvent evt)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.<>c__DisplayClass1.<GetApplicableDataSources>b__0(DataSource ds)
vid System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
vid System.Collections.Generic.List`1..ctor(collection collection)
vid System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.GetApplicableDataSources(NativeDeviceEvent evt, DataSourceEntity dataSourceAccess)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.EventDataSourceMapper.Map(NativeDeviceEvent evt, DataSourceEntity dataSourceAccess, DataSourceValueEntity dataSourceValueAccess)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessEntry(NativeDeviceEvent entry)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessEntry(NativeEntityEvent entry)
vid SwitchKing.Server.BusinessAccess.Invocation.ExternalEventHandling.ExternalEventProcessor.ProcessQueue()
vid SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessExternalEvents()
vid SwitchKing.Server.WinSvcServiceHost.InvocationService.ProcessDeviceEvents()
vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
vid System.Threading.ThreadHelper.ThreadStart()
{Framework Service - Startup} --<Status> -- 2013-12-27 16:14:26 -- Running version 3.2.3.1 of server and version 2.5.5 of DB.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:14:26 -- Build date and time for this version is 2013-07-23 12:22:17.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:14:26 -- Telldus version is 2.1.2_beta10.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:14:26 -- Validating database version and executing upgrade scripts.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:14:26 -- No upgrade performed. Database version is already up to date.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:14:26 -- Status of license is Valid.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:14:26 -- Opening service channel for Framework.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:14:26 -- Service channel for Framework opened.
{Framework Service - Shutdown} --<Status> -- 2013-12-27 16:26:57 -- Service shut down requested
{Framework Service - Shutdown} --<Status> -- 2013-12-27 16:26:57 -- Service shut down gracefully
{Framework Service - Startup} --<Status> -- 2013-12-27 16:26:58 -- Running version 3.2.3.1 of server and version 2.5.5 of DB.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:26:58 -- Build date and time for this version is 2013-07-23 12:22:17.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:26:58 -- Telldus version is 2.1.2_beta10.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:26:58 -- Validating database version and executing upgrade scripts.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:26:58 -- No upgrade performed. Database version is already up to date.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:26:59 -- Status of license is Valid.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:26:59 -- Opening service channel for Framework.
{Framework Service - Startup} --<Status> -- 2013-12-27 16:26:59 -- Service channel for Framework opened.
{REST Service - Startup} --<Status> -- 2013-12-27 16:27:12 -- Opening service channel for REST.
{REST Service - Startup} --<Status> -- 2013-12-27 16:27:12 -- Service channel for REST opened.
{Invocation Service - Execution} --<Status> -- 2013-12-27 16:27:12 -- Initiating maintenance
{Hub Client - Startup} --<Status> -- 2013-12-27 16:27:12 -- Opening service channel for Hub Communicator.
{Invocation Service - Execution} --<Status> -- 2013-12-27 16:27:12 -- Shrinking DB
{Hub Client - Startup} --<Status> -- 2013-12-27 16:27:12 -- Service channel for Hub Communicator opened.
{Hub Client - Startup} --<Status> -- 2013-12-27 16:27:12 -- Starting timer
{Hub Client - Startup} --<Status> -- 2013-12-27 16:27:12 -- Timer started
{Invocation Service - Execution} --<Status> -- 2013-12-27 16:27:14 -- Maintenance completed
{Invocation Service - Execution} --<Status> -- 2013-12-27 16:27:15 -- Storing power consumption data
{Invocation Service - Execution} --<Status> -- 2013-12-27 16:27:15 -- Power consumption data stored
/niclas

Martin
Administrator
Administrator
Posts: 2655
Joined: Tue 09 Nov 2010, 20:25

Re: Klienten strular

Post by Martin » Tue 31 Dec 2013, 12:07

Inget direkt uppseendeväckande varken med databasens storlek eller maskinen i övrigt, förstås...
Du får gärna PM:a din db (zippa först) så kan vi köra den i vår labbmiljö. Tyvärr är jag inte övertygad om att det kommer att ge så mycket då det troligtvis krävs att det "fångas in" data från dina datakällor för att felet ska kunna uppstå, men försöka kan vi ju alltid!
Martin | Switch King

nbonline
1 star
1 star
Posts: 8
Joined: Wed 31 Jul 2013, 09:05

Re: Klienten strular

Post by nbonline » Wed 01 Jan 2014, 15:56

God fortsättning på nya året..!

Jag ska hålla koll på ingående signaler för att se om det är de som krånglar.

Återkommer i ärendet.

Tack så länge för hjälpen!

/Niclas

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests