-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The requested lookup key was not found in any active activation context #3922
Comments
@myCollections Can you show your problem with a simple application? Never seen this issue, so maybe something special. |
Thanks for your quick reply. But it will happens only twice on the same computer. |
I have similar issues in our production with similar stacktrace, e.g.
or
I'm wondering whether this Exception will be caught somewhere https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/Controls/WinApiHelper.cs#L62 ? |
@myCollections @mohdimas it may be helpful to get direct access to your source code in order to debug it. Maybe you can share it at least private to @punker76 if you don't want to make it public. If possible a stripped down sample (source) would also be useful if it shows your issue. Thank you in advance and happy coding |
It's also happening to some users when trying to open the FancyZones editor in PowerToys |
@punker76 |
@punker76 Thanks a lot for the Fix 👍 |
Describe the bug
Hello, since last version i receive this error message the first time the application is launched :
The requested lookup key was not found in any active activation context
Stack trace :
at MahApps.Metro.Controls.WinApiHelper.GetWindowText(Window window)
at MahApps.Metro.Automation.Peers.MetroWindowAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.UIElement.UpdateLayout()
at System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)
Environment
MahApps.Metro version: v2.2.0
Target Framework: .Net v4.6.1
The text was updated successfully, but these errors were encountered: