Description
I am facing this error while calling expander.Expand. i was able to zero down to the records which are causing this issue, however i am unable to identify the fields in records which are causing this. here is the raw data of one such record causing this issue. Can you help me identify the root cause?
Record data
- | | [0] | {[ContentTypeId, 0x0102004B17F3AE6037154AB1D979F750727D03]} | System.Collections.Generic.KeyValuePair<string, object>
-- | -- | -- | -- | --
- | | [1] | {[Title, Quarterly review of Site Assignment document]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [2] | {[_ModerationComments, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [3] | {[File_x0020_Type, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [4] | {[Location, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [5] | {[EventDate, 11/1/2016 4:00:00 PM]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [6] | {[EndDate, 11/1/2016 5:00:00 PM]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [7] | {[Description, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [8] | {[fAllDayEvent, False]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [9] | {[fRecurrence, True]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [10] | {[WorkspaceLink, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [11] | {[EventType, 1]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [12] | {[UID, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [13] | {[RecurrenceID, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [14] | {[EventCanceled, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [15] | {[Duration, 3600]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [16] | {[RecurrenceData, Every 3 month(s) on the first Tuesday]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [17] | {[TimeZone, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [18] | {[XMLTZone, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [19] | {[MasterSeriesItemID, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [20] | {[Workspace, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [21] | {[ParticipantsPicker, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [22] | {[Category, (2) Category2]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [23] | {[FreeBusy, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [24] | {[Overbook, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [25] | {[Participants, ]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [26] | {[_x0025__x0020_Complete, 0]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [27] | {[Assigned_x0020_To, Microsoft.SharePoint.Client.FieldUserValue[]]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [28] | {[Escalation, False]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [29] | {[Status, Not Started]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [30] | {[Reports_x0020_To, Microsoft.SharePoint.Client.FieldUserValue]} | System.Collections.Generic.KeyValuePair<string, object>
- | | [31] | {[Actions,
Go to:
| | | | | |
| | | | | | | |
| | | | | |
| | | | | | | |
Review FTEs and Vendors assigned to each site and update as appropriate.
| | | | | |
| | | | | | | |
]} | System.Collections.Generic.KeyValuePair | | | | | |
+ | | [32] | {[Related_x0020_To, N/A]} | System.Collections.Generic.KeyValuePair
+ | | [33] | {[ID, 9804]} | System.Collections.Generic.KeyValuePair
+ | | [34] | {[Modified, 6/28/2017 11:35:39 AM]} | System.Collections.Generic.KeyValuePair
+ | | [35] | {[Created, 6/27/2017 6:27:53 PM]} | System.Collections.Generic.KeyValuePair
+ | | [36] | {[Author, Microsoft.SharePoint.Client.FieldUserValue]} | System.Collections.Generic.KeyValuePair
+ | | [37] | {[Editor, Microsoft.SharePoint.Client.FieldUserValue]} | System.Collections.Generic.KeyValuePair
+ | | [38] | {[_HasCopyDestinations, ]} | System.Collections.Generic.KeyValuePair
+ | | [39] | {[_CopySource, ]} | System.Collections.Generic.KeyValuePair
+ | | [40] | {[owshiddenversion, 3]} | System.Collections.Generic.KeyValuePair
+ | | [41] | {[WorkflowVersion, 1]} | System.Collections.Generic.KeyValuePair
+ | | [42] | {[_UIVersion, 512]} | System.Collections.Generic.KeyValuePair
+ | | [43] | {[_UIVersionString, 1.0]} | System.Collections.Generic.KeyValuePair
+ | | [44] | {[Attachments, False]} | System.Collections.Generic.KeyValuePair
+ | | [45] | {[_ModerationStatus, 0]} | System.Collections.Generic.KeyValuePair
+ | | [46] | {[InstanceID, ]} | System.Collections.Generic.KeyValuePair
+ | | [47] | {[Order, 980400]} | System.Collections.Generic.KeyValuePair
+ | | [48] | {[GUID, 1628ce93-e57f-48bd-b1d7-79dde939d9bc]} | System.Collections.Generic.KeyValuePair
+ | | [49] | {[WorkflowInstanceID, ]} | System.Collections.Generic.KeyValuePair
+ | | [50] | {[FileRef, /teams/physsec/Lists/RoB Tasks/9804_.000]} | System.Collections.Generic.KeyValuePair
+ | | [51] | {[FileDirRef, /teams/physsec/Lists/RoB Tasks]} | System.Collections.Generic.KeyValuePair
+ | | [52] | {[Last_x0020_Modified, 2017-06-27T18:27:53Z]} | System.Collections.Generic.KeyValuePair
+ | | [53] | {[Created_x0020_Date, 2017-06-27T18:27:53Z]} | System.Collections.Generic.KeyValuePair
+ | | [54] | {[FSObjType, 0]} | System.Collections.Generic.KeyValuePair
+ | | [55] | {[SortBehavior, Microsoft.SharePoint.Client.FieldLookupValue]} | System.Collections.Generic.KeyValuePair
+ | | [56] | {[FileLeafRef, 9804_.000]} | System.Collections.Generic.KeyValuePair
+ | | [57] | {[UniqueId, deee7386-6e54-482c-b96a-52c29d0d185b]} | System.Collections.Generic.KeyValuePair
+ | | [58] | {[SyncClientId, Microsoft.SharePoint.Client.FieldLookupValue]} | System.Collections.Generic.KeyValuePair
+ | | [59] | {[ProgId, ]} | System.Collections.Generic.KeyValuePair
+ | | [60] | {[ScopeId, {6EA468AC-9BDE-4114-A10E-259D7BA33B65}]} | System.Collections.Generic.KeyValuePair
+ | | [61] | {[MetaInfo, ]} | System.Collections.Generic.KeyValuePair
+ | | [62] | {[_Level, 1]} | System.Collections.Generic.KeyValuePair
+ | | [63] | {[_IsCurrentVersion, True]} | System.Collections.Generic.KeyValuePair
+ | | [64] | {[ItemChildCount, 0]} | System.Collections.Generic.KeyValuePair
+ | | [65] | {[FolderChildCount, 0]} | System.Collections.Generic.KeyValuePair
+ | | [66] | {[Restricted, ]} | System.Collections.Generic.KeyValuePair
+ | | [67] | {[OriginatorId, ]} | System.Collections.Generic.KeyValuePair
+ | | [68] | {[NoExecute, 0]} | System.Collections.Generic.KeyValuePair
+ | | [69] | {[ContentVersion, 0]} | System.Collections.Generic.KeyValuePair
+ | | [70] | {[_ComplianceFlags, ]} | System.Collections.Generic.KeyValuePair
+ | | [71] | {[_ComplianceTag, ]} | System.Collections.Generic.KeyValuePair
+ | | [72] | {[_ComplianceTagWrittenTime, ]} | System.Collections.Generic.KeyValuePair
+ | | [73] | {[_ComplianceTagUserId, ]} | System.Collections.Generic.KeyValuePair
+ | | [74] | {[AccessPolicy, ]} | System.Collections.Generic.KeyValuePair
+ | | [75] | {[_VirusStatus, ]} | System.Collections.Generic.KeyValuePair
+ | | [76] | {[_VirusVendorID, ]} | System.Collections.Generic.KeyValuePair
+ | | [77] | {[_VirusInfo, ]} | System.Collections.Generic.KeyValuePair
+ | | [78] | {[AppAuthor, ]} | System.Collections.Generic.KeyValuePair
+ | | [79] | {[AppEditor, ]} | System.Collections.Generic.KeyValuePair
+ | | [80] | {[SMTotalSize, Microsoft.SharePoint.Client.FieldLookupValue]} | System.Collections.Generic.KeyValuePair
+ | | [81] | {[SMLastModifiedDate, 2017-06-28T11:35:39Z]} | System.Collections.Generic.KeyValuePair
+ | | [82] | {[SMTotalFileStreamSize, 0]} | System.Collections.Generic.KeyValuePair
+ | | [83] | {[SMTotalFileCount, Microsoft.SharePoint.Client.FieldLookupValue]} | System.Collections.Generic.KeyValuePair
Stack Trace for the Error
at Microsoft.FSharp.Core.Operators.FailWith[T](String message)
at Holm.SPCalendarRecurrenceExpander.Parser.parseRecurrence(Dictionary2 d) in C:\Users\rh\Source\Repos\SPCalendarRecurrenceExpander\Src\SPCalendarRecurrenceExpander\Parser.fs:line 209 at Holm.SPCalendarRecurrenceExpander.Parser.parse(Dictionary
2 a) in C:\Users\rh\Source\Repos\SPCalendarRecurrenceExpander\Src\SPCalendarRecurrenceExpander\Parser.fs:line 223
at Holm.SPCalendarRecurrenceExpander.Parser.Parse(Dictionary2 appointment) in C:\Users\rh\Source\Repos\SPCalendarRecurrenceExpander\Src\SPCalendarRecurrenceExpander\Parser.fs:line 230 at <StartupCode$SPCalendarRecurrenceExpander>[email protected](Dictionary
2 a) in C:\Users\rh\Source\Repos\SPCalendarRecurrenceExpander\Src\SPCalendarRecurrenceExpander\Expander.fs:line 40
at Microsoft.FSharp.Primitives.Basics.List.map[T,TResult](FSharpFunc2 mapping, FSharpList
1 x)
at Microsoft.FSharp.Collections.ListModule.Map[T,TResult](FSharpFunc2 mapping, FSharpList
1 list)
at Holm.SPCalendarRecurrenceExpander.CalendarRecurrenceExpander.Expand(List`1 appointments) in C:\Users\rh\Source\Repos\SPCalendarRecurrenceExpander\Src\SPCalendarRecurrenceExpander\Expander.fs:line 36
at RoBDailyReminderSMTP.Program.SendEmail(ListItemCollection listItemColl) in F:\TFS\SPO Migration\Build\Solutions\RoBDailyReminder -SMTP EMAIL\RoBDailyReminder\Program.cs:line 236