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

Exception in MS.Internal.XcpImports.MethodEx

3 Answers 117 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Nicklas
Top achievements
Rank 1
Nicklas asked on 12 Mar 2013, 10:28 AM
Getting this error on several occations, when working with a gauge control (updating some limits);
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
at MS.Internal.XcpImports.UIElement_TransformToVisual(UIElement element, UIElement visual)
at Telerik.Windows.Controls.Gauge.GraphicScale.UpdateCalculatedBounds(FrameworkElement element, Point& leftTop, Point& rightBottom, Rect bounds)
at Telerik.Windows.Controls.Gauge.GraphicScale.CalculateBoundsOfElement(FrameworkElement element, Point& leftTop, Point& rightBottom)
at Telerik.Windows.Controls.Gauge.GraphicScale.CalculateMouseEventsCollectorSize()

Any suggestions?

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 13 Mar 2013, 08:30 AM
Hi Nicklas,

Unfortunately it is very complicated and it is hard to reproduce the problem without your solution, but using just a description you sent. Could you, please, provide us with your solution or with a small sample solution which reproduces it?

Greetings,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Nicklas
Top achievements
Rank 1
answered on 13 Mar 2013, 08:50 AM
Hi Andrey,

Unfortunately, I'm not able to share any code due to company regulations. If it's helpful for you, another developer at my team has encountered a similar error before, and arrived at the conclusion that some computers are just loading things too fast or slow, thus trying to perform operations on elements / controls / whatever that does not yet exist.

Regards,
Nicklas
0
Andrey
Telerik team
answered on 18 Mar 2013, 08:57 AM
Hello Nicklas,

I'm sorry, but we aren't able to reproduce the problem in our environment (either on modern i7 PC or old style CoreDuo PC). Seems like it occurs in the particular scenario which we can't reproduce. I'm sorry but we aren't able to help you without code which we can use to reproduce the problem.

Kind regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Gauge
Asked by
Nicklas
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Nicklas
Top achievements
Rank 1
Share this question
or