Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LineChart.swift line 295 LineChart.highlightDataPoints(_:) #4890

Description

@RahulFate

Swift/ContiguousArrayBuffer.swift:580: Fatal error: Index out of range

Crashed: com.apple.main-thread
0 libswiftCore.dylib 0x3b1a8 closure #1 in closure #1 in closure #1 in assertionFailure(::file:line🎏) + 300
1 libswiftCore.dylib 0x3af48 closure #1 in closure #1 in assertionFailure(:
:file:line🎏) + 220
2 libswiftCore.dylib 0x3a83c assertionFailure(::file:line🎏) + 232
3 libswiftCore.dylib 0x17594 ContiguousArrayBuffer.capacity.getter + 278
4 libswiftCore.dylib 0x1c380 Array.subscript.getter + 88
5 TVS 0x87728 LineChart.highlightDataPoints(
:) + 295 (LineChart.swift:295)
6 TVS 0x8702c LineChart.handleTouchEvents(
:event:) + 257 (LineChart.swift:257)
7 TVS 0x87204 LineChart.touchesEnded(:with:) + 267 (LineChart.swift:267)
8 TVS 0x87290 @objc LineChart.touchesEnded(
:with:) + 4371640976 (:4371640976)
9 UIKitCore 0x17258c -[UIWindow _sendTouchesForEvent:] + 980
10 UIKitCore 0x1a3f48 -[UIWindow sendEvent:] + 4456
11 UIKitCore 0x353e34 -[UIApplication sendEvent:] + 828
12 UIKitCore 0x177140 __dispatchPreprocessedEventFromEventQueue + 7904
13 UIKitCore 0x16bf2c __processEventQueue + 6760
14 UIKitCore 0x1713d8 __eventFetcherSourceCallback + 172
15 CoreFoundation 0xbb0d0 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
16 CoreFoundation 0xcbd90 __CFRunLoopDoSource0 + 208
17 CoreFoundation 0x6098 __CFRunLoopDoSources0 + 268
18 CoreFoundation 0xb8a4 __CFRunLoopRun + 820
19 CoreFoundation 0x1f468 CFRunLoopRunSpecific + 600
20 GraphicsServices 0x138c GSEventRunModal + 164
21 UIKitCore 0x5195d0 -[UIApplication _run] + 1100
22 UIKitCore 0x297f74 UIApplicationMain + 364
23 TVS 0x207e8 main + 27 (AppDelegate.swift:27)
24 ??? 0x106215aa4 (Missing)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions