orta / Snapshots

An Xcode Plugin to show the state of FBSnapshot Tests.
BSD 2-Clause "Simplified" License
362 stars 29 forks source link

Crash: #10

Open orta opened 10 years ago

orta commented 10 years ago
Application Specific Information:
Sending tappedButton: to <ORSnapshotDiffs: 0x7f82f1c54350> from <NSButton: 0x7f82fc16aeb0>
ProductBuildVersion: 5B1008
UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSArrayI objectAtIndex:]: index 18446744073709551615 beyond bounds for empty array
UserInfo: (null)
Hints: 
  0: Sending tappedButton: to <ORSnapshotDiffs: 0x7f82f1c54350> from <NSButton: 0x7f82fc16aeb0>
Backtrace:
  0  0x00007fff96665f04 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010051eb10 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff9194374e objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff9653fbae -[__NSArrayI objectAtIndex:] (in CoreFoundation)
  4  0x00000001091ddff6 -[ORPopoverTableDataSource objectForRow:] at /Users/orta/Library/Application Support/Alcatraz/Plug-ins/Snapshots/SnapshotDiffs/ORPopoverTableDataSource.m:88 (in Snapshots)
  5  0x00000001091dbffe -[ORPopoverController tableViewSelectionDidChange:] at /Users/orta/Library/Application Support/Alcatraz/Plug-ins/Snapshots/SnapshotDiffs/ORPopoverController.m:83 (in Snapshots)
  6  0x00000001091dbdae -[ORPopoverController awakeFromNib] at /Users/orta/Library/Application Support/Alcatraz/Plug-ins/Snapshots/SnapshotDiffs/ORPopoverController.m:57 (in Snapshots)
  7  0x00007fff8fd0e439 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] (in AppKit)
  8  0x00007fff8fd8cf32 -[NSNib _instantiateNibWithExternalNameTable:options:] (in AppKit)
  9  0x00007fff8fd8d046 -[NSNib _instantiateWithOwner:options:topLevelObjects:] (in AppKit)
 10  0x00007fff8f9b4ffb -[NSViewController loadView] (in AppKit)
 11  0x00007fff8fc1805b -[NSViewController _loadViewIfRequired] (in AppKit)
 12  0x00007fff8f8f0eb5 -[NSViewController view] (in AppKit)
 13  0x00007fff8fa8200d -[NSPopover showRelativeToRect:ofView:preferredEdge:] (in AppKit)
 14  0x00000001091e2062 -[ORSnapshotDiffs tappedButton:] at /Users/orta/Library/Application Support/Alcatraz/Plug-ins/Snapshots/SnapshotDiffs/ORSnapshotDiffs.m:100 (in Snapshots)
orta commented 9 years ago

Had converted one new snapshot, tapped the snapshots button twice.

Application Specific Information:
Sending tappedButton: to <ORSnapshotDiffs: 0x7ffde953dbd0> from <NSButton: 0x7ffdeee0d3e0>
ProductBuildVersion: 5B1008
UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSArrayI objectAtIndex:]: index 18446744073709551615 beyond bounds for empty array
UserInfo: (null)
Hints: 
  0: Sending tappedButton: to <ORSnapshotDiffs: 0x7ffde953dbd0> from <NSButton: 0x7ffdeee0d3e0>
Backtrace:
  0  0x00007fff8e27abd4 __exceptionPreprocess (in CoreFoundation)
  1  0x00000001006ddb10 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff8b6fe70e objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff8e153d6e -[__NSArrayI objectAtIndex:] (in CoreFoundation)
  4  0x000000010e792a9c -[ORPopoverTableDataSource objectForRow:] (in Snapshots)
  5  0x000000010e78f345 -[ORPopoverController tableViewSelectionDidChange:] (in Snapshots)
  6  0x000000010e78ef01 -[ORPopoverController awakeFromNib] (in Snapshots)
  7  0x00007fff8827c719 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] (in AppKit)
  8  0x00007fff882fac82 -[NSNib _instantiateNibWithExternalNameTable:options:] (in AppKit)
  9  0x00007fff882fad96 -[NSNib _instantiateWithOwner:options:topLevelObjects:] (in AppKit)
 10  0x00007fff87f20b2d -[NSViewController loadView] (in AppKit)
 11  0x00007fff88185c4d -[NSViewController _loadViewIfRequired] (in AppKit)
 12  0x00007fff87e5d2c7 -[NSViewController view] (in AppKit)
 13  0x00007fff87fee0ed -[NSPopover showRelativeToRect:ofView:preferredEdge:] (i
netbe commented 9 years ago

Hi, might be related to that, when I tap on the button to go the failing test:

Application Specific Information:
ProductBuildVersion: 5B1008
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
UserInfo: (null)
Hints: None
Backtrace:
  0  0x00007fff8ef8f244 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010bd9eb10 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff927f6e75 objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff8ee479a6 -[__NSPlaceholderArray initWithObjects:count:] (in CoreFoundation)
  4  0x00007fff8eec4f42 +[NSArray arrayWithObject:] (in CoreFoundation)
  5  0x000000010cf77a1c -[IDEApplicationController application:openFile:] (in IDEKit)
  6  0x0000000115005c5e -[ORPopoverController testTitleViewClicked:] at /Users/netbe/Library/Application Support/Alcatraz/Plug-ins/Snapshots/SnapshotDiffs/ORPopoverController.m:113 (in Snapshots)
  7  0x00007fff9648b260 -[NSApplication sendAction:to:from:] (in AppKit)
  8  0x000000010c303f85 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
  9  0x000000010c1d1b38 -[DVTApplication sendAction:to:from:] (in DVTKit)
 10  0x00007fff9648b0de -[NSControl sendAction:to:] (in AppKit)
 11  0x00007fff964d7c4d -[NSCell _sendActionFrom:] (in AppKit)