pingzing / trippit

An experimental Windows 10 Helsinki DigiTransit client
MIT License
1 stars 1 forks source link

Fix crash in System.Runtime.InteropServices.WindowsRuntime.IVector`1.Append #41

Closed pingzing closed 7 years ago

pingzing commented 7 years ago

Version: 0.1.17.0 | DigiTransit10

Stacktrace (first of multiple)

System.Runtime.InteropServices.WindowsRuntime.IVector`1;Append;;
System.Runtime.InteropServices.WindowsRuntime.VectorToCollectionAdapter;Add[T];;
DigiTransit10.Controls.CircleMapIconSource;Initialize;;
DigiTransit10.Controls.CircleMapIconSource.d__11;MoveNext;;
System.Runtime.CompilerServices.TaskAwaiter;ThrowForNonSuccess;;
System.Runtime.CompilerServices.TaskAwaiter;HandleNonSuccessAndDebuggerNotification;;
System.Runtime.CompilerServices.TaskAwaiter`1;GetResult;;
DigiTransit10.Controls.DigiTransitMap.d__39;MoveNext;;
System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c;b__6_0;;
System.Threading.WinRTSynchronizationContext.Invoker;InvokeCore;;
Windows.ApplicationModel.Core.UnhandledError;Propagate;;
Microsoft.HockeyApp.Extensibility.Windows.UnhandledExceptionTelemetryModule;CoreApplication_UnhandledErrorDetected;;

Reason

No installed components were detected.

Child collection must not be modified during measure or arrange.

Link to HockeyApp

pingzing commented 7 years ago

Maaaybe fixed by making the map in TripResultDetals x:DeferredLoadStrategy="Lazy". If we see this again, we may have to do initialization of the CircleMapIconSource some other way.