Timeline Slider Bug

4 posts, 0 answers
  1. jongho
    jongho avatar
    2 posts
    Member since:
    Sep 2011

    Posted 27 Aug 2013 Link to this post

     {"Value cannot be null.\r\nParameter name: handler"}
     at System.Windows.UIElement.RemoveHandler(RoutedEvent routedEvent, Delegate handler)
       at Telerik.Windows.Controls.DoubleRangeBase.remove_SelectionChanged(RadRoutedEventHandler value) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Slider\DoubleRangeBase.cs:line 104


    {"Exception has been thrown by the target of an invocation."}
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
       at Telerik.Windows.Data.WeakEvent.WeakListener`1.Unsubscribe() in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\WeakEvents\WeakEvent.cs:line 67
       at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args) in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\WeakEvents\WeakEvent.cs:line 39


    Click the Change button, the error occurs several times.

    [MainWindowsViewModel.cs]

        private bool flag;
            void ChangeDateCommandEx(object o)
            {
                ItemsSource = GetTimelineDatas();

                EndDate = DateTime.Today;
                StartDate = flag ? EndDate.AddDays(-5) : EndDate.AddDays(-295);  // -295 => -294 (No Exception)
                flag = !flag;
            }

    [Attach sample file]
    http://l.bitcasa.com/VMi0hv5l
  2. Paul
    Paul avatar
    38 posts
    Member since:
    Feb 2014

    Posted 17 Jul 2014 Link to this post

    Did you ever figure out the issue with this?  I am getting the same exception and was looking for a clue where to start looking.

    Thanks for any hints you might provide about your case.
    Paul
  3. UI for WPF is Visual Studio 2017 Ready
  4. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 22 Jul 2014 Link to this post

    Hi Paul,

    The reported exception is not reproducible with the latest assemblies of our controls. You can give them a try and if the reported behavior still occurs I will ask you to open new Support Ticket and send us an isolated project where the issue appears, if is possible for you. This will allow us to test it locally and investigate what is causing the issue.

    Thank you for any help you can provide.

    Regards,
    Martin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  5. Paul
    Paul avatar
    38 posts
    Member since:
    Feb 2014

    Posted 22 Jul 2014 in reply to Martin Link to this post

    .net 4.0 versions or 4.5 versions?  Or both?

    I am still using the 4.0 version for this app.  (vs2010, etc. )
Back to Top