Emc trying to move message unattended, subsequent error

Since today’s update (Mac, 8.1.1053), I constantly see a red triangle next to me account name.

The log shows as follows:

10:42:11 xxx@xxx.xxx IMAP Moving item(s) from folder ‘/Inbox’ to folder ‘/Trash’
10:42:12 xxx@xxx.xxx [IMAP] System.ArgumentNullException: Value cannot be null.
** Parameter name: source**
** at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0000d] in <d44087f33b3540099eaa489234c82cbf>:0 ** ** at MailClient.Protocols.Common.ItemMoveContext2[TItem,TStorageItem].Commit (TItem item, System.Collections.Generic.IEnumerable1[T] additionalProperties) [0x000ab] in <be34e65e25f74efcb40ae820a3e20a40>:0 ** ** at MailClient.Protocols.Imap.ImapMailSynchronizer.MoveAsync (MailClient.Protocols.Common.IItemMoveContext1[TItem] moveContext, MailClient.Storage.Application.Folder folder, System.Collections.Generic.IEnumerable1[T] items, MailClient.Storage.Application.Folder targetFolder, System.Threading.CancellationToken cancellationToken) [0x000ec] in <c4049059d4bf4e12921fffe7479716b7>:0 ** ** at MailClient.Protocols.Imap.ImapMailSynchronizer.Move (MailClient.Protocols.Common.IItemMoveContext1[TItem] moveContext, MailClient.Storage.Application.Folder folder, System.Collections.Generic.IEnumerable1[T] items, MailClient.Storage.Application.Folder targetFolder, System.Threading.CancellationToken cancellationToken) [0x00038] in <c4049059d4bf4e12921fffe7479716b7>:0 ** ** at MailClient.Protocols.Common.ItemSynchronizer2+<>c__DisplayClass33_0[TItem,TStorageItem].b__0 (MailClient.Commands.WorkerStatus status, System.Threading.CancellationToken cancellationToken) [0x000b5] in :0 **
** at MailClient.Protocols.Imap.ImapActionCommand+<>c__DisplayClass13_0.<.ctor>b__0 (MailClient.Commands.WorkerStatus ws, System.Threading.CancellationToken ct) [0x00000] in :0 **
** at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync (MailClient.Commands.WorkerStatus status) [0x0002e] in :0 **
** at MailClient.Protocols.Imap.ImapActionCommand.Execute (MailClient.Commands.WorkerStatus status) [0x0029b] in :0 **
** at MailClient.Commands.Command.Process (MailClient.Commands.WorkerStatus status) [0x00015] in <79b20604b6ce4cd38760fded12f9e6a1>:0 **
** EnqueuedStackTrace =**
** at MailClient.Protocols.Common.ItemSynchronizer2[TItem,TStorageItem].EnqueueMove (MailClient.Storage.Application.Folder folder, System.Collections.Generic.IEnumerable1[T] items, MailClient.Storage.Application.Folder targetFolder, System.Boolean prioritize) [0x00000] in :0 **
** at MailClient.Protocols.Common.ItemSynchronizer`2[TItem,TStorageItem].GoOnline () [0x00000] in :0 **
** at MailClient.Protocols.Imap.ImapMailSynchronizer.GoOnline () [0x00000] in :0 **
** at MailClient.Protocols.Imap.ImapAccount.GoOnlineInt () [0x00000] in :0 **
** at MailClient.Protocols.Common.AccountBase.ChangeOnlineState (System.Boolean online, MailClient.Accounts.OfflineReason offlineReason) [0x00000] in :0 **
** at MailClient.Protocols.Common.AccountBase.GoOnline () [0x00000] in :0 **
** at MailClient.Protocols.Common.AccountBase.RunIfOnline (System.Action actionIfOnline, System.Action actionIfOffline) [0x00000] in :0 **
** at MailClient.Protocols.Common.SynchronizableMailAccount.Synchronize (MailClient.Storage.Synchronization.SynchronizationPriority priority) [0x00000] in :0 **
** at MailClient.Accounts.BindingAccountBase.Receive () [0x00000] in <2df94658d64645ada97a8d9259504ba1>:0 **
** at MailClient.UI.Controls.Folders.controlFolders.treeView_NodeClicked (System.Object sender, MailClient.Common.UI.Controls.ControlTreeView.TreeViewCancelEventArgs e) [0x00000] in <31e75d55ede14362947ecda0c0adf221>:0 **
** at MailClient.Common.UI.Controls.ControlTreeView.ControlTreeView.OnNodeClicked (MailClient.Common.UI.Controls.ControlTreeView.TreeViewCancelEventArgs e) [0x00000] in <48041c3be0e948f3aff2c31e410906b4>:0 **
** at MailClient.Common.UI.Controls.ControlTreeView.ControlTreeView.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000] in <48041c3be0e948f3aff2c31e410906b4>:0 **
** at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message& m) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at MailClient.Common.UI.Controls.AutomationViewUserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <48041c3be0e948f3aff2c31e410906b4>:0 **
** at MailClient.Common.UI.Controls.TouchScrollUserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <48041c3be0e948f3aff2c31e410906b4>:0 **
** at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.XplatUICocoa.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.Application.SendMessage (System.Windows.Forms.MSG& msg, System.Boolean& drop, System.Boolean& quit) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.Application.SendMessage (System.Windows.Forms.MSG& msg) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.CocoaInternal.WindowsEventResponder.TranslateMouseDown (AppKit.NSEvent e) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.CocoaInternal.WindowsEventResponder.MouseDown (AppKit.NSEvent theEvent) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.CocoaInternal.MonoView.MouseDown (AppKit.NSEvent theEvent) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (System.IntPtr , System.IntPtr , System.IntPtr ) [0x00000] in :0 **
** at AppKit.NSWindow.SendEvent (AppKit.NSEvent theEvent) [0x00000] in :0 **
** at System.Windows.Forms.CocoaInternal.MonoWindow.SendEvent (AppKit.NSEvent theEvent) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (System.IntPtr , System.IntPtr , System.IntPtr ) [0x00000] in :0 **
** at AppKit.NSApplication.SendEvent (AppKit.NSEvent theEvent) [0x00000] in :0 **
** at System.Windows.Forms.XplatUICocoa.PumpNativeEvent (System.Boolean wait, System.Windows.Forms.MSG& msg, System.Boolean dequeue) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.XplatUICocoa.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr hWnd, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr hWnd, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <0d7b1b8ddc9f433cb85c50268d169aa0>:0 **
** at MailClient.Program.Main (System.String[] args) [0x00000] in <31e75d55ede14362947ecda0c0adf221>:0 **
** at MailClient.App.Program.Main (System.String[] args) [0x00000] in <1335bd9f1e2f4f30aa321ad3a4f8e000>:0 **
-----------------

I was not doing anything, let alone move something from inbox to trash. I repeat: I did NOT delete anything that might cause the first log entry.

If I understand the log entries correctly, emc seems to try to delete a non-existing message.

What the heck is going on…?

PS: Sorry if parts of this are in bold, no idea why.

And here it goes again. This time, I actually sent a message:

10:54:50 xxx@xxx.xx IMAP Uploading item(s) to folder ‘/Outbox’
10:54:51 xxx@xxx.xxx IMAP Moving item(s) from folder ‘/Outbox’ to folder ‘/Sent’
10:54:51 xxx@xxx.xxx [IMAP] System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0000d] in <d44087f33b3540099eaa489234c82cbf>:0 at MailClient.Protocols.Common.ItemMoveContext2[TItem,TStorageItem].Commit (TItem item, System.Collections.Generic.IEnumerable1[T] additionalProperties) [0x000ab] in <be34e65e25f74efcb40ae820a3e20a40>:0 at MailClient.Protocols.Imap.ImapMailSynchronizer.MoveAsync (MailClient.Protocols.Common.IItemMoveContext1[TItem] moveContext, MailClient.Storage.Application.Folder folder, System.Collections.Generic.IEnumerable1[T] items, MailClient.Storage.Application.Folder targetFolder, System.Threading.CancellationToken cancellationToken) [0x000ec] in <c4049059d4bf4e12921fffe7479716b7>:0 at MailClient.Protocols.Imap.ImapMailSynchronizer.Move (MailClient.Protocols.Common.IItemMoveContext1[TItem] moveContext, MailClient.Storage.Application.Folder folder, System.Collections.Generic.IEnumerable1[T] items, MailClient.Storage.Application.Folder targetFolder, System.Threading.CancellationToken cancellationToken) [0x00038] in <c4049059d4bf4e12921fffe7479716b7>:0 at MailClient.Protocols.Common.ItemSynchronizer2+<>c__DisplayClass33_0[TItem,TStorageItem].b__0 (MailClient.Commands.WorkerStatus status, System.Threading.CancellationToken cancellationToken) [0x000b5] in :0
at MailClient.Protocols.Imap.ImapActionCommand+<>c__DisplayClass13_0.<.ctor>b__0 (MailClient.Commands.WorkerStatus ws, System.Threading.CancellationToken ct) [0x00000] in :0
at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync (MailClient.Commands.WorkerStatus status) [0x0002e] in :0
at MailClient.Protocols.Imap.ImapActionCommand.Execute (MailClient.Commands.WorkerStatus status) [0x0029b] in :0
at MailClient.Commands.Command.Process (MailClient.Commands.WorkerStatus status) [0x00015] in <79b20604b6ce4cd38760fded12f9e6a1>:0
EnqueuedStackTrace =
at MailClient.Protocols.Common.ItemSynchronizer2[TItem,TStorageItem].EnqueueMove (MailClient.Storage.Application.Folder folder, System.Collections.Generic.IEnumerable1[T] items, MailClient.Storage.Application.Folder targetFolder, System.Boolean prioritize) [0x00000] in :0
at MailClient.Protocols.Common.ItemSynchronizer2[TItem,TStorageItem].MailClient.Storage.Synchronization.IItemSynchronizer<TStorageItem>.Move (MailClient.Storage.Application.Folder folder, System.Collections.Generic.IEnumerable1[T] items, MailClient.Storage.Application.Folder targetFolder) [0x00000] in :0
at MailClient.Storage.Application.ItemCollection2+<>c__DisplayClass45_0[TItem,TStorageItem].<MoveRange>b__0 (MailClient.Storage.Application.Folder sourceFolder, System.Collections.Generic.ICollection1[T] items, MailClient.Storage.Synchronization.IItemSynchronizer1[TStorageItem] synchronizer, System.Collections.Generic.IEnumerable1[T] storageItems) [0x00000] in <2df94658d64645ada97a8d9259504ba1>:0
at MailClient.Storage.Application.ItemCollection2[TItem,TStorageItem].ExecutePerFolder (System.Collections.Generic.IEnumerable1[T] items, MailClient.Storage.Application.ItemCollection2+PerFolderAction[TItem,TStorageItem] action) [0x00000] in <2df94658d64645ada97a8d9259504ba1>:0 at MailClient.Storage.Application.ItemCollection2[TItem,TStorageItem].MoveRange (System.Collections.Generic.IEnumerable1[T] itemsToMove, MailClient.Storage.Application.Folder destinationFolder, System.Threading.CancellationToken cancellationToken, System.Collections.Generic.List1[T] additionalCategoryNamesToRemove) [0x00000] in <2df94658d64645ada97a8d9259504ba1>:0
at MailClient.Storage.Application.ItemCollection2[TItem,TStorageItem].Move (TItem item, MailClient.Storage.Application.Folder destinationFolder, System.Threading.CancellationToken cancellationToken) [0x00000] in <2df94658d64645ada97a8d9259504ba1>:0 at MailClient.Storage.Application.ItemCollection2[TItem,TStorageItem].Move (TItem item, MailClient.Storage.Application.Folder destinationFolder) [0x00000] in <2df94658d64645ada97a8d9259504ba1>:0
at MailClient.Accounts.BindingAccountBase+<>c__DisplayClass70_1.b__1 (MailClient.Commands.CompletionEventArgs e) [0x00000] in <2df94658d64645ada97a8d9259504ba1>:0
at MailClient.Protocols.Smtp.SmtpAccount+<>c__DisplayClass3_0.b__3 (System.Object s, MailClient.Commands.CompletionEventArgs c) [0x00000] in <97d03515978a40f29f02be6611871923>:0
at MailClient.Commands.Command.Complete () [0x00000] in <79b20604b6ce4cd38760fded12f9e6a1>:0
at MailClient.Commands.Command.Process (MailClient.Commands.WorkerStatus status) [0x00000] in <79b20604b6ce4cd38760fded12f9e6a1>:0
at MailClient.Commands.SynchronizationQueue.ThreadWorker (System.Object threadData) [0x00000] in <79b20604b6ce4cd38760fded12f9e6a1>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <489deeb488f34badb5a5b66526ad8719>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <489deeb488f34badb5a5b66526ad8719>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <489deeb488f34badb5a5b66526ad8719>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <489deeb488f34badb5a5b66526ad8719>:0
at System.Threading.ThreadHelper.ThreadStart (System.Object obj) [0x00000] in <489deeb488f34badb5a5b66526ad8719>:0

The message is in Sent, not in Outbox. But still, the error is odd.

Deleted the account, re-installed it, on first bulk deletion of emails the error comes back.

So, since after the error, emc does not check for new emails anymore, and I am unable to clear this error, and to top it all off, I can’t go back to 8.0 without re-adding my accounts since 8.0 does not like the databases of 8.1, emc is UNUSABLE.

If you don’t have a backup from 8.0, you can export your account settings in 8.1 using Menu > File > Export, uninstall 8.1 and delete the database, then install 8.0 and import the account settings again. eM Client will then resync the data with the IMAP server.

image

Before uninstalling 8.1 make a backup using Menu > Backup, just in case you need to retrieve anything from that version later.

I get the same error.
When deleting an email from the inbox, the red triangle occurs.
This happens with different email provider. I testet 3 different.

This problem exist since version 8.1.1053.0.
After i went back to version 8.1.979.0 everything is fine again.

Please fix asap.

What is the error when you hover the mouse over the red warning triangle?

Sorry, i dont remember anymore, because i went back to the previous version.
So i cannot retry it.
I just remember a stack trace in the sync protocol.

Hello,
we are aware of this issue and we built a quick patch for that:

Windows
https://www.emclient.com/dist/v8.1.1054/setup.msi

Mac
https://www.emclient.com/dist/v8.1.1054_Mac/setup.pkg

4 Likes

Please let us know if the mentioned patch resolved the issue.

I also had the red triangle issue with version 8.1.1053 and can confirm that the patch 8.1.1054 resolves it.

1 Like

I can confirm that ver 8.1.1054 resolved red triangle and after start synchronization issue.

For me too, problem solved with 8.1.1054