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

Unhandled System.InvalidOperationException in TimeBar

3 Answers 63 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Grant
Top achievements
Rank 1
Grant asked on 15 Aug 2013, 08:35 PM
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)

3 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 20 Aug 2013, 03:24 PM
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 >>
0
Grant
Top achievements
Rank 1
answered on 21 Aug 2013, 04:23 PM
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
0
Peshito
Telerik team
answered on 26 Aug 2013, 12:40 PM
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 >>
Tags
TimeBar
Asked by
Grant
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Grant
Top achievements
Rank 1
Peshito
Telerik team
Share this question
or