After crashing, the client runs a tool which says all is fine, then restarts and crashes again. Here is the error info:
eM Client (6.0.22344.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34209
The following error has occurred:
System.OutOfMemoryException: Exception of type ‘System.OutOfMemoryException’ was thrown.
at System.IO.BinaryReader.ReadBytes(Int32 count)
at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.ApplyPatch(Stream patchFile, Stream referenceFile, Stream outputFile)
at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.GetFolderList(Folder homeFolder, CancellationToken cancellationToken)
at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass5.b__0(WorkerStatus status, CancellationToken cancellationToken)
at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
at MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
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.Threading.ThreadHelper.ThreadStart(Object obj)
eM Client
6.0.22344.0
false
Microsoft Windows NT 6.2.9200.0
4.0.30319.34209
System.OutOfMemoryException
Exception of type ‘System.OutOfMemoryException’ was thrown.
Hello Peter, can you please try to update to this release and check if the issue persists? http://www.emclient.com/dist/v6.0.22504/setup.msi This release contains a couple of Exchange fixes which you seem to be having issues with…
If the issue persists even after update, can you please try to turn the application on in offline mode? To do so, hold down the CTRL button while clicking on the application’s launcher and hold down the key until the application initialises.
Hi Paul, the above version seems to be working on one of my laptops, but the other started crashing again with the following error:
eM Client (6.0.22504.0)Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34014
The following error has occurred:
System.OutOfMemoryException: Exception of type ‘System.OutOfMemoryException’ was thrown.
at System.IO.BinaryReader.ReadBytes(Int32 count)
at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.ApplyPatch(Stream patchFile, Stream referenceFile, Stream outputFile)
at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.GetFolderList(Folder homeFolder, CancellationToken cancellationToken)
at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass5.b__0(WorkerStatus status, CancellationToken cancellationToken) at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status) at MailClient.Commands.Command.Process(WorkerStatus status) at MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData) at System.Threading.ThreadHelper.ThreadStart_Context(Object state) 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.Threading.ThreadHelper.ThreadStart(Object obj)
And now the other laptop is giving me grief again with this error:
eM Client (6.0.22504.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34209
The following error has occurred:
System.OutOfMemoryException: Exception of type ‘System.OutOfMemoryException’ was thrown.
at System.IO.BinaryReader.ReadBytes(Int32 count)
at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.ApplyPatch(Stream patchFile, Stream referenceFile, Stream outputFile)
at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.GetFolderList(Folder homeFolder, CancellationToken cancellationToken)
at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass5.b__0(WorkerStatus status, CancellationToken cancellationToken)
at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
at MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
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.Threading.ThreadHelper.ThreadStart(Object obj)
eM Client
6.0.22504.0
false
Microsoft Windows NT 6.2.9200.0
4.0.30319.34209
System.OutOfMemoryException
Exception of type ‘System.OutOfMemoryException’ was thrown.
This one didn’t even let me finish installing before it crashed. I completely uninstalled the previous version, and as soon as I tried to enter my gmail address, I got this error:
eM Client (6.0.22641.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34209
The following error has occurred:
System.NullReferenceException: Object reference not set to an instance of an object.
at MailClient.Accounts.AutoDiscover.XmlProviderServices.TryCreateAccount(MailAddress email, AutoDiscoverResult result, Action1 progress, CancellationToken token) at MailClient.Accounts.AutoDiscover.AutoDiscover.PerformAutodiscoveryLoopOnly(LoopStatus loopStatus, MailAddress autodiscoveryAddress, IEnumerable1 providers, Action`1 progressCallback, CancellationToken token, AutoDiscoverResult& resultOut, Form parentForm, String username, String password)
at MailClient.UI.Forms.wizardInitial.Autodiscovery_Run(CancellationToken token)
at MailClient.UI.Forms.wizardInitial.<>c__DisplayClass20.b__1f(Object param0)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
eM Client
6.0.22641.0
false
Microsoft Windows NT 6.2.9200.0
4.0.30319.34209
System.NullReferenceException
Object reference not set to an instance of an object.
Hello again, sorry to see this, if you’re still experiencing this, can you please send me an email to [email protected] with the error details and the email address you’re trying to setup with em Client?
Also please include a reference link to this forum topic.
Sorry about this, seems like this is caused by the latest internal release, that I’ve sent you prematurely, can you please uninstall eM Client and try to install using this installer, 6.0.22504.0 you should be able to setup the account after install. Or you should be able to setup the account using the manual gmail setup, instead of using the automatic setup, switch to the mail tab below and select gmail (or your other account type), that should allow you to setup the account.
This one seems to be working fine for now with both my Gmail and Exchange accounts. I will let you know if any more issues arise. Thank you for all of your help!
Glad it works, we’re working on a couple more improvements, please make sure to keep the application up to date, and let me know if you come across any other issues, I’ll be happy to help.
So, it only lasted for one day and started crashing again. The thing is, the program runs fine as long as I keep the “crashed” dialogue moved out of the way in the corner or somewhere. I can’t close the error dialogue without it closing the program. If there was a way to just get rid of the dialogue box, all would be fine because the program is running fine. Maybe the “error” is an error?
This is the new error anyway:
eM Client (6.0.22504.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34209
The following error has occurred:
System.OutOfMemoryException: Exception of type ‘System.OutOfMemoryException’ was thrown.
at System.IO.BinaryReader.ReadBytes(Int32 count)
at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.ApplyPatch(Stream patchFile, Stream referenceFile, Stream outputFile)
at MailClient.Protocols.OfflineAddressBook.OabFolderSynchronizer.GetFolderList(Folder homeFolder, CancellationToken cancellationToken)
at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass5.b__0(WorkerStatus status, CancellationToken cancellationToken)
at MailClient.Protocols.OfflineAddressBook.OabGenericCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
at MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
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.Threading.ThreadHelper.ThreadStart(Object obj)
eM Client
6.0.22504.0
false
Microsoft Windows NT 6.2.9200.0
4.0.30319.34209
System.OutOfMemoryException
Exception of type ‘System.OutOfMemoryException’ was thrown.
Hello again Peter, please navigate to your database folder in your user/AppData/Roaming/eM Client folder and remove the OAB files included in this folder while eM Client is turned off. Reopen eM client and check if the issue persists, after removing the files eM client should no longer crash.
It seems the issue is caused by the Offline Address Book, so in case the issue persists, try to disable the Offline Address book sync in your account settings in order to use the application, while we’re working on a solution.