Author |
|
mackolo22 Groupie
Joined: 09 October 2018 Location: Poland
Online Status: Offline Posts: 41
|
Posted: 06 February 2019 at 11:56pm | IP Logged
|
|
|
Hello,
I noticed that sometimes when calling Imap.Log.GetMemoryLog() the "System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: chunkLength" is thrown. I can't tell you what is the exact path to reproduce this issue, because it doesn't happen everytime. I call Imap.Disconnect() before getting memory log, so maybe that's a clue.
|
Back to Top |
|
|
mackolo22 Groupie
Joined: 09 October 2018 Location: Poland
Online Status: Offline Posts: 41
|
Posted: 07 February 2019 at 12:02am | IP Logged
|
|
|
I forgot to say that our MailBee.NET version is 10.0.4.507.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 07 February 2019 at 12:07am | IP Logged
|
|
|
Does that happen with the latest v11 build?
You can get a compatible trial key here.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
mackolo22 Groupie
Joined: 09 October 2018 Location: Poland
Online Status: Offline Posts: 41
|
Posted: 07 February 2019 at 12:10am | IP Logged
|
|
|
Thanks, I will try to reproduce this issue with latest build and give you feedback.
|
Back to Top |
|
|
mackolo22 Groupie
Joined: 09 October 2018 Location: Poland
Online Status: Offline Posts: 41
|
Posted: 21 March 2019 at 3:55am | IP Logged
|
|
|
Hello again,
The error still occurs even on the latest build. It happens randomly.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 21 March 2019 at 4:09am | IP Logged
|
|
|
Maybe you're using it in multi-thread environment? I.e. if you call imap.Log.GetMemoryLog() while some other activities for the same imap instance are still running, you'll get this exception. Maybe you called Disconnect and then started another connection and at the very same moment called GetMemoryLog in another thread.
GetMemoryLog cannot be called if anything else might be writing in the log at the same time.
Regards,
Alex
|
Back to Top |
|
|