System.OverflowException:Arithmetic operation resulted in an

Posted by Rom Elwell on 11-Jun-2015 12:01

Running OE 11.5.0 with Win7 Ultimate 64-bit.  DevExpress WinForms Control Library v14.1.

I created a new form (Form1.cls) and dragged a DevExpress RichEdit control onto the form.  An error window immediately appears with the following text: "System.OverflowException: Arithmetic operation resulted in an overflow."

Can anyone assist me with resolving this issue?

The Stack Trace output is:

--> C:\Progress\OpenEdge115\oeide\eclipse\plugins\com.openedge.pdt.project_11.5.0.00\runtime\_server.p at line 174 (C:\Progress\OpenEdge115\oeide\eclipse\plugins\com.openedge.pdt.project_11.5.0.00\runtime\_server.p)

.NET StackTrace:
--> at System.Windows.Forms.Design.DesignerActionToolStripDropDown.IsWindowEnabled(IntPtr handle)
at System.Windows.Forms.Design.DesignerActionToolStripDropDown.OnClosing(ToolStripDropDownClosingEventArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
at System.Windows.Forms.Design.DesignerActionToolStripDropDown.SetVisibleCore(Boolean visible)
at System.Windows.Forms.ToolStripManager.ModalMenuFilter.CloseActiveDropDown(ToolStripDropDown activeToolStripDropDown, ToolStripDropDownCloseReason reason)
at System.Windows.Forms.ToolStripManager.ModalMenuFilter.ProcessMouseButtonPressed(IntPtr hwndMouseMessageIsFrom, Int32 x, Int32 y)
at System.Windows.Forms.ToolStripManager.ModalMenuFilter.PreFilterMessage(Message& m)
at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

All Replies

Posted by Rom Elwell on 11-Jun-2015 12:05

I should note that after acknowledging the error, it appears I can continue to work in the visual designer. I am still testing the validity of the previous statement, however...

Posted by Swathi Yellavaram on 12-Jun-2015 05:45

Hi,

This issue is only seen in Win 64 for some controls. This is already reported for 11.5 and currently in investigation stage. As a workaround please restart PDS OE after this error. No issues observed after restart of PDS. Please let us know if you still see any issues after restart of pds oe.

Thanks,

Swathi.

This thread is closed