-
-
Hey, I believe I have found a bug in the add column form.
While researching issue S137427 when you put a realy large number into the More Columns form, and click OK it gives an exception: Value is too large for an int32..
Please see the steps to reproduce.
Stack Trace:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.OverflowException: Value was either too large or too small for an Int32.
at System.Decimal.ToInt32(Decimal d)
at DevExpress.XtraRichEdit.Forms.ColumnsSetupForm.OnColumnCountChanged(Object sender, EventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit.RaiseEditValueChangedCore(EventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit.RaiseEditValueChanged(EventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItem.CompleteChanges()
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.225 (RTMGDR.030319-2200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Notebook
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/Notebook.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DevExpress.Utils.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.Utils.v11.1.DLL
----------------------------------------
DevExpress.OfficeSkins.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.OfficeSkins.v11.1.DLL
----------------------------------------
DevExpress.BonusSkins.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.BonusSkins.v11.1.DLL
----------------------------------------
DevExpress.XtraBars.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraBars.v11.1.DLL
----------------------------------------
DevExpress.XtraEditors.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraEditors.v11.1.DLL
----------------------------------------
DevExpress.Data.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.Data.v11.1.DLL
----------------------------------------
DevExpress.RichEdit.v11.1.Core
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.RichEdit.v11.1.Core.DLL
----------------------------------------
DevExpress.XtraRichEdit.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraRichEdit.v11.1.DLL
----------------------------------------
DevExpress.XtraSpellChecker.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraSpellChecker.v11.1.DLL
----------------------------------------
DevExpress.SpellChecker.v11.1.Core
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.SpellChecker.v11.1.Core.DLL
----------------------------------------
DevExpress.XtraNavBar.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraNavBar.v11.1.DLL
----------------------------------------
DevExpress.XtraRichEdit.v11.1.Extensions
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraRichEdit.v11.1.Extensions.DLL
----------------------------------------
DevExpress.XtraLayout.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraLayout.v11.1.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
DevExpress.XtraPrinting.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraPrinting.v11.1.DLL
----------------------------------------
DevExpress.Printing.v11.1.Core
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.Printing.v11.1.Core.DLL
----------------------------------------
DevExpress.XtraTreeList.v11.1
Assembly Version: 11.1.2.0
Win32 Version: 11.1.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Notebook/DevExpress.XtraTreeList.v11.1.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.206 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.Steps to Reproduce:
Put a text box and a ribbon control onto the form.
Create the default bars.
On the page layout click on Columns.
Then Click More Columns.
Finally, under the amount of columns enter a hideously large number like: 23,838,883,834.
Bug Found.
Actual Results:
An Overflow Exception / Crash.
Expected Results:
Well, there isn't much to say here, but to have a popup or something saying: Value Is Too Big.
-
-
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+