Skip to content

Crash in NSArray  #322

@khushbuInexture

Description

@khushbuInexture

Hello,

I'm getting this crash sometimes. I am not able to reproduce this everytime.

if theValue is Array {
return (theValue as AnyObject, valueType, false)
}

Precondition failed: NSArray element failed to match the Swift Array Element type
Expected CountryRatesDetailModel but found __NSDictionaryI: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-1100.2.280/swift/stdlib/public/core/ArrayBuffer.swift, line 354
2021-01-04 11:33:13.527870+0530[8041:61326] Precondition failed: NSArray element failed to match the Swift Array Element type
Expected CountryRatesDetailModel but found __NSDictionaryI: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-1100.2.280/swift/stdlib/public/core/ArrayBuffer.swift, line 354
2021-01-04 11:35:39.520740+0530[8041:62506] XPC connection interrupted
Screenshot 2021-01-04 at 11 45 35 am
Screenshot 2021-01-04 at 11 44 43 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions