Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentOutOfRangeException in DateTimeChartRangeControlClient #16

Closed
lethek opened this issue Apr 30, 2020 · 3 comments
Closed

ArgumentOutOfRangeException in DateTimeChartRangeControlClient #16

lethek opened this issue Apr 30, 2020 · 3 comments

Comments

@lethek
Copy link

lethek commented Apr 30, 2020

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).

@lethek
Copy link
Author

lethek commented Apr 30, 2020

So far it's happening consistently for me with this 'test' web-app hosted in IIS (regardless whether Fusion++ records the logs, or the logs are imported in from FUSLOGVW):
FusionWebTest-Src.zip

However, it appears to be working fine with a much larger, real web-app I'm working on.

@lethek lethek changed the title ArgumentOutOfRangeException ArgumentOutOfRangeException in DateTimeChartRangeControlClient Apr 30, 2020
@awaescher
Copy link
Owner

I could reproduce this with the first zip file you attached, thanks for the repro.

@awaescher
Copy link
Owner

Version 1.3 was just released.
I would be happy to hear if this issue is gone now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants