It seems occur randomly so I can't really spell it out how to repro the bug, but I have error log.
Steps To Reproduce
Open 2 window.
Copying files using drag&drop
Expected behavior
Software don't crush
Files Version
バージョン: 2.1.15.0 OS Version: 10.0.22000.613
Windows Version
Windows 11 Home 21H2
Relevant Assets/Logs
2022-05-29 00:12:53.8214|WARN|DeviceAdded|System.UnauthorizedAccessException: Attempting to add the device, StoreJet Transcend, failed at the StorageFolder initialization step. This device will be ignored. Device ID: \?\STORAGE#Volume#{e6b40882-83bc-11ec-886a-4cd5772b51ae}#5000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
2022-05-29 00:15:58.4435|ERROR|AppUnhandledException|エラーを特定できません (Exception from HRESULT: 0x80004005)
System.Exception: エラーを特定できません (Exception from HRESULT: 0x80004005)
at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8
at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24
at Files.Interacts.BaseLayoutCommandImplementationModel.d__46.MoveNext() + 0x165
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at Files.UserControls.MultitaskingControl.HorizontalMultitaskingControl.<TabViewItem_Drop>d__6.MoveNext() + 0xd5
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action1.Invoke(T) + 0x28 at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33 at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21 at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8 at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75 at System.EventHandler1.Invoke(Object, TEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__23[TArg0](Object, IntPtr, Object, TArg0) + 0x36
at Files!+0x143a750
Error trying to write application data container value
at System.Runtime.InteropServices.WindowsRuntime.IMapSharedReferenceTypesStubClass.Insert[TKey, TValue](IDictionary`2, TKey, TValue) + 0xd1
at Windows.ApplicationModel.DataTransfer.DataPackagePropertySet.global::System.Collections.Generic.IDictionary<System.String,System.Object>.set_Item(String, Object) + 0x21
at Files.ViewModels.SettingsViewModel.Get[TValue](TValue, String) + 0x22d
at Files.Helpers.RegistryToJsonSettingsMerger.MergeSettings() + 0xaf
2022-05-29 00:16:02.3817|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-05-29 00:16:03.3229|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-05-29 00:16:03.3839|WARN|DeviceAdded|System.UnauthorizedAccessException: Attempting to add the device, StoreJet Transcend, failed at the StorageFolder initialization step. This device will be ignored. Device ID: \?\STORAGE#Volume#{e6b40882-83bc-11ec-886a-4cd5772b51ae}#5000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
2022-05-29 00:16:04.3291|INFO|EnumerateDrivesAsync|Adding cloud provider "iCloud" mapped to C:\Users\cw_19\iCloudDrive
2022-05-29 00:16:04.3712|INFO|EnumerateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\cw_19\OneDrive
2022-05-29 00:16:08.7847|INFO|IsRunningOnArm|Running on ARM: False
2022-05-29 00:22:32.7120|INFO|OnLaunched|App launched. Prelaunch: False
2022-05-29 00:22:33.1661|WARN|MergeSettings|Merging settings failed
System.ArgumentException: パラメーターが間違っています。
Error trying to write application data container value
at System.Runtime.InteropServices.WindowsRuntime.IMapSharedReferenceTypesStubClass.Insert[TKey, TValue](IDictionary`2, TKey, TValue) + 0xd1
at Windows.ApplicationModel.DataTransfer.DataPackagePropertySet.global::System.Collections.Generic.IDictionary<System.String,System.Object>.set_Item(String, Object) + 0x21
at Files.ViewModels.SettingsViewModel.Get[TValue](TValue, String) + 0x22d
at Files.Helpers.RegistryToJsonSettingsMerger.MergeSettings() + 0xaf
2022-05-29 00:22:33.4741|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-05-29 00:22:33.6302|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-05-29 00:22:33.6782|WARN|DeviceAdded|System.UnauthorizedAccessException: Attempting to add the device, StoreJet Transcend, failed at the StorageFolder initialization step. This device will be ignored. Device ID: \?\STORAGE#Volume#{e6b40882-83bc-11ec-886a-4cd5772b51ae}#5000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
2022-05-29 00:22:34.1223|INFO|EnumerateDrivesAsync|Adding cloud provider "iCloud" mapped to C:\Users\cw_19\iCloudDrive
2022-05-29 00:22:34.1813|INFO|EnumerateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\cw_19\OneDrive
2022-05-29 00:22:37.2127|INFO|IsRunningOnArm|Running on ARM: False
2022-05-29 00:24:01.8166|INFO|OnActivated|App activated by Protocol
2022-05-29 00:24:02.0027|WARN|MergeSettings|Merging settings failed
System.ArgumentException: パラメーターが間違っています。
Error trying to write application data container value
at System.Runtime.InteropServices.WindowsRuntime.IMapSharedReferenceTypesStubClass.Insert[TKey, TValue](IDictionary`2, TKey, TValue) + 0xd1
at Windows.ApplicationModel.DataTransfer.DataPackagePropertySet.global::System.Collections.Generic.IDictionary<System.String,System.Object>.set_Item(String, Object) + 0x21
at Files.ViewModels.SettingsViewModel.Get[TValue](TValue, String) + 0x22d
at Files.Helpers.RegistryToJsonSettingsMerger.MergeSettings() + 0xaf
The text was updated successfully, but these errors were encountered:
Description
It seems occur randomly so I can't really spell it out how to repro the bug, but I have error log.
Steps To Reproduce
Expected behavior
Software don't crush
Files Version
バージョン: 2.1.15.0 OS Version: 10.0.22000.613
Windows Version
Windows 11 Home 21H2
Relevant Assets/Logs
2022-05-29 00:12:53.8214|WARN|DeviceAdded|System.UnauthorizedAccessException: Attempting to add the device, StoreJet Transcend, failed at the StorageFolder initialization step. This device will be ignored. Device ID: \?\STORAGE#Volume#{e6b40882-83bc-11ec-886a-4cd5772b51ae}#5000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
2022-05-29 00:15:58.4435|ERROR|AppUnhandledException|エラーを特定できません (Exception from HRESULT: 0x80004005)
System.Exception: エラーを特定できません (Exception from HRESULT: 0x80004005)
at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8
at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24
at Files.Interacts.BaseLayoutCommandImplementationModel.d__46.MoveNext() + 0x165
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at Files.UserControls.MultitaskingControl.HorizontalMultitaskingControl.<TabViewItem_Drop>d__6.MoveNext() + 0xd5
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action
1.Invoke(T) + 0x28 at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33 at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21 at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8 at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75 at System.EventHandler1.Invoke(Object, TEventArgs) + 0x2eat __Interop.Intrinsics.HasThisCall__23[TArg0](Object, IntPtr, Object, TArg0) + 0x36
at Files!+0x143a750
2022-05-29 00:16:02.1266|INFO|OnActivated|App activated by ToastNotification
2022-05-29 00:16:02.3157|WARN|MergeSettings|Merging settings failed
System.ArgumentException: パラメーターが間違っています。
Error trying to write application data container value
at System.Runtime.InteropServices.WindowsRuntime.IMapSharedReferenceTypesStubClass.Insert[TKey, TValue](IDictionary`2, TKey, TValue) + 0xd1
at Windows.ApplicationModel.DataTransfer.DataPackagePropertySet.global::System.Collections.Generic.IDictionary<System.String,System.Object>.set_Item(String, Object) + 0x21
at Files.ViewModels.SettingsViewModel.Get[TValue](TValue, String) + 0x22d
at Files.Helpers.RegistryToJsonSettingsMerger.MergeSettings() + 0xaf
2022-05-29 00:16:02.3817|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-05-29 00:16:03.3229|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-05-29 00:16:03.3839|WARN|DeviceAdded|System.UnauthorizedAccessException: Attempting to add the device, StoreJet Transcend, failed at the StorageFolder initialization step. This device will be ignored. Device ID: \?\STORAGE#Volume#{e6b40882-83bc-11ec-886a-4cd5772b51ae}#5000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
2022-05-29 00:16:04.3291|INFO|EnumerateDrivesAsync|Adding cloud provider "iCloud" mapped to C:\Users\cw_19\iCloudDrive
2022-05-29 00:16:04.3712|INFO|EnumerateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\cw_19\OneDrive
2022-05-29 00:16:08.7847|INFO|IsRunningOnArm|Running on ARM: False
2022-05-29 00:22:32.7120|INFO|OnLaunched|App launched. Prelaunch: False
2022-05-29 00:22:33.1661|WARN|MergeSettings|Merging settings failed
System.ArgumentException: パラメーターが間違っています。
Error trying to write application data container value
at System.Runtime.InteropServices.WindowsRuntime.IMapSharedReferenceTypesStubClass.Insert[TKey, TValue](IDictionary`2, TKey, TValue) + 0xd1
at Windows.ApplicationModel.DataTransfer.DataPackagePropertySet.global::System.Collections.Generic.IDictionary<System.String,System.Object>.set_Item(String, Object) + 0x21
at Files.ViewModels.SettingsViewModel.Get[TValue](TValue, String) + 0x22d
at Files.Helpers.RegistryToJsonSettingsMerger.MergeSettings() + 0xaf
2022-05-29 00:22:33.4741|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-05-29 00:22:33.6302|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-05-29 00:22:33.6782|WARN|DeviceAdded|System.UnauthorizedAccessException: Attempting to add the device, StoreJet Transcend, failed at the StorageFolder initialization step. This device will be ignored. Device ID: \?\STORAGE#Volume#{e6b40882-83bc-11ec-886a-4cd5772b51ae}#5000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
2022-05-29 00:22:34.1223|INFO|EnumerateDrivesAsync|Adding cloud provider "iCloud" mapped to C:\Users\cw_19\iCloudDrive
2022-05-29 00:22:34.1813|INFO|EnumerateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\cw_19\OneDrive
2022-05-29 00:22:37.2127|INFO|IsRunningOnArm|Running on ARM: False
2022-05-29 00:24:01.8166|INFO|OnActivated|App activated by Protocol
2022-05-29 00:24:02.0027|WARN|MergeSettings|Merging settings failed
System.ArgumentException: パラメーターが間違っています。
Error trying to write application data container value
at System.Runtime.InteropServices.WindowsRuntime.IMapSharedReferenceTypesStubClass.Insert[TKey, TValue](IDictionary`2, TKey, TValue) + 0xd1
at Windows.ApplicationModel.DataTransfer.DataPackagePropertySet.global::System.Collections.Generic.IDictionary<System.String,System.Object>.set_Item(String, Object) + 0x21
at Files.ViewModels.SettingsViewModel.Get[TValue](TValue, String) + 0x22d
at Files.Helpers.RegistryToJsonSettingsMerger.MergeSettings() + 0xaf
The text was updated successfully, but these errors were encountered: