Skip to content

New Hike event is not supported - causes a crash #125

@Roadstergal

Description

@Roadstergal

It looks like the new Hike event causes a crash when I try to read the Band - it had been working fine before:


Imminent Crash

An unhandled exception occurred - sorry about that, we're going to have to crash now :(

You can open a bug with a copy of this crash: hit Ctrl + C right now and then paste into a new bug at https://github.com/nachmore/unBand/issues.

System.Collections.Generic.KeyNotFoundException: Unknown event type: Microsoft.Khronos.Cloud.Ods.Data.TransferObjects.Event.Hike.HikeEventDTO

at unBand.Cloud.BandEventBase.FromDynamic(Object rawBandEvent) in d:\tmp\unBand-90ce0a4e155009ddf576043a52cb0a3a465d7d8d\src\unBand.Cloud\Events\BandEventBase.cs:line 132

at unBand.Cloud.BandCloudClient.d__27.MoveNext() in d:\tmp\unBand-90ce0a4e155009ddf576043a52cb0a3a465d7d8d\src\unBand.Cloud\BandCloudClient.cs:line 197

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at unBand.CloudHelpers.BandCloudManager.<>c__DisplayClass5.<b__4>d__7.MoveNext() in d:\tmp\unBand-90ce0a4e155009ddf576043a52cb0a3a465d7d8d\src\unBand\CloudHelpers\BandCloudManager.cs:line 147

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at unBand.CloudHelpers.BandCloudManager.d__10.MoveNext() in d:\tmp\unBand-90ce0a4e155009ddf576043a52cb0a3a465d7d8d\src\unBand\CloudHelpers\BandCloudManager.cs:line 118

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at unBand.CloudHelpers.BandCloudManager.d__0.MoveNext() in d:\tmp\unBand-90ce0a4e155009ddf576043a52cb0a3a465d7d8d\src\unBand\CloudHelpers\BandCloudManager.cs:line 106

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at unBand.pages.ActivityLogPage.d__b.MoveNext() in d:\tmp\unBand-90ce0a4e155009ddf576043a52cb0a3a465d7d8d\src\unBand\pages\ActivityLogPage.xaml.cs:line 172

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at unBand.pages.ActivityLogPage.<btnLoadEvents_Click>d__8.MoveNext() in d:\tmp\unBand-90ce0a4e155009ddf576043a52cb0a3a465d7d8d\src\unBand\pages\ActivityLogPage.xaml.cs:line 165

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c__DisplayClass2.b__3(Object state)

at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions