View Issue Details

IDProjectCategoryView StatusLast Update
876Edit - CleanupUser InterfacePublicFeb 3rd 2024 4:22 PM
ReporterNBug Reporter Assigned ToTravis Herzog  
Priority UrgentSeverityCrashReproducibilitySometimes
Status StagedResolutionFixed 
ProjectionMinor FixETA2-3 Days 
PlatformWin32NTOSMicrosoft Windows NT 6.2.9200.0OS Version6.2.9200.0
Product Version1.22.11 
Target Version1.23.0Fixed in Version1.23.0 
Summary876: Entering a non-numeric value for Find/Replace values causes InvalidCastException
DescriptionEntering a non-numeric value for Find/Replace values causes InvalidCastException.

Conversion from string "." to type 'Single' is not valid. @ Single ToSingle(System.String, System.Globalization.NumberFormatInfo) @ Microsoft.VisualBasic.CompilerServices.Conversions

<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>
    <InnerExceptions />
    <Message>Input string was not in a correct format.</Message>
    <Source>Microsoft.VisualBasic</Source>
    <StackTrace>   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   at 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>
  <InnerExceptions />
  <Message>Conversion from string "." to type 'Single' is not valid.</Message>
  <Source>Microsoft.VisualBasic</Source>
  <StackTrace>at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(Object Value, NumberFormatInfo NumberFormat)
   at EditCleanup.EditCleanupMain.txtFRFindValue_LostFocus(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnLostFocus(EventArgs e)
   at System.Windows.Forms.Control.WmKillFocus(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   at System.Windows.Forms.TextBox.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.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>2/23/2023 9:55:27 PM</DateTime>
    <ExceptionMessage>Conversion from string "." to type 'Single' is not valid.</ExceptionMessage>
    <ExceptionType>System.InvalidCastException</ExceptionType>
    <HostApplication>HN32-21.exe</HostApplication>
    <HostApplicationVersion>1.22.11</HostApplicationVersion>
    <NBugVersion>1.2.0.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_133216629360661936.zip (301,812 bytes)
Installation TypeWorkstation

Activities

Travis Herzog

Travis Herzog

Feb 2nd 2024 12:10 PM

Administrator   ~270

A resolution for this issue has been committed with revision '838b359865d23682fdd5bc7bed6757dcbfdb8430' to branch 'release/v1.23.0' in repository 'EditCleanup' with changeset ID '29016' at 2024-02-01T17:27:24+00:00.