During migration, one or more list items fail with the following error message:
Exception: AddListItem - No ObjectXml [Error setting field data: Target Field Name: WebPage, Target Type: URL, Source Value: ,, , Exception: Invalid URL: , .]
Stack: at Metalogix.SharePoint.SPListItemCollection.AddItem(String sFolder, String sItemXML, String[] attachmentNames, Byte[][] attachmentContents, AddListItemOptions Options)
at Metalogix.SharePoint.Actions.Migration.PasteListItemAction.CopyItemVersion(SPListItem sourceItem, SPFolder targetFolder, Boolean bIsLastVersion, AddListItemOptions addItemOptions, SPListItemCollection targetItemCollection, Nullable`1 iNewItemId, Dictionary`2 itemIdMap, Int64& lBytes, String& sItemXml)
at Metalogix.SharePoint.Actions.Migration.PasteListItemAction.CopyItem(SPListItem sourceItem, SPFolder targetFolder, Nullable`1 iParentItemID, SPListItem existingItem, SPListItem& newItem, Boolean& bItemNewlyCreated, String& sLastUpdateItemXml, LogItem copyOperationLogItem, SPListItemCollection targetItemCollection, Dictionary`2 itemIdMap)
at Metalogix.SharePoint.Actions.Migration.PasteListItemAction.CopyListItem(SPListItem sourceItem, Int32 iItemIndex, Nullable`1 iParentItemID, SPFolder targetFolder, SPListItemCollection sourceItems, SPListItemCollection& targetItems, Boolean bIsFolder, Boolean bPreservingItems, Boolean bIsNwsTarget, Boolean bIsCopyRoot, ListTemplateType targetListTemplate, Dictionary`2& itemIdMap, List`1 filteredFolders)
ERRORS:
Error setting field data: Target Field Name: WebPage, Target Type: URL, Source Value: ,, , Exception: Invalid URL: , .
Main catch
Error setting field data: Target Field Name: WebPage, Target Type: URL, Source Value: ,, , Exception: Invalid URL: , .
Type: System.Exception
Stack: at Metalogix.SharePoint.Adapters.OM.OMAdapter.AddListItem(String sListID, String sFolder, String sListItemXML, String[] attachmentNames, Byte[][] attachmentContents, String listSettingsXml, AddListItemOptions options)
HResult:-2146233088
The list item contains a HyperLink field with no data. When these types of fields show as blank in the source list, they often still contain a single comma (",") which causes the error message to be thrown. In other words, the comma is an invalid URL for this field type.
Note: Make sure to enable the Advanced Mode on the Settings tab of the Content Matrix Console or on the job configuration window to see all the job configuration options.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center