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

UI Winforms Update Overflow Error Crashes App

1 Answer 186 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christine
Top achievements
Rank 1
Christine asked on 09 May 2017, 07:05 PM

I tried to update Telerik UI for Winforms today to the latest version. Everything builds and the app runs. However, when I navigate to a form that contains Pie Charts, the app crashes with an unhandled exception and I get the below Overflow error.

What changed with the chartview control that would cause this? Is this something I can fix on my end? or do I need to wait for a bug fix release?

 

System.OverflowException: Overflow error.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawRectangle(Pen pen, Single x, Single y, Single width, Single height)
   at Telerik.WinControls.Paint.RadGdiGraphics.DrawRectangle(RectangleF rectangle, Color color, PenAlignment penAlignment, Single penWidth, Brush brush, DashStyle dashStyle, Single[] dashPattern)
   at Telerik.WinControls.Paint.RadGdiGraphics.DrawRectangle(RectangleF rectangle, Color color, PenAlignment penAlignment, Single penWidth, DashStyle dashStyle, Single[] dashPattern)
   at Telerik.WinControls.Primitives.BorderPrimitiveImpl.DrawRectangle(IGraphics graphics, RectangleF rectangle, Color[] gradientColors, Single width)
   at Telerik.WinControls.Primitives.BorderPrimitiveImpl.PaintBorder(IGraphics graphics, Single angle, SizeF scale, RectangleF preferedRectangle)
   at Telerik.WinControls.UI.LabelElementDrawPart.Draw()
   at Telerik.WinControls.UI.PieLabelElementDrawPart.Draw()
   at Telerik.WinControls.UI.PieRenderer.Draw(Object context)
   at Telerik.WinControls.UI.ChartArea.Render(Object context)
   at Telerik.WinControls.UI.ChartView.Draw(Object context)
   at Telerik.WinControls.UI.RadChartElement.PaintElement(IGraphics graphics, Single angle, SizeF scale)
   at Telerik.WinControls.RadElement.DoOwnPaint(IGraphics graphics, Single angle, SizeF scale)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChild(RadElement child, IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintChild(RadElement child, IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RootRadElement.Paint(IGraphics graphics, Rectangle clipRectangle)
   at Telerik.WinControls.RadControl.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 11 May 2017, 08:46 AM
Hi Christine,

Since you have a support ticket for this case we can continue discussing this there. This thread can remain open in case anyone else has the same issue. 

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Christine
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or