frc1678 / pit-scout-2016

The 2016 FRC 1678 Pit-Scout app. Run on an iPhone 5s. A student visits all the pits in the competition and talks to the teams to gather information like number of wheels on the robot, pit organization etc. They also take and upload photos of the robot.
1 stars 0 forks source link

attempt to insert item 0 into section 0, but there are only 0 items in section 0 after the update #49

Closed brytonmoeller closed 8 years ago

brytonmoeller commented 8 years ago

Comment:

attempt to insert item 0 into section 0, but there are only 0 items in section 0 after the update
0   CoreFoundation       0x183a0ee38 __exceptionPreprocess + 124
1   libobjc.A.dylib      0x183073f80 objc_exception_throw + 56
2   CoreFoundation       0x183a0ed08 +[NSException raise:format:] + 0
3   Foundation           0x184394124 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4   UIKit                0x1893a5a84 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:] + 6696
5   UIKit                0x188d3cd48 -[UICollectionView _updateRowsAtIndexPaths:updateAction:] + 364
6   SwiftPhotoGallery    0x10069e460 (null)
7   SwiftPhotoGallery    0x10069e5e8 (null)
8   UIKit                0x188b54124 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 720
9   QuartzCore           0x1864faa28 -[CALayer layoutSublayers] + 148
10  QuartzCore           0x1864f5634 CA::Layer::layout_if_needed() + 292
11  QuartzCore           0x1864f54f4 CA::Layer::layout_and_display_if_needed() + 32
12  QuartzCore           0x1864f4b24 CA::Context::commit_transaction() + 252
13  QuartzCore           0x1864f486c CA::Transaction::commit() + 512
14  UIKit                0x188b4a4f8 _afterCACommitHandler + 180
15  CoreFoundation       0x1839c47b0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
16  CoreFoundation       0x1839c2554 __CFRunLoopDoObservers + 372
17  CoreFoundation       0x1839c2984 __CFRunLoopRun + 928
18  CoreFoundation       0x1838ecd10 CFRunLoopRunSpecific + 384
19  GraphicsServices     0x1851d4088 GSEventRunModal + 180
20  UIKit                0x188bc1f70 UIApplicationMain + 204
21  DropboxPhotoTest     0x10012ac6c (null)
22  libdyld.dylib        0x18348a8b8 start + 4
}

Number: 2

URL: https://instabug.com/applications/pit-scout/issues/2

Type: crash

Status: New

Email:

Reported At: 2016-04-07 19:35:25 UTC

Location: Union City, United States

Device: iPhone 5s / iOS 9.3.1

Memory: 543.51/857.18 MB

Storage: 55.31/55.61 GB

Connectivity: Carrier: AT&T (LTE), WiFi: None

Battery: 43, Unplugged

App Version: 1.0 (1)

Duration: 00:35:46

User Data:

Console Log:

119c090View Images.trailing == UISegmentedControl:0x12ffa6100.trailing - 5,
    NSLayoutConstraint:0x1310c9bc0 UILabel:0x1310bcd40Notes:.leading == UITextField:0x1310f5170.leading,
    NSLayoutConstraint:0x1310e4fb0 UILabel:0x1310bcd40Notes:.leading == UITextField:0x1311adaf0.leading,
    NSLayoutConstraint:0x12fe1bb40 UILabel:0x1310e50a0Avail. Weight.leading == UITextField:0x1311adaf0.leading,
    NSLayoutConstraint:0x1310663c0 UILabel:0x1310e50a0Avail. Weight.leading == UILabel:0x12fe9d0c0Cheesecake:.leading,
    NSLayoutConstraint:0x1310e4ed0 H:-(23)-[UIButton:0x12ffe4260Add Image]   (Names: :UIScrollView:0x1300d1a00 ),
    NSLayoutConstraint:0x131013260 UIButton:0x12ffe4260Add Image.leading == UIButton:0x13119c090View Images.leading,
    NSLayoutConstraint:0x1310132b0 H:-(18)-[UILabel:0x13106b950Selected Image URL:]   (Names: :UIScrollView:0x1300d1a00 ),
    NSLayoutConstraint:0x1310bf6a0 UITextField:0x1310f5170.centerX == UIScrollView:0x1300d1a00.centerX,
    NSLayoutConstraint:0x1310d9770 UITextField:0x1310f5170.centerX == UIButton:0x13119c090View Images.centerX,
    NSLayoutConstraint:0x1310db3f0 UITextField:0x1310f5170.leading == UILabel:0x13106b950Selected Image URL:.leading,
    NSLayoutConstraint:0x13141da50 H:[UILabel:0x12fe9d0c0Cheesecake:]-(12)-[UISegmentedControl:0x12ffa6100],
    NSLayoutConstraint:0x1310f76b0 H:[UILabel:0x12fe9d0c0Cheesecake:(146)],
    NSLayoutConstraint:0x1310bbc30 H:[UISegmentedControl:0x12ffa6100(220)],
    NSLayoutConstraint:0x1310f5dc0 UIView-Encapsulated-Layout-Width H:[UIView:0x1310f4720(320)]
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x1310bbc30 H:[UISegmentedControl:0x12ffa6100(220)]

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in UIKit/UIView.h may also be helpful.
2016-04-07 12:34:37.251 Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
2016-04-07 12:35:04.795 -[UIWindow endDisablingInterfaceAutorotationAnimated:] called on UITextEffectsWindow: 0x12fea72e0; frame = (0 0; 320 568); opaque = NO; autoresize = W+H; layer = UIWindowLayer: 0x12fe6bb70 without matching -beginDisablingInterfaceAutorotation. Ignoring.
2016-04-07 12:35:05.194 Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
2016-04-07 12:35:10.238 plugin com.swiftkey.SwiftKeyApp.Keyboard invalidated
2016-04-07 12:35:25.099 *** Assertion failure in -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.60.7/UICollectionView.m:4469

Instabug Log:

User Steps:

wController
2016-04-07 12:34:24.215 Touch: (UINavigationBar) in DropboxPhotoTest.ViewController
2016-04-07 12:34:24.769 Top View: DropboxPhotoTest.TableViewController
2016-04-07 12:34:26.498 Touch: ((null)) in DropboxPhotoTest.TableViewController
2016-04-07 12:34:27.397 Swipe: ((null)) in DropboxPhotoTest.TableViewController
2016-04-07 12:34:30.635 Touch: (UITableViewCellContentView) in DropboxPhotoTest.TableViewController
2016-04-07 12:34:31.366 Top View: DropboxPhotoTest.ViewController
2016-04-07 12:34:31.547 Touch: (UIButton) in DropboxPhotoTest.ViewController
2016-04-07 12:34:31.550 Selector: didPressShowMeButton: by (UIButton) in DropboxPhotoTest.ViewController
2016-04-07 12:34:32.219 Top View: SwiftPhotoGallery.SwiftPhotoGallery
2016-04-07 12:34:35.949 Touch: (UIScrollView) in SwiftPhotoGallery.SwiftPhotoGallery
2016-04-07 12:34:36.873 Top View: DropboxPhotoTest.ViewController
2016-04-07 12:34:37.131 Touch: (UIButton) in DropboxPhotoTest.ViewController
2016-04-07 12:34:37.133 Selector: cameraButtonPressed: by (UIButton) in DropboxPhotoTest.ViewController
2016-04-07 12:34:37.784 Top View: PLUICameraViewController
2016-04-07 12:34:38.981 Touch: (UIButton) in PLUICameraViewController
2016-04-07 12:34:38.982 Selector: _tappedBottomBarCancelButton: by (UIButton) in PLUICameraViewController
2016-04-07 12:34:39.521 Top View: DropboxPhotoTest.ViewController
2016-04-07 12:34:39.816 Swipe: ((null)) in DropboxPhotoTest.ViewController
2016-04-07 12:34:53.215 Touch: (UITextField) in DropboxPhotoTest.ViewController
2016-04-07 12:35:04.236 Swipe: ((null)) in DropboxPhotoTest.ViewController
2016-04-07 12:35:04.793 Selector: pitAvailableWeightDidChange: by (UITextField) in DropboxPhotoTest.ViewController
2016-04-07 12:35:05.101 Touch: (UIButton) in DropboxPhotoTest.ViewController
2016-04-07 12:35:05.103 Selector: cameraButtonPressed: by (UIButton) in DropboxPhotoTest.ViewController
2016-04-07 12:35:05.736 Top View: PLUICameraViewController
2016-04-07 12:35:09.722 Selector: cameraShutterPressed: by (CMKShutterButton) in PLUICameraViewController
2016-04-07 12:35:09.884 Touch: (CMKShutterButton) in PLUICameraViewController
2016-04-07 12:35:09.887 Selector: cameraShutterReleased: by (CMKShutterButton) in PLUICameraViewController
2016-04-07 12:35:11.585 Touch: (UIButton) in PLUICameraViewController
2016-04-07 12:35:11.586 Selector: _tappedBottomBarDoneButton: by (UIButton) in PLUICameraViewController
2016-04-07 12:35:15.762 Top View: DropboxPhotoTest.ViewController
2016-04-07 12:35:15.779 Touch: (UIButton) in DropboxPhotoTest.ViewController
2016-04-07 12:35:15.781 Selector: didPressShowMeButton: by (UIButton) in DropboxPhotoTest.ViewController
2016-04-07 12:35:16.328 Top View: SwiftPhotoGallery.SwiftPhotoGallery
2016-04-07 12:35:22.568 Swipe: (UIScrollView) in SwiftPhotoGallery.SwiftPhotoGallery
2016-04-07 12:35:23.219 Swipe: (UIScrollView) in SwiftPhotoGallery.SwiftPhotoGallery
2016-04-07 12:35:24.703 Touch: (UIScrollView) in SwiftPhotoGallery.SwiftPhotoGallery

Current View: SwiftPhotoGallery.SwiftPhotoGallery