2
7419 API errors
Problem reported by Robert Simpson - 4/27/2020 at 8:49 PM
Submitted
I have a user that cannot open his inbox in the web.  After some digging, I'm getting API Service errors, and an infinite spinner when clicking this user's inbox:


[2020.04.27] 20:28:40.939 Buffer cannot be null.
[2020.04.27] Parameter name: buffer
[2020.04.27]    at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
[2020.04.27]    at MailService.Mailboxes.TempMailMessage.GetParts()
[2020.04.27]    at MailService.Mailboxes.MailMessageBase.get_MainPart()
[2020.04.27]    at MailService.WCF.Messages.GetMessageListing(String emailAddress, String ownerUsername, String folderName, Int32 startIndex, Int32 count, MessageSortType sortBy, Boolean sortAscending, Dictionary`2& timings, IResult functionResult, List`1 selectedIds, List`1& removedIds, Boolean uidOnly, Dictionary`2 searchFlags)
[2020.04.27]    at MailService.WCF.EmailWCF.MailService.GetMessages(String token, MessageSearchInput input, Boolean ApiTimingEnabled) 20:28:40.955
[2020.04.27] Buffer cannot be null.
[2020.04.27] Parameter name: buffer    at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
[2020.04.27]    at MailService.Mailboxes.TempMailMessage.GetParts()
[2020.04.27]    at MailService.Mailboxes.MailMessageBase.get_MainPart()
[2020.04.27]    at MailService.WCF.Messages.GetMessageListing(String emailAddress, String ownerUsername, String folderName, Int32 startIndex, Int32 count, MessageSortType sortBy, Boolean sortAscending, Dictionary`2& timings, IResult functionResult, List`1 selectedIds, List`1& removedIds, Boolean uidOnly, Dictionary`2 searchFlags)
[2020.04.27]    at MailService.WCF.EmailWCF.MailService.GetMessages(String token, MessageSearchInput input, Boolean ApiTimingEnabled)
[2020.04.27] 20:30:03.088 Buffer cannot be null.
[2020.04.27] Parameter name: buffer
[2020.04.27]    at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
[2020.04.27]    at MailService.Mailboxes.TempMailMessage.GetParts()
[2020.04.27]    at MailService.Mailboxes.MailMessageBase.get_MainPart()
[2020.04.27]    at MailService.WCF.Messages.GetMessageListing(String emailAddress, String ownerUsername, String folderName, Int32 startIndex, Int32 count, MessageSortType sortBy, Boolean sortAscending, Dictionary`2& timings, IResult functionResult, List`1 selectedIds, List`1& removedIds, Boolean uidOnly, Dictionary`2 searchFlags)
[2020.04.27]    at MailService.WCF.EmailWCF.MailService.GetMessages(String token, MessageSearchInput input, Boolean ApiTimingEnabled) 20:30:03.135
[2020.04.27] Buffer cannot be null.
[2020.04.27] Parameter name: buffer    at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
[2020.04.27]    at MailService.Mailboxes.TempMailMessage.GetParts()
[2020.04.27]    at MailService.Mailboxes.MailMessageBase.get_MainPart()
[2020.04.27]    at MailService.WCF.Messages.GetMessageListing(String emailAddress, String ownerUsername, String folderName, Int32 startIndex, Int32 count, MessageSortType sortBy, Boolean sortAscending, Dictionary`2& timings, IResult functionResult, List`1 selectedIds, List`1& removedIds, Boolean uidOnly, Dictionary`2 searchFlags)
[2020.04.27]    at MailService.WCF.EmailWCF.MailService.GetMessages(String token, MessageSearchInput input, Boolean ApiTimingEnabled)
[2020.04.27] 20:46:04.017 Buffer cannot be null.
[2020.04.27] Parameter name: buffer
[2020.04.27]    at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
[2020.04.27]    at MailService.Mailboxes.TempMailMessage.GetParts()
[2020.04.27]    at MailService.Mailboxes.MailMessageBase.get_MainPart()
[2020.04.27]    at MailService.WCF.Messages.GetMessageListing(String emailAddress, String ownerUsername, String folderName, Int32 startIndex, Int32 count, MessageSortType sortBy, Boolean sortAscending, Dictionary`2& timings, IResult functionResult, List`1 selectedIds, List`1& removedIds, Boolean uidOnly, Dictionary`2 searchFlags)
[2020.04.27]    at MailService.WCF.EmailWCF.MailService.GetMessages(String token, MessageSearchInput input, Boolean ApiTimingEnabled) 20:46:04.049
[2020.04.27] Buffer cannot be null.
[2020.04.27] Parameter name: buffer    at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
[2020.04.27]    at MailService.Mailboxes.TempMailMessage.GetParts()
[2020.04.27]    at MailService.Mailboxes.MailMessageBase.get_MainPart()
[2020.04.27]    at MailService.WCF.Messages.GetMessageListing(String emailAddress, String ownerUsername, String folderName, Int32 startIndex, Int32 count, MessageSortType sortBy, Boolean sortAscending, Dictionary`2& timings, IResult functionResult, List`1 selectedIds, List`1& removedIds, Boolean uidOnly, Dictionary`2 searchFlags)
[2020.04.27]    at MailService.WCF.EmailWCF.MailService.GetMessages(String token, MessageSearchInput input, Boolean ApiTimingEnabled)
[2020.04.27] 20:47:44.593 Buffer cannot be null.
[2020.04.27] Parameter name: buffer
[2020.04.27]    at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
[2020.04.27]    at MailService.Mailboxes.TempMailMessage.GetParts()
[2020.04.27]    at MailService.Mailboxes.MailMessageBase.get_MainPart()
[2020.04.27]    at MailService.WCF.Messages.GetMessageListing(String emailAddress, String ownerUsername, String folderName, Int32 startIndex, Int32 count, MessageSortType sortBy, Boolean sortAscending, Dictionary`2& timings, IResult functionResult, List`1 selectedIds, List`1& removedIds, Boolean uidOnly, Dictionary`2 searchFlags)
[2020.04.27]    at MailService.WCF.EmailWCF.MailService.GetMessages(String token, MessageSearchInput input, Boolean ApiTimingEnabled) 20:47:44.609
[2020.04.27] Buffer cannot be null.
[2020.04.27] Parameter name: buffer    at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
[2020.04.27]    at MailService.Mailboxes.TempMailMessage.GetParts()
[2020.04.27]    at MailService.Mailboxes.MailMessageBase.get_MainPart()
[2020.04.27]    at MailService.WCF.Messages.GetMessageListing(String emailAddress, String ownerUsername, String folderName, Int32 startIndex, Int32 count, MessageSortType sortBy, Boolean sortAscending, Dictionary`2& timings, IResult functionResult, List`1 selectedIds, List`1& removedIds, Boolean uidOnly, Dictionary`2 searchFlags)
[2020.04.27]    at MailService.WCF.EmailWCF.MailService.GetMessages(String token, MessageSearchInput input, Boolean ApiTimingEnabled)

2 Replies

Reply to Thread
0
Matt Petty Replied
Employee Post
Would you be able to look in this User's MailProcessing folder, its in their SM user folder. If you can send me this file I can try to figure out how it got into the stuck state that it's in. I've done some testing locally and I may have code to fix it but I would like to repro with what you have. 
Matt Petty Software Developer SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Robert Simpson Replied
Go figure.  Mailprocessing is empty, and now I can access the inbox via the web.  Maybe he moved the e-mail or something using Outlook?

Reply to Thread