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

System.ExecutionEngineException thrown with Docking

2 Answers 90 Views
Docking
This is a migrated thread and some comments may be shown as answers.
yonadav
Top achievements
Rank 1
yonadav asked on 10 Nov 2009, 06:37 PM
Hi Guys,

I've managed to run into something I didn't think was possible. it appears that for some reason the code at
> Telerik.Windows.Controls.Docking.dll!Telerik.Windows.Controls.ProportionalStackPanel.MeasureOverride(System.Windows.Size availableSize = {203,458}) Line 205
has caused an ExecutionEngineException (I got that function and line from the Show Disassembly when the exception was thrown).

I'm aware I could be of much more use to you if I had posted here what's causing it, but it's very weird. The Docking and the tab control inside it (the document host) are working fine for me for a variety of different operations, there's only one that's causing this exception. However, I have no idea what about that operation (and it's an extremely complex one until the point where a new Pane is added) causes it.

Before attempting to take my code into pieces, my question is whether the Telerik guys can look at the line I posted above and check whether or not something stands out.

Thank you for your help!
yonadav

2 Answers, 1 is accepted

Sort by
0
yonadav
Top achievements
Rank 1
answered on 11 Nov 2009, 02:36 PM
Okay, took my code apart and found the problem. It looks innocent, but it's not:

<ContentPresenter Content="{Binding}" />

A riddle --- who can tell me what's wrong about the above line? (I found out the answer after quite a bit of debugging)
0
Kaloyan
Telerik team
answered on 13 Nov 2009, 01:15 PM
Hello yonadav,

I am sorry that you are facing an issue with our RadDocking control. What i can say about the exception you are getting is that the problem might be somewhere in the xaml definition of your project as the Silverlight runtime is parsing the whole xaml in the MeasureOverride pass. We will appreciate if you prepare a small project so our help will be more efficient.

All the best,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Docking
Asked by
yonadav
Top achievements
Rank 1
Answers by
yonadav
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or