NullPointerException when dragging thumb outside window

5 posts, 0 answers
  1. Ola
    Ola avatar
    15 posts
    Member since:
    Jun 2014

    Posted 20 Feb 2015 Link to this post

    Hi,

    When I am dragging the SelectionEnd thumb on my RadTimeBar outside my dialog window I get a NullPointerException.

    Maybe I get the exception because I move the mouse outside the window as I move outside the TimeBar.

    Do you know of a workaround?

    /Ola

    Here is the callstack:

       vid Telerik.Windows.Controls.TimeBar.SelectionThumb.get_IsDragging()
       vid Telerik.Windows.Controls.TimeBar.SelectionThumb.OnMouseLeaveRight()
       vid Telerik.Windows.Controls.TimeBar.SelectionThumb.OnMouseMove(Object sender, MouseEventArgs e)
       vid System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       vid System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       vid System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       vid System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       vid System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       vid System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       vid System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       vid System.Windows.Input.InputManager.ProcessStagingArea()
       vid System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       vid System.Windows.Input.MouseDevice.Synchronize()
       vid System.Windows.Input.MouseDevice.OnHitTestInvalidatedAsync(Object sender, EventArgs e)
       vid System.Windows.Input.InputManager.HitTestInvalidatedAsyncCallback(Object arg)
       vid System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       vid MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       vid System.Windows.Threading.DispatcherOperation.InvokeImpl()
       vid System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       vid System.Windows.Threading.DispatcherOperation.Invoke()
  2. Ola
    Ola avatar
    15 posts
    Member since:
    Jun 2014

    Posted 20 Feb 2015 Link to this post

    Sorry, I get the error when I move outside the RadTimeBar. I dont have to move outside the window.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 24 Feb 2015 Link to this post

    Hi Ola,

    We have not had any reports about such a behavior so far. I created a small project and I was unable to get an exception. I am attaching it for your reference, I will ask that you update the project so that the exception occurs. Please explain what are the steps we need to make in order to get this faulty behavior. Can you also share with us which version you are using? Thank you.

    Regards,
    Petar Marchev
    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.

     
  5. Ola
    Ola avatar
    15 posts
    Member since:
    Jun 2014

    Posted 24 Feb 2015 in reply to Petar Marchev Link to this post

    Sorry to bother you. I had made some local modifications to the windows8 datavisualization resources that caused a crash after updating Telerik UI. It was nobodys fault but mine. Thank you for excellent support.

    /Ola
  6. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 24 Feb 2015 Link to this post

    Hi Ola,

    Thank you for the information. We are happy that you have worked this out.

    Regards,
    Petar Marchev
    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.

     
Back to Top
UI for WPF is Visual Studio 2017 Ready