Property grid: Exception OnTapDown

4 posts, 0 answers
  1. Ciro
    Ciro avatar
    11 posts
    Member since:
    Nov 2013

    Posted 15 Oct 2014 Link to this post

    Hi,


    I have the following error when run my application on Windows 8:
    (I have the following version of telerik (Runtime Version: v4.0.30319, Version: 2014.2.617.40)

    [1] App - Unhandled exception happened! - System.NullReferenceException: Object reference not set to an instance of an object. 
    at Telerik.Windows.Controls.RadPropertyGrid.OnTapDown(FrameworkElement originalSource) 
    at Telerik.Windows.Controls.Data.PropertyGrid.PropertyGridTouchableElement.TapDown(TapDownArguments args) 
    at Telerik.Windows.Input.Touch.GestureHandlers.TapGestureHandler.TapUp(Point point) 
    at Telerik.Windows.Input.Touch.TouchHandler.RegisterTouchUp(TouchHandlerArgs args) 
    at Telerik.Windows.Input.Touch.TouchHandlersController.RegisterTouchUp(Point point, TouchPoint[] touchPoints, Boolean& handled) 
    at Telerik.Windows.Input.Touch.TouchHandlersController.Owner_TouchUp(Object sender, TouchEventArgs e) 
    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 
    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 
    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 
    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 
    at System.Windows.Input.InputManager.ProcessStagingArea() 
    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 
    at System.Windows.Input.TouchDevice.ReportUp() 
    at System.Windows.Input.StylusLogic.PromoteMainUpToTouch(StylusDevice stylusDevice, StagingAreaInputItem stagingItem) 
    at System.Windows.Input.StylusLogic.PostProcessInput(Object sender, ProcessInputEventArgs e) 
    at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 
    at System.Windows.Input.InputManager.ProcessStagingArea() 
    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 
    at System.Windows.Input.StylusLogic.InputManagerProcessInput(Object oInput) 
    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).


    How can I fix this error?

    Thanks

    Ciro










  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 16 Oct 2014 Link to this post

    Hi Ciro,

    We are currently not aware of such an exception. Still, I consulted the case with the development team and they applied a fix according to the shared stack trace. It will be available with the next latest internal build expected to be released on Monday. Would you please test at your side then and let me know your observations?

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. De
    De avatar
    16 posts
    Member since:
    Aug 2011

    Posted 02 Nov 2015 Link to this post

    I have the same issue with Surface Pro 3.  Any updates on this issue?

    What I have a RadAutoCompleteBox hosted inside RadPropertyGrid.  The Null exception would display when users touch the RadAutoCompleteBox with a finger.   From the stack trace, look like the RadPropertyGrid crashes.

    My Telerik version is bit old:  2014.2.729.45.   Too late to update to latest Telerik wpf library.

    Fast response is appreciated.

    Stack trace:

    01.Message: Object reference not set to an instance of an object.
    02.Stacktrace:
    03.   at Telerik.Windows.Controls.RadPropertyGrid.OnTapDown(FrameworkElement originalSource)
    04.   at Telerik.Windows.Controls.Data.PropertyGrid.PropertyGridTouchableElement.TapDown(TapDownArguments args)
    05.   at Telerik.Windows.Input.Touch.GestureHandlers.TapGestureHandler.TapUp(Point point)
    06.   at Telerik.Windows.Input.Touch.TouchHandler.RegisterTapUp(Point point)
    07.   at Telerik.Windows.Input.Touch.TouchHandler.RegisterTouchUp(TouchHandlerArgs args)
    08.   at Telerik.Windows.Input.Touch.TouchHandlersController.RegisterTouchUp(Point point, TouchPoint[] touchPoints, Boolean& handled)
    09.   at Telerik.Windows.Input.Touch.TouchHandlersController.Owner_TouchUp(Object sender, TouchEventArgs e)
    10.   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    11.   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
    12.   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
    13.   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
    14.   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
    15.   at System.Windows.Input.InputManager.ProcessStagingArea()
    16.   at System.Windows.Input.TouchDevice.RaiseTouchUp()
    17.   at System.Windows.Input.TouchDevice.ReportUp()
    18.   at System.Windows.Input.StylusLogic.PromoteMainUpToTouch(StylusDevice stylusDevice, StagingAreaInputItem stagingItem)
    19.   at System.Windows.Input.StylusLogic.PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs)
    20.   at System.Windows.Input.StylusLogic.PostProcessInput(Object sender, ProcessInputEventArgs e)
    21.   at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
    22.   at System.Windows.Input.InputManager.ProcessStagingArea()
    23.   at System.Windows.Input.StylusLogic.InputManagerProcessInput(Object oInput)
    24.   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    25.   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     

     
     
  5. Stefan X1
    Admin
    Stefan X1 avatar
    517 posts

    Posted 05 Nov 2015 Link to this post

    Hello De Tran,

    Please note, that the touch logic has been rebuilt from scratch since the version you are using, so I am afraid that providing you with a workaround would not be possible. However, I tried reproducing the issue with your assemblies version, but to no avail. Can you please check whether it is reproduced with the Surface Pro 3 Tablet only?

    Regards,
    Stefan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top