Completed
Last Updated: 30 Jun 2014 10:33 by Vladimir
Vladimir
Created on: 06 Jun 2014 13:29
Category: UI for WPF
Type: Bug Report
2
Focus next element
Sometimes when Tab is pressed I get this exception:
An unhandled exception occured in the application
Message: Object reference not set to an instance of an object.
Exception type: System.NullReferenceException
Details:
   at Telerik.Windows.Controls.Input.FocusScope.FocusInternal() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Input\FocusScope.cs:line 146
   at Telerik.Windows.Controls.Input.FocusScope.FocusNextElement() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Input\FocusScope.cs:line 54
   at Telerik.Windows.Controls.Input.FocusScope.RemoveFocusableElement(Control element) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Input\FocusScope.cs:line 105
   at Telerik.Windows.Controls.Input.FocusScope.FocusableElement_Unloaded(Object sender, RoutedEventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Input\FocusScope.cs:line 314
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at MS.Internal.FrameworkObject.OnUnloaded(RoutedEventArgs args)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastUnloadedEvent(Object root)
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
2 comments
Vladimir
Posted on: 11 Jun 2014 07:58
Hello Petya,
I'm using RadRibbonView and RadDocking. RadPdfViewer is also included in xaml but it has not been used yet (<telerik:RadPdfViewer />).
ADMIN
Petya
Posted on: 10 Jun 2014 12:30
Hello Vladimir,
Thanks for letting us know about this problem.
Could you please share which controls you are using when getting this exception? We are aware of a similar issue related to RadPdfViewer and want to make sure we take into account your scenario when fixing it as well.