Apple Mail Assertion Failure
Hi,
My company uses Office 365 for hosted Exchange email. We have 1 user who uses Apple Mail on OSX 10.7 to connect to the server in Exchange mode (using EWS). This was working great until a few days ago where he has sporadic connection problems. Reproducable situation below:
1) Select 100 emails in any given folder
2) Drag/drop those emails into another folder to move them there
3) They will start moving but it will fail at somepoint and give the message "Cannot execute move operation".
4) After that message appears it is usually several minutes before he can try again or send any emails.
5) Trying to send an email immediately after the error message results in the "Cannot send message using the server" dialog where you are prompted to select a different server to send the message. Choosing an SMTP server results in the message being sent but sometimes (and only sometimes) the message is resent a couple of hours later through the exchange system.
We are getting a million of the following assertion failure messages in the console:
06-06-2012 12:22:05.518 Mail: *** Assertion failure in -[EWSGetFolderResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1278/MessageStores.subproj/EWSResponseOperation.m: 340
EWS did something wrong: An internal server error occurred. The operation failed. on EWS response <EWSGetFolderResponseOperation: 0x7fb9cb1ae620> (EXECUTING)
(
0 Message 0x00007fff8f712ef8 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 116
1 Message 0x00007fff8f71308e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 185
2 Message 0x00007fff8f662c64 -[EWSResponseOperation handleResponseMessage:withObject:] + 556
3 Message 0x00007fff8f656eb6 __-[EWSGetFolderResponseOperation executeOperation]_block_invoke_1 + 77
4 CoreFoundation 0x00007fff87979cee __NSArrayEnumerate + 718
5 Message 0x00007fff8f6572ae -[EWSGetFolderResponseOperation executeOperation] + 453
6 Message 0x00007fff8f73397f -[MonitoredOperation main] + 228
7 Foundation 0x00007fff9152e6b4 -[__NSOperationInternal start] + 705
8 Foundation 0x00007fff91541912 ____NSOQSchedule_block_invoke_2 + 124
9 libdispatch.dylib 0x00007fff8a798a86 _dispatch_call_block_and_release + 18
10 libdispatch.dylib 0x00007fff8a799965 _dispatch_worker_thread2 + 255
11 libsystem_c.dylib 0x00007fff8c83b3da _pthread_wqthread + 316
12 libsystem_c.dylib 0x00007fff8c83cb85 start_wqthread + 13
)
06-06-2012 12:22:05.518 Mail: Recieved EWS error: Error Domain=MFEWSErrorDomain Code=94 "An internal server error occurred. The operation failed." UserInfo=0x7fb9cecbb7c0 {NSLocalizedDescription=An internal server error occurred. The operation failed.}
We have tried deleting the account and making a new one. As well as removing the mailbox folder (~/Library/Mail/V2/EWS-*) and the Apple Mail plist file. We have also setup the email on a different Mac (also OSX 10.7) but we still get the same assertion failure message.
This user's email account works fine in Outlook on Windows and Mac (Outlook 2010 and 2011) and it also works fine through the online web portal. Outlook 2011 Mac uses EWS (the same protocol Apple Mail uses) and it's not throwing any errors and everything works properly so that is leading me to believe it's an issue with Apple Mail.
Perhaps related, perhaps not, but the user's iPhone and iPad have also stopped working properly with the account. They will sometimes connect but a lot of the time they give an error message about not being able to connect to the server. This leads us to believe it's an exchange server problem, but then why does it work in Outlook and the online portal without any problems? It's only the Apple products that are falling apart.
MacBook Pro, Mac OS X (10.7.4)