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

HRESULT E_FAIL has been returned from a call to a COM component.

3 Answers 129 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dave
Top achievements
Rank 1
Dave asked on 24 Mar 2015, 04:24 PM


Message:Error
HRESULT E_FAIL has been returned from a call to a COM component.



Source:Error HRESULT E_FAIL has been returned from a call to a COM component.

Stack Trace: at
Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize) at
Windows.UI.Xaml.FrameworkElement.MeasureOverride(Size availableSize) at
Telerik.UI.Xaml.Controls.RadControl.MeasureOverride(Size availableSize) at
Windows.UI.Xaml.UIElement.Measure(Size availableSize) at Telerik.UI.Xaml.Controls.Primitives.RadDataBoundListBox.ShowPullToRefreshIndicator()
at
Telerik.UI.Xaml.Controls.Primitives.StackVirtualizationStrategy.RecycleItem(RadVirtualizingDataControlItem
item, Boolean setVisibility) at Telerik.UI.Xaml.Controls.Primitives.RadDataBoundListBox.ClearContainerForItemOverride(RadVirtualizingDataControlItem
element, IDataSourceItem item) at
Telerik.UI.Xaml.Controls.Primitives.RadVirtualizingDataControl.RecycleAllItems()
at Telerik.UI.Xaml.Controls.Primitives.RadVirtualizingDataControl.CleanupAfterCollectionReset()
at
Telerik.UI.Xaml.Controls.Primitives.RadVirtualizingDataControl.OnCollectionReset()
at
Telerik.UI.Xaml.Controls.Primitives.RadVirtualizingDataControl.OnItemsChanged(NotifyCollectionChangedEventArgs
e) at Telerik.UI.Xaml.Controls.Primitives.RadDataBoundListBox.OnItemsChanged(NotifyCollectionChangedEventArgs
e) at
Telerik.UI.Xaml.Controls.Primitives.DataControlBase.OnListSourceCollectionChanged(Object
sender, NotifyCollectionChangedEventArgs e) at Telerik.Core.Data.RadListSource.RefreshOverride()
at Telerik.Core.Data.RadListSource.Refresh() at
System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object
sender, NotifyCollectionChangedEventArgs e) at
System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs
e) at
Microsoft.DAS.Mobile.Jobs.ViewModel.JobsDetailPageViewModel.d__b.MoveNext() ---
End of stack trace from previous location where exception was thrown --- at
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) at
Microsoft.DAS.Mobile.Jobs.ViewModel.JobsDetailPageViewModel.d__5.MoveNext() ---
End of stack trace from previous location where exception was thrown --- at
System.Runtime.CompilerServices.AsyncMethodBuilderCore. b__4(Object state) at
Microsoft.DAS.Mobile.Universal.CustomSynchronizationContext.<>c__DisplayClass5.b__4(Object
state)

We are intermittently getting this exception in an application we have built using Databoundlistbox.
Any ideas on how to troubleshoot this?



3 Answers, 1 is accepted

Sort by
0
Vladislav
Telerik team
answered on 25 Mar 2015, 10:04 AM
Hi Dave,

Based only on the information provided we are unable to identify a possible cause of it.
Is it possible to send us a sample project (or just the relevant part of your project) in order to investigate it locally? And some "steps to reproduce" if possible?

Thank you in advance.

Regards,
Vladislav
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Dave
Top achievements
Rank 1
answered on 25 Mar 2015, 11:06 PM
i don't have a repro for this it happens intermittently. I can share with you the XAML of any other code snippet you may need.
0
Vladislav
Telerik team
answered on 30 Mar 2015, 07:28 AM
Hello Dave,

As I already answered to your support ticket, any additional information regarding this issue would be really helpful, this includes, but is not limited to XAML, code behind, styles, templates, etc.

As a side note - is it possible to continue this communication in only one place? I mean that it will be better/easier if we continue to exchange information only in this forum thread or in the support ticket, whatever you find more appropriate. Please note that if you plan to send us any sample project here (at the forum post) it will be public, whenever in the support ticket it will be completely private (between you and us).


Regards,
Vladislav
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
DataBoundListBox
Asked by
Dave
Top achievements
Rank 1
Answers by
Vladislav
Telerik team
Dave
Top achievements
Rank 1
Share this question
or