2
[What is this?? [2023.07.31] 06:01:00.497 [FOLDER SHARING SERVICE] Index was outside the bounds of the array.
Problem reported by Brian Bjerring-Jensen - 7/30/2023 at 11:35 PM
Resolved
I have about a million of these in the error logs...

Anyone know what they are besides folder sharing issues? What user and what folder?

[2023.07.31] [FOLDER SHARING SERVICE] Index was outside the bounds of the array.    at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value)
[2023.07.31]    at MailService.Repositories.DomainRepository.FoldersLoadFile(String accountName, String accountGuid)
[2023.07.31]    at MailService.Repositories.DomainRepository.FoldersLoadFileReadOnly(String accountName, String accountguid)
[2023.07.31]    at MailService.Repositories.DomainRepository.VirtualFolderPropertiesByUser(String accountName)
[2023.07.31]    at MailService.Repositories.DomainRepository.SharingGetAvailableVirtualFolders(Nullable`1 consumerUserId, Nullable`1 restrictToType, Nullable`1 restrictAttachedStatus, Boolean includeSubfolders)
[2023.07.31]    at MailService.WCF.Services.FolderService.ListAvailableVirtualFolders(String consumerEmailAddress, Nullable`1 restrictToType, Nullable`1 restrictAttachedStatus)
[2023.07.31] 08:21:05.298 [FOLDER SHARING SERVICE] Index was outside the bounds of the array.
[2023.07.31]    at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value)
[2023.07.31]    at MailService.Repositories.DomainRepository.FoldersLoadFile(String accountName, String accountGuid)
[2023.07.31]    at MailService.Repositories.DomainRepository.FoldersLoadFileReadOnly(String accountName, String accountguid)
[2023.07.31]    at MailService.Repositories.DomainRepository.VirtualFolderPropertiesByUser(String accountName)
[2023.07.31]    at MailService.Repositories.DomainRepository.SharingGetAvailableVirtualFolders(Nullable`1 consumerUserId, Nullable`1 restrictToType, Nullable`1 restrictAttachedStatus, Boolean includeSubfolders)
[2023.07.31]    at MailService.WCF.Services.FolderService.ListAvailableVirtualFolders(String consumerEmailAddress, Nullable`1 restrictToType, Nullable`1 restrictAttachedStatus)
[2023.07.31] 08:21:06.892 [FOLDER SHARING SERVICE] Index was outside the bounds of the array.
[2023.07.31]    at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value)
[2023.07.31]    at MailService.Repositories.DomainRepository.FoldersLoadFile(String accountName, String accountGuid)
[2023.07.31]    at MailService.Repositories.DomainRepository.FoldersLoadFileReadOnly(String accountName, String accountguid)
[2023.07.31]    at MailService.Repositories.DomainRepository.VirtualFolderPropertiesByUser(String accountName)
[2023.07.31]    at MailService.Repositories.DomainRepository.SharingGetAvailableVirtualFolders(Nullable`1 consumerUserId, Nullable`1 restrictToType, Nullable`1 restrictAttachedStatus, Boolean includeSubfolders)
[2023.07.31]    at MailService.WCF.Services.FolderService.ListAvailableVirtualFolders(String consumerEmailAddress, Nullable`1 restrictToType, Nullable`1 restrictAttachedStatus)
[2023.07.31] 08:21:15.221 [FOLDER SHARING SERVICE] Index was outside the bounds of the array.
[2023.07.31]    at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value)
[2023.07.31]    at MailService.Repositories.DomainRepository.FoldersLoadFile(String accountName, String accountGuid)
[2023.07.31]    at MailService.Repositories.DomainRepository.FoldersLoadFileReadOnly(String accountName, String accountguid)
[2023.07.31]    at MailService.Repositories.DomainRepository.VirtualFolderPropertiesByUser(String accountName)
[2023.07.31]    at MailService.Repositories.DomainRepository.SharingGetAvailableVirtualFolders(Nullable`1 consumerUserId, Nullable`1 restrictToType, Nullable`1 restrictAttachedStatus, Boolean includeSubfolders)
[2023.07.31]    at MailService.WCF.Services.FolderService.ListAvailableVirtualFolders(String consumerEmailAddress, Nullable`1 restrictToType, Nullable`1 restrictAttachedStatus)


2 Replies

Reply to Thread
0
Brian Bjerring-Jensen Replied
This is the same domain sending mail internally

[2023.07.30] 09:05:53.176 [82360144] Added to LocalDeliveryQueue (1 queued; 0/50 processing)
[2023.07.30] 09:05:53.176 [82360144] [LocalDeliveryQueue] Begin Processing.
[2023.07.30] 09:05:53.191 [82360144] Starting local delivery to njo@xxx-xxx.com
[2023.07.30] 09:05:53.191 [82360144] Exception: Index was outside the bounds of the array.
[2023.07.30]    at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value)   at MailService.Repositories.DomainRepository.FoldersLoadFile(String accountName, String accountGuid)   at MailService.Repositories.DomainRepository.FoldersLoadFileReadOnly(String accountName, String accountguid)   at MailService.Repositories.DomainRepository.GetFoldersByType(String accountName, FolderTypes type, Boolean showHidden)   at MailService.Mailboxes.MailboxManager.VerifyInitialized(String logicalAddress, String path)   at MailService.Core.Mailman.GetMailboxManager(String logicalAddress, MailboxManager& mm, Boolean createIfNotExist)   at MailService.Core.Mailman.RequestMailbox(String logicalAddress, String sessionID, MailboxManager& mailboxManager)   at MailService.RelayServer.DeliveryManager.DeliverLocalMessage(LocalRecipient localRecipient, MimeReader message, String headerText, String folder, String id, Boolean isRead, Boolean isFlagged, MailMessageBase& deliveredMessage)   at MailService.RelayServer.DeliveryManager.DeliverToFolder(SpoolMessage spoolMessage, LocalRecipient localRecipient, String folder, Boolean isRead, Boolean isFlagged, MailMessageBase& deliveredMessage)   at MailService.RelayServer.MessageQueue.LocalDeliveryQueue.DeliverToLocalRecipient(SpoolMessage spoolMessage, LocalRecipient localRecipient, db_system_settings_readonly systemSettings, db_system_delivery_settings_readonly systemDeliverySettings)09:05:53.191 [82360144] Removed from LocalDeliveryQueue (0 queued or processing)


1
Tim Uzzanti Replied
Employee Post
We are aware of this and already have a fix which will be in this weeks release.
Tim Uzzanti CEO SmarterTools Inc. www.smartertools.com

Reply to Thread