Skip to content

Bug: System.ArgumentException: Destination array was not long enough #13768

Closed
@yaira2

Description

@yaira2

Description

ConcurrentCollection`1.CopyTo (T[] array, Int32 arrayIndex)
System.ArgumentException: Destination array was not long enough. Check the destination index, length, and the array's lower bounds. (Parameter 'destinationArray')

https://appcenter.ms/orgs/FilesApp/apps/Files/crashes/errors/884813654u/overview

Steps To Reproduce

Unknown

Requirements

Fix crash

Files Version

v3.0.2

Windows Version

10.0.23580

Log File

System
Array.Copy (Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
System
Array.Copy (Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
Files.App.Helpers
ConcurrentCollection`1.CopyTo (T[] array, Int32 arrayIndex)
System.Collections.Generic.List`1
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
System.Linq
Enumerable.ToList[TSource] (IEnumerable`1 source)
Files.App.Data.Models
ItemViewModel.UpdateDateDisplay (Boolean isFormatChange)
ABI.Windows.Foundation
TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi] (Void* thisPtr, TSenderAbi sender, TResultAbi args)
WinRT
ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0 (Int32 hr)
ABI.Windows.ApplicationModel.Core
IUnhandledErrorMethods.Propagate (IObjectReference _obj)
Microsoft.AppCenter.Utils
ApplicationLifecycleHelperWinUI.<ctor>b__0_3 (Object sender, UnhandledErrorDetectedEventArgs eventArgs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashBug reports involving a crash

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions