Courier 2.1.1 - Unable to load item width id (with id?)
Courier 2.1.1 Umbraco 4.7.0
I keep getting the error below when attempting to transfer a certain document. I've cleaned out the old versions of the document, but that hasn't helped. In the umbracoNode table, the node of this document has the uniqueID shown in the error. Looking up this document's nodeID in the cmsPropertyData table shows entries for two versions of the document, the "new" and "published" versions. What's going on here?
Umbraco.Courier.Core.Exceptions.PackageException: Unable to load
item width id 'f8f917ff-2b00-4f5b-9298-a00f99e3e0a1' from provider
'PropertyData' ---> System.FormatException: Input string was not in a
correct format.
at System.Number.StringToNumber(String str, NumberStyles options,
NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Umbraco.Courier.DataResolvers.MediaPicker.Packaging(Item item) in
d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.DataResolvers\DataResolvers\MediaPicker.cs:line
76
at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e)
at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id)
at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier
itemId) in
d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\Local\Local.cs:line
174
at Umbraco.Courier.Core.PackagingManager.(ItemIdentifier itemId, ItemProvider provider, ItemType itemType)
--- End of inner exception stack trace ---
at Umbraco.Courier.Core.PackagingManager.(ItemIdentifier itemId, ItemProvider provider, ItemType itemType)
at Umbraco.Courier.Core.PackagingManager.()
at Umbraco.Courier.Core.PackagingManager.PackageQueue()
at Umbraco.Courier.UI.Dialogs.CommitItem.PackageSelectedItems()
at Umbraco.Courier.UI.Dialogs.CommitItem.oneSteptransfer(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Input string was not in a correct format.
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options,
NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Umbraco.Courier.DataResolvers.MediaPicker.Packaging(Item item) in
d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.DataResolvers\DataResolvers\MediaPicker.cs:line
76
at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e)
at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id)
at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier
itemId) in
d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\Local\Local.cs:line
174
at Umbraco.Courier.Core.PackagingManager.(ItemIdentifier itemId, ItemProvider provider, ItemType itemType)
Umbraco.Courier.Core.Exceptions.PackageException: Unable to load item width id '681560c8-106c-4846-b3e0-a43cdc78c192' from provider 'PropertyData' ---> Umbraco.Courier.Core.Exceptions.RetrieveException: Error retrieving item [681560c8-106c-4846-b3e0-a43cdc78c192] from provider [e0472594-e73b-11df-9492-0800200c9a66]. ---> System.NullReferenceException: Object reference not set to an instance of an object.
@keith, this looks like an edge case where the media picker stores something that is not an integer, so it returns null when it tries to resolve the IDs, could you look in the /app_data/courier/revisions/name of revision/revisions/properties and see if you can find the file with this Guid? then post that file here?
Will make sure that the media resolver does a better job at skipping any invalid data
Courier 2.1.1 - Unable to load item width id (with id?)
Courier 2.1.1 Umbraco 4.7.0
I keep getting the error below when attempting to transfer a certain document. I've cleaned out the old versions of the document, but that hasn't helped. In the umbracoNode table, the node of this document has the uniqueID shown in the error. Looking up this document's nodeID in the cmsPropertyData table shows entries for two versions of the document, the "new" and "published" versions. What's going on here?
Umbraco.Courier.Core.Exceptions.PackageException: Unable to load item width id 'f8f917ff-2b00-4f5b-9298-a00f99e3e0a1' from provider 'PropertyData' ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Umbraco.Courier.DataResolvers.MediaPicker.Packaging(Item item) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.DataResolvers\DataResolvers\MediaPicker.cs:line 76
at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e)
at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id)
at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier itemId) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\Local\Local.cs:line 174
at Umbraco.Courier.Core.PackagingManager.(ItemIdentifier itemId, ItemProvider provider, ItemType itemType)
--- End of inner exception stack trace ---
at Umbraco.Courier.Core.PackagingManager.(ItemIdentifier itemId, ItemProvider provider, ItemType itemType)
at Umbraco.Courier.Core.PackagingManager.()
at Umbraco.Courier.Core.PackagingManager.PackageQueue()
at Umbraco.Courier.UI.Dialogs.CommitItem.PackageSelectedItems()
at Umbraco.Courier.UI.Dialogs.CommitItem.oneSteptransfer(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Input string was not in a correct format.
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Umbraco.Courier.DataResolvers.MediaPicker.Packaging(Item item) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.DataResolvers\DataResolvers\MediaPicker.cs:line 76
at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e)
at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id)
at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier itemId) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\Local\Local.cs:line 174
at Umbraco.Courier.Core.PackagingManager.(ItemIdentifier itemId, ItemProvider provider, ItemType itemType)
Having a similar issue:
Umbraco.Courier.Core.Exceptions.PackageException: Unable to load item width id '681560c8-106c-4846-b3e0-a43cdc78c192' from provider 'PropertyData' ---> Umbraco.Courier.Core.Exceptions.RetrieveException: Error retrieving item [681560c8-106c-4846-b3e0-a43cdc78c192] from provider [e0472594-e73b-11df-9492-0800200c9a66]. ---> System.NullReferenceException: Object reference not set to an instance of an object.
@keith, this looks like an edge case where the media picker stores something that is not an integer, so it returns null when it tries to resolve the IDs, could you look in the /app_data/courier/revisions/name of revision/revisions/properties and see if you can find the file with this Guid? then post that file here?
Will make sure that the media resolver does a better job at skipping any invalid data
I will post it to the helpdesk ticket I have open for this issue (number 43449).
is working on a reply...