Skip to content

Instantly share code, notes, and snippets.

@jcavar
Created June 13, 2017 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcavar/a30c23b42e98974740accfd49fe42318 to your computer and use it in GitHub Desktop.
Save jcavar/a30c23b42e98974740accfd49fe42318 to your computer and use it in GitHub Desktop.
WebDriverAgent stack trace
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
(
0 CoreFoundation 0x000000010d09db0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010cb02141 objc_exception_throw + 48
2 CoreFoundation 0x000000010cfb256d -[__NSPlaceholderArray initWithObjects:count:] + 269
3 CoreFoundation 0x000000010cfb92b4 +[NSArray arrayWithObjects:count:] + 52
4 XCTest 0x000000010c4fe4f7 -[XCElementSnapshot(Hitpoint) _transformPoint:windowContextID:windowDisplayID:] + 133
5 XCTest 0x000000010c4fe8e9 -[XCElementSnapshot(Hitpoint) hitPoint] + 386
6 WebDriverAgentLib 0x000000011e83a00a -[XCElementSnapshot(FBIsVisible) fb_isVisible] + 810
7 WebDriverAgentLib 0x000000011e844ffb -[XCElementSnapshot(WebDriverAttributes) isWDVisible] + 43
8 WebDriverAgentLib 0x000000011e856be3 +[FBElementCommands handleGetDisplayed:] + 259
9 WebDriverAgentLib 0x000000011e83c183 -[FBRoute_TargetAction mountRequest:intoResponse:] + 179
10 WebDriverAgentLib 0x000000011e833a04 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 548
11 RoutingHTTPServer 0x000000011e8d7c18 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136
12 RoutingHTTPServer 0x000000011e8d84fa __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 47
13 libdispatch.dylib 0x00000001101de792 _dispatch_client_callout + 8
14 libdispatch.dylib 0x00000001101c74e0 _dispatch_barrier_sync_f_slow_invoke + 292
15 libdispatch.dylib 0x00000001101de792 _dispatch_client_callout + 8
16 libdispatch.dylib 0x00000001101c6247 _dispatch_main_queue_callback_4CF + 1041
17 CoreFoundation 0x000000010d062909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
18 CoreFoundation 0x000000010d028ae4 __CFRunLoopRun + 2164
19 CoreFoundation 0x000000010d028016 CFRunLoopRunSpecific + 406
20 Foundation 0x000000010c5eb600 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
21 Foundation 0x000000010c5eb4db -[NSRunLoop(NSRunLoop) run] + 76
22 WebDriverAgentLib 0x000000011e8329e3 -[FBWebServer startServing] + 211
23 WebDriverAgentRunner 0x000000011e3ba254 -[UITestingUITests testRunner] + 100
24 CoreFoundation 0x000000010d025c6c __invoking___ + 140
25 CoreFoundation 0x000000010d025b40 -[NSInvocation invoke] + 320
26 XCTest 0x000000010c4b68e2 __24-[XCTestCase invokeTest]_block_invoke_2 + 491
27 XCTest 0x000000010c4f4f62 -[XCTestContext performInScope:] + 190
28 XCTest 0x000000010c4b66e4 -[XCTestCase invokeTest] + 254
29 XCTest 0x000000010c4b6fb2 -[XCTestCase performTest:] + 565
30 XCTest 0x000000010c4b4078 __27-[XCTestSuite performTest:]_block_invoke + 300
31 XCTest 0x000000010c4b3c68 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
32 XCTest 0x000000010c4b3e4e -[XCTestSuite performTest:] + 214
33 XCTest 0x000000010c4b4078 __27-[XCTestSuite performTest:]_block_invoke + 300
34 XCTest 0x000000010c4b3c68 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
35 XCTest 0x000000010c4b3e4e -[XCTestSuite performTest:] + 214
36 XCTest 0x000000010c4b4078 __27-[XCTestSuite performTest:]_block_invoke + 300
37 XCTest 0x000000010c4b3c68 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
38 XCTest 0x000000010c4b3e4e -[XCTestSuite performTest:] + 214
39 XCTest 0x000000010c500a86 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 40
40 XCTest 0x000000010c4c2f27 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 574
41 XCTest 0x000000010c500925 -[XCTTestRunSession runTestsAndReturnError:] + 281
42 XCTest 0x000000010c49ea50 -[XCTestDriver runTestsAndReturnError:] + 254
43 XCTest 0x000000010c4f886e _XCTestMain + 559
44 CoreFoundation 0x000000010d043b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
45 CoreFoundation 0x000000010d028e54 __CFRunLoopDoBlocks + 356
46 CoreFoundation 0x000000010d0285ee __CFRunLoopRun + 894
47 CoreFoundation 0x000000010d028016 CFRunLoopRunSpecific + 406
48 GraphicsServices 0x000000010f4f2a24 GSEventRunModal + 62
49 UIKit 0x000000010d4c1134 UIApplicationMain + 159
50 XCTRunner 0x000000010c41e88b XCTRunner + 6283
51 libdyld.dylib 0x000000011022765d start + 1
) (Selenium::WebDriver::Error::UnknownError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment