This is a migrated thread and some comments may be shown as answers.

Property grid: Exception OnTapDown

3 Answers 79 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Ciro
Top achievements
Rank 1
Ciro asked on 15 Oct 2014, 03:15 PM
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










3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 16 Oct 2014, 09:32 AM
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.

 
0
De
Top achievements
Rank 1
answered on 03 Nov 2015, 01:51 AM

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)
 

 
 
0
Stefan
Telerik team
answered on 05 Nov 2015, 02:09 PM
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
Tags
PropertyGrid
Asked by
Ciro
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
De
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or