Unhandled System.InvalidOperationException in TimeBar

4 posts, 0 answers
  1. Grant
    Grant avatar
    13 posts
    Member since:
    Oct 2011

    Posted 15 Aug 2013 Link to this post

    Hi,
    I'm received a unhandled exception crash report from a application I have deployed in the field. I'm not able to reproduce this when debugging or running on a local instance. I don't see any of my code in the call stack so I'm wondering if you have seen this issue before or have any idea how I might try and reproduce it or work around it?

    Here is the XAML:
    <telerik:RadTimeBar x:Name="RadTimeBar" IsSnapToIntervalEnabled="False" Margin="1" Height="75" SelectionTitleFormatString="{}{0:HH':'mm}"
                        PeriodStart="{Binding StartDate, Mode=TwoWay}" PeriodEnd="{Binding EndDate, Mode=TwoWay}"                                                      
                        SelectionStart="{Binding SelectionStart, Mode=TwoWay}" SelectionEnd="{Binding SelectionEnd, Mode=TwoWay}"                                   
                        MinSelectionRange="{Binding MinSelectionRange, Mode=TwoWay}" MaxSelectionRange="{Binding MaxSelectionRange, Mode=TwoWay}"
                        VisiblePeriodStart="{Binding VisiblePeriodStart, Mode=TwoWay}" VisiblePeriodEnd="{Binding VisiblePeriodEnd, Mode=TwoWay}"
                        SelectionChanged="RadTimeBar_SelectionChanged">
     
        <telerik:RadTimeBar.Intervals>
            <telerik:HourInterval IntervalSpans="1,2,6"/>
        </telerik:RadTimeBar.Intervals>
    </telerik:RadTimeBar>


    Here is the unhandled exception information:
    System.InvalidOperationException: [NoElements] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20513.00&File=System.Core.dll&Key=NoElements at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Telerik.Windows.Controls.TimeBar.IntervalContainerBase.GetHoveredPeriodRange(IEnumerable`1 hoveredChildren) at Telerik.Windows.Controls.TimeBar.IntervalContainerBase.OnMouseMove(MouseEventArgs e) at System.Windows.Controls.Control.OnMouseMove(Control ctrl, EventArgs e) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 20 Aug 2013 Link to this post

    Hi Grant,

    One other client has reported the same problem. However, he was not able to send me a project, demonstrating this problem. I did my best to try to reproduce the problem locally, but to no avail. As we would rather not fix problems that we cannot reproduce and debug, it would be great if you could open a new support ticket and send me a running test project, demonstrating the exception, together with a video, showing the steps that lead to it.

    Regards,
    Tsvetie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Grant
    Grant avatar
    13 posts
    Member since:
    Oct 2011

    Posted 21 Aug 2013 Link to this post

    Hi Tsvetie, As I said I am unable to reproduce this issue as well so I cannot submit a sample project.

    I believe it may repro only in OOB mode when running on XP but still have not been able to reproduce it.

    Is there any advice on how to work around this issue (I've noticed this control is very particular in binding ordering) as this is causing a crash in my application and is clearly in Telerik code.

    Thanks,
    Grant
  5. Peshito
    Admin
    Peshito avatar
    496 posts

    Posted 26 Aug 2013 Link to this post

    Hi Grant,

    As Tsvetie said, it is hard to fix something that cannot be reproduced as it might lead to other unwanted behaviors what we do not want, thus we cannot do much in this case unless there is a sample we could work on.

    Regards,
    Peshito
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top