Skip to content

ArgumentOutOfRangeException in DateTimeChartRangeControlClient #16

@lethek

Description

@lethek

While Fusion++ was attempting to parse the logs recorded for an IIS-hosted web-app, it threw this uncaught exception and did not proceed any further:

System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime. (Parameter 'value')
   at System.DateTime.AddTicks(Int64 value)
   at System.DateTime.Add(Double value, Int32 scale)
   at System.DateTime.AddMilliseconds(Double value)
   at DevExpress.XtraEditors.DateTimeChartRangeControlClient.NativeValue(Double value)
   at DevExpress.XtraEditors.ChartRangeControlClientBase.GetArgumentRange()
   at DevExpress.XtraEditors.ChartRangeControlClientRange.UpdateWithDataArgumentRange()
   at DevExpress.XtraEditors.ChartRangeControlClientBase.InteractionUpdated()
   at DevExpress.XtraEditors.ChartRangeControlClientBase.CoreClientDelegate.DevExpress.ChartRangeControlClient.Core.IChartCoreClientDelegate.InteractionUpdated()
   at DevExpress.ChartRangeControlClient.Core.ChartCoreClient.DataProviderDataChanged(IClientDataProvider provider)
   at DevExpress.XtraEditors.ChartRangeControlClientDataProvider.InternalClientDataProvider.RaiseDataChanged()
   at DevExpress.XtraEditors.ChartRangeControlClientDataProvider.BindingDelegateBindingChanged()
   at DevExpress.XtraEditors.ChartRangeControlClientDataProvider.InternalBindingSourceDelegate.DevExpress.ChartRangeControlClient.Core.IBindingSourceDelegate.BindingChanged()
   at DevExpress.ChartRangeControlClient.Core.BindingSource.RaiseBindingChanged()
   at DevExpress.ChartRangeControlClient.Core.BindingSource.set_ItemsSource(Object value)
   at DevExpress.XtraEditors.ChartRangeControlClientDataProvider.ApplyRealDataSettings()
   at DevExpress.XtraEditors.ChartRangeControlClientDataProvider.UpdateBindingSource(Boolean invalidateRangeControl)
   at FusionPlusPlus.Forms.MainForm.LoadLogsAsync(ILogStore logStore)
   at FusionPlusPlus.Forms.MainForm.LoadLogsAsync(String path)
   at FusionPlusPlus.Forms.MainForm.ImportFromDirectoryAsync(String directory)
   at FusionPlusPlus.Forms.MainForm.<>c__DisplayClass35_1.<<PopulateLastSessions>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_0(Object state)

The full error message reported by Fusion++ is here: ArgumentOutOfRangeException.txt

And the actual logs in question are here: 2020.04.30.07.37.37.5091.zip

I'm not sure whether this might be related to issue #15. In case it's relevant though, the system-time at which I recorded those logs was 5:37pm in AEST (UTC+10).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions