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

Exception after update to version 1.2.2 #201

Closed
pascalberger opened this issue Jun 1, 2015 · 1 comment
Closed

Exception after update to version 1.2.2 #201

pascalberger opened this issue Jun 1, 2015 · 1 comment
Labels
bug Something isn't working

Comments

@pascalberger
Copy link

After update to version 1.2.2 I get the following exception in my code:

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at MailKit.Net.Imap.ImapFolder.FetchMessageBody(ImapEngine engine, ImapCommand ic, Int32 index)
   at MailKit.Net.Imap.ImapEngine.ProcessUntaggedResponse(CancellationToken cancellationToken)
   at MailKit.Net.Imap.ImapCommand.Step()
   at MailKit.Net.Imap.ImapEngine.Iterate()
   at MailKit.Net.Imap.ImapEngine.Wait(ImapCommand ic)
   at MailKit.Net.Imap.ImapFolder.GetBodyPart(UniqueId uid, String partSpecifier, Boolean headersOnly, CancellationToken cancellationToken)
   at MailKit.Net.Imap.ImapFolder.GetBodyPart(UniqueId uid, BodyPart part, Boolean headersOnly, CancellationToken cancellationToken)
   at MailKit.Net.Imap.ImapFolder.GetBodyPart(UniqueId uid, BodyPart part, CancellationToken cancellationToken)

The exception is thrown after a call to ImapClient.Inbox.GetBodyPart() for an email message containing a calendar invitation reply.

@jstedfast
Copy link
Owner

Thanks! I guess I'll have to release an emergency 1.2.3 when I get back from the gym.

@jstedfast jstedfast added the bug Something isn't working label Jun 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants