View Issue Details

IDProjectCategoryView StatusLast Update
675Edit - ToolboxUser InterfacePublicFeb 3rd 2024 4:22 PM
ReporterTravis Herzog Assigned ToTravis Herzog  
Priority UrgentSeverityCrashReproducibilitySometimes
Status StagedResolutionFixed 
ProjectionMinor FixETANone 
PlatformWin32NTOSWindowsOS Version10
Product Version1.22.6 
Target Version1.23.0Fixed in Version1.23.0 
Summary675: Entering an invalid number in the Auto Rescale text boxes causes InvalidCastException
DescriptionEntering an invalid number in the Auto Rescale text boxes causes InvalidCastException.

<SerializableException xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ExtendedInformation>
    <HResult>-2147467262</HResult>
  </ExtendedInformation>
  <InnerException>
    <ExtendedInformation>
      <HResult>-2146233033</HResult>
    </ExtendedInformation>
    <Message>La cadena de entrada no tiene el formato correcto.</Message>
    <Source>Microsoft.VisualBasic</Source>
    <StackTrace>   en Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   en Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)</StackTrace>
    <TargetSite>Double ParseDouble(System.String, System.Globalization.NumberFormatInfo) @ Microsoft.VisualBasic.CompilerServices.Conversions</TargetSite>
    <Type>System.FormatException</Type>
  </InnerException>
  <Message>Conversion from string "1..00" to type 'Single' is not valid.</Message>
  <Source>Microsoft.VisualBasic</Source>
  <StackTrace>   en Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)
   en Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(Object Value, NumberFormatInfo NumberFormat)
   en EditToolbox.frmMain.txtAuto0_LostFocus(Object sender, EventArgs e)
   en System.Windows.Forms.Control.OnLostFocus(EventArgs e)
   en System.Windows.Forms.Control.WmKillFocus(Message& m)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   en System.Windows.Forms.TextBox.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</StackTrace>
  <TargetSite>Single ToSingle(System.String, System.Globalization.NumberFormatInfo) @ Microsoft.VisualBasic.CompilerServices.Conversions</TargetSite>
  <Type>System.InvalidCastException</Type>
</SerializableException>
Additional Information
<Report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <GeneralInfo>
    <CLRVersion>4.0.30319.42000</CLRVersion>
    <DateTime>5/25/2022 7:07:27 PM</DateTime>
    <ExceptionMessage>Conversion from string "1..00" to type 'Single' is not valid.</ExceptionMessage>
    <ExceptionType>System.InvalidCastException</ExceptionType>
    <HostApplication>HN32-31.exe</HostApplication>
    <HostApplicationVersion>1.22.5.23</HostApplicationVersion>
    <NBugVersion>1.2.1.0</NBugVersion>
    <TargetSite>Single ToSingle(System.String, System.Globalization.NumberFormatInfo) @ Microsoft.VisualBasic.CompilerServices.Conversions</TargetSite>
    <UserDescription />
  </GeneralInfo>
</Report>
TagsBug, Crash, User Input, User Interface
Attached Files
Exception_132979792495597322.zip (262,724 bytes)
Installation TypeWorkstation

Activities

Travis Herzog

Travis Herzog

Aug 2nd 2022 1:15 AM

Administrator   ~097

Fix committed to master branch in repository Edit - Toolbox at 2022-08-02 00:00:52.
Travis Herzog

Travis Herzog

Feb 2nd 2024 12:17 PM

Administrator   ~271

A resolution for this issue has been committed with revision 'c8b8609c3cef3391c333006d419bdc997bb4f780' to branch 'release/v1.23.0' in repository 'EditToolbox' with changeset ID '29048' at 2024-02-01T17:29:08+00:00.