WPD-.NET-Wrapper icon indicating copy to clipboard operation
WPD-.NET-Wrapper copied to clipboard

Exception 0x80070490 raised on iPod

Open JohnKeithH opened this issue 10 years ago • 0 comments

Hi,

I tested the UtilityTest and the method TransferData_WithFolderStructure_FilesCopiedWithFolderStructure is raising an exception when getting the contents from an iPod fw 6.1. It works fine on an Android device.

The exception raised is as follows :

An exception of type 'System.Runtime.InteropServices.COMException' occurred in WindowsPortableDeviceNet.dll but was not handled in user code Additional information: An item was not found. (Exception from HRESULT: 0x80070490)

The stacktrace is as follows :

WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Model.Properties.BaseWPDProperties.GetStringPropertyValue(System.Guid formatId, uint positionId) Line 23 + 0x1b bytes WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Model.Properties.NameProperty.NameProperty(PortableDeviceApiLib.IPortableDeviceValues deviceProperties) Line 15 + 0x47 bytes WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Model.Item.Item(string objectId, PortableDeviceApiLib.IPortableDeviceContent content) Line 32 + 0x18 bytes
WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Model.BaseDeviceItem.LoadDeviceItems(PortableDeviceApiLib.IPortableDeviceContent content) Line 40 + 0x26 bytes WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Model.Item.Item(string objectId, PortableDeviceApiLib.IPortableDeviceContent content) Line 40 + 0xb bytes WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Model.BaseDeviceItem.LoadDeviceItems(PortableDeviceApiLib.IPortableDeviceContent content) Line 40 + 0x26 bytes
WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Model.Device.LoadDeviceData(PortableDeviceApiLib.PortableDeviceClass portableDeviceItem) Line 149 + 0xb bytes
WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Model.Device.Device(string deviceId) Line 54 + 0x1c bytes WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Utility.ExtractDeviceInformation(string[] deviceIds, System.Collections.Generic.List<WindowsPortableDeviceNet.Model.Device> connectedPortableDevices) Line 33 + 0x18 bytes
WindowsPortableDeviceNet.dll!WindowsPortableDeviceNet.Utility.Get() Line 25 + 0xe bytes WindowsPortableDeviceNet.Test.dll!WindowsPortableDeviceNet.Test.UtilityTest.TransferData_WithFolderStructure_FilesCopiedWithFolderStructure() Line 52 + 0xa bytes

I would appreciate your help to find out the reason of the crash.

Thanks a lot. Regards.

JohnKeithH avatar Jul 20 '14 10:07 JohnKeithH