View Issue Details

IDProjectCategoryView StatusLast Update
1024Import LASImport/ExportPublicNov 30th 2023 10:21 AM
ReporterNBug Reporter Assigned ToTravis Herzog  
Priority ImmediateSeverityCrashReproducibilityAlways
Status StagedResolutionFixed 
ProjectionMinor FixETAUnder 1 Day 
PlatformWin32NTOSMicrosoft Windows NT 6.2.9200.0OS Version6.2.9200.0
Product Version1.22.11 
Target Version1.22.12Fixed in Version1.22.12 
Summary1024: Length cannot be less than zero.Parameter name: length @ System.String Substring(Int32, Int32) @ System.String
Description
<SerializableException xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ExtendedInformation>
    <ParamName>length</ParamName>
    <HResult>-2146233086</HResult>
  </ExtendedInformation>
  <InnerExceptions />
  <Message>Length cannot be less than zero.
Parameter name: length</Message>
  <Source>mscorlib</Source>
  <StackTrace>   at System.String.Substring(Int32 startIndex, Int32 length)
   at Import_LAS.mod_NL_LasFile.StripCurveOrConst(String avDataLine, String& avMnem, String& avUnits, String& avValue, String& avDescription)
   at Import_LAS.mod_NL_LasFile.ParseLASVersion()
   at Import_LAS.mod_NL_LasFile.CheckFile(String avFilePathAndName)
   at Import_LAS.frmMain.CheckInputFile()
   at Import_LAS.frmMain.SelectAndLoadFile()
   at Import_LAS.frmMain.ShowLoadFile()
   at Import_LAS.frmMain.DoOneTimeAtLoad()
   at Import_LAS.frmMain.frmMain_Shown(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()</StackTrace>
  <TargetSite>System.String Substring(Int32, Int32) @ System.String</TargetSite>
  <Type>System.ArgumentOutOfRangeException</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>9/19/2023 9:11:39 PM</DateTime>
    <ExceptionMessage>Length cannot be less than zero.
Parameter name: length</ExceptionMessage>
    <ExceptionType>System.ArgumentOutOfRangeException</ExceptionType>
    <HostApplication>HN32-22.exe</HostApplication>
    <HostApplicationVersion>1.22.11</HostApplicationVersion>
    <NBugVersion>1.2.0.0</NBugVersion>
    <TargetSite>System.String Substring(Int32, Int32) @ System.String</TargetSite>
    <UserDescription />
  </GeneralInfo>
</Report>
TagsBug, Calculations, Crash, Database/IO, Import/Export, NBug
Installation TypeWorkstation

Activities

NBug Reporter

NBug Reporter

Sep 19th 2023 4:12 PM

Bot  

Exception_133396315196257259.zip (319,282 bytes)
Travis Herzog

Travis Herzog

Oct 19th 2023 11:36 AM

Administrator   ~250

A resolution for this issue has been committed with revision 'bedc4d0d20fc678b70aefbb65297932d1516a2cf' to branch 'release/v1.22.12' in repository 'ImportLAS' with changeset ID '28383' at 2023-09-20T06:31:59+00:00.