keenlabs / keen-sdk-net

A .NET SDK for the Keen IO API
MIT License
37 stars 23 forks source link

Windows Phone 8.1 client. KeenClient.AddEventAsync crashes app in airplane mode. #19

Open vadim-tsedrik opened 9 years ago

vadim-tsedrik commented 9 years ago

Hi there. When i set phone to the airplane mode keenClient crashes application with unhandled exception. Call stack if it helps: "System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. at unknown location

Aggregated Exception [0]: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) at Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Keen.Core.KeenClient.d__18.MoveNext()"

davidknaack commented 9 years ago

Hi! Thanks for the report! I'll take a look and let you know what I find.

iturpablo commented 8 years ago

Hi, I am having troubles with your library with the same error in the version 0.3.11, do you have any information about it?

Thank you soo much

same error: Microsoft.CSharp.RuntimeBinder.RuntimeBinderExceptionNewtonsoft.Json.Linq.JObject' does not contain a definition forSelectToken' Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() Keen.Core.KeenClient.d__18.MoveNext()