papertigers / Player2

Twitch Viewer for tvOS
0 stars 0 forks source link

pressing reload twice crashes P2 #30

Closed papertigers closed 7 years ago

papertigers commented 7 years ago
2016-12-05 18:53:23.002 Player2[27913:2253473] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'attempt to scroll to invalid index path: <NSIndexPath: 0x61000042f020> {length = 2, path = 0 - 0}'
*** First throw call stack:
(
    0   CoreFoundation                      0x000000010c240b1b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x000000010b94b21e objc_exception_throw + 48
    2   CoreFoundation                      0x000000010c2a9605 +[NSException raise:format:] + 197
    3   UIKit                               0x000000010d84abd1 -[UICollectionView scrollToItemAtIndexPath:atScrollPosition:animated:] + 224
    4   Player2                             0x000000010ab8c4ff _TFE7Player2PS_13TwitchAdapter6reloadfT_T_ + 239
    5   Player2                             0x000000010ab9ed2f _TFC7Player221GameSectionController12handleReloadfT_T_ + 175
    6   Player2                             0x000000010ab9fa12 _TTWC7Player221GameSectionControllerS_16TitleBarDelegateS_FS1_12handleReloadfT_T_ + 66
    7   Player2                             0x000000010ab1f0f2 _TFC7Player28TitleBar13reloadPressedfP_T_ + 194
    8   Player2                             0x000000010ab1f1a3 _TToFC7Player28TitleBar13reloadPressedfP_T_ + 67
    9   UIKit                               0x000000010cf3c1fe -[UIApplication sendAction:to:from:forEvent:] + 83
    10  UIKit                               0x000000010d0bcfd7 -[UIControl sendAction:to:forEvent:] + 67
    11  UIKit                               0x000000010d0bd2f0 -[UIControl _sendActionsForEvents:withEvent:] + 444
    12  UIKit                               0x000000010d469d6d -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:] + 57
    13  UIKit                               0x000000010d471b0c _UIGestureRecognizerSendTargetActions + 109
    14  UIKit                               0x000000010d46f5db _UIGestureRecognizerSendActions + 227
    15  UIKit                               0x000000010d46e867 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 891
    16  UIKit                               0x000000010d45a93a _UIGestureEnvironmentUpdate + 1395
    17  UIKit                               0x000000010d45a37f -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 521
    18  UIKit                               0x000000010d4595c6 -[UIGestureEnvironment _updateGesturesForEvent:window:] + 386
    19  UIKit                               0x000000010cfa8d6e -[UIWindow sendEvent:] + 4158
    20  UIKit                               0x000000010cf56011 -[UIApplication sendEvent:] + 413
    21  UIKit                               0x000000010cf4dd7d -[UIApplication _sendButtonEventWithPressInfo:] + 108
    22  UIKit                               0x000000010cf5753d -[UIApplication _handleKeyUIEvent:] + 2511
    23  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    24  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    25  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    26  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    27  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    28  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    29  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    30  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    31  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    32  UIKit                               0x000000010d14eee1 -[UIResponder _handleKeyUIEvent:] + 79
    33  UIKit                               0x000000010cf56888 -[UIApplication handleKeyUIEvent:] + 103
    34  UIKit                               0x000000010cf56801 -[UIApplication handleKeyHIDEvent:] + 665
    35  UIKit                               0x000000010d71a350 __dispatchPreprocessedEventFromEventQueue + 1305
    36  UIKit                               0x000000010d713791 __handleEventQueue + 4879
    37  CoreFoundation                      0x000000010c1e5ae1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    38  CoreFoundation                      0x000000010c1cad6c __CFRunLoopDoSources0 + 556
    39  CoreFoundation                      0x000000010c1ca256 __CFRunLoopRun + 918
    40  CoreFoundation                      0x000000010c1c9c64 CFRunLoopRunSpecific + 420
    41  GraphicsServices                    0x0000000112efba6f GSEventRunModal + 161
    42  UIKit                               0x000000010cf3a612 UIApplicationMain + 159
    43  Player2                             0x000000010ab7210f main + 111
    44  libdyld.dylib                       0x00000001110a8749 start + 1