UWP RestoreSavedNavigation Exception #2299
Unanswered
joopvanduin
asked this question in
WPF
Replies: 1 comment 3 replies
-
Prism for UWP is not supported. Only WPF, XF, and Uno are supported at this time. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am using Prism within my UWP app and one of my customers get the following exception:
System.Collections.Generic.KeyNotFoundException: The given key 'LastNavigationParameter' was not present in the dictionary.
at System.ThrowHelper.GetKeyNotFoundException(Object) + 0x3e
at System.ThrowHelper.ThrowKeyNotFoundException(Object) + 0x7
at Prism.Windows.Navigation.FrameNavigationService.RestoreSavedNavigation() + 0x1cc
at Prism.Windows.PrismApplication.d__61.MoveNext() + 0x3ec
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x60
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x36
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x16
at Prism.Windows.PrismApplication.d__52.MoveNext() + 0xab
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x60
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x36
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x16
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0x9
at Prism.Windows.PrismApplication.d__53.MoveNext() + 0x49
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x19
at System.Action`1.Invoke(T) + 0x1e
at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x2b
at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x1d
at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0x8c
at __Interop.ForwardComStubs.Stub_18[TThis](__ComObject, Int32) + 0x1f
at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x31
Could you please advice?
All the best
Joop van Duin
Beta Was this translation helpful? Give feedback.
All reactions