Skip to content

Instantly share code, notes, and snippets.

@vjeux
Created December 23, 2015 18:36
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 vjeux/3ecd36f54916bfcaa346 to your computer and use it in GitHub Desktop.
Save vjeux/3ecd36f54916bfcaa346 to your computer and use it in GitHub Desktop.
-[RCTBridgeTests testCallNativeMethod]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2015-12-23 18:14:21.692 [info][tid:main][RCTDevMenu.m:322] RCTSourceCode module scriptURL has not been set
2015-12-23 18:14:21.692 [info][tid:main][RCTDevMenu.m:322] RCTSourceCode module scriptURL has not been set
2015-12-23 18:14:21.693 [info][tid:main][RCTDevMenu.m:322] RCTSourceCode module scriptURL has not been set
2015-12-23 18:14:21.693 [info][tid:main][RCTDevMenu.m:322] RCTSourceCode module scriptURL has not been set
2015-12-23 18:14:21.693 [info][tid:main][RCTDevMenu.m:322] RCTSourceCode module scriptURL has not been set
2015-12-23 18:14:21.694 [info][tid:main][RCTDevMenu.m:322] RCTSourceCode module scriptURL has not been set
Invalid connection: com.apple.coresymbolicationd
/Users/travis/build/facebook/react-native/Examples/UIExplorer/UIExplorerUnitTests/RCTBridgeTests.m:186: failed: caught "NSInvalidArgumentException", "*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]"
(
0 CoreFoundation 0x00790a94 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00afbe02 objc_exception_throw + 50
2 CoreFoundation 0x00636514 -[__NSPlaceholderArray initWithObjects:count:] + 340
3 CoreFoundation 0x0069a264 +[NSArray arrayWithObjects:count:] + 68
4 UIExplorerUnitTests 0x0ba85036 -[RCTBridgeTests testCallNativeMethod] + 1782
5 CoreFoundation 0x00668ccd __invoking___ + 29
6 CoreFoundation 0x00668b76 -[NSInvocation invoke] + 342
7 XCTest 0x00116644 __24-[XCTestCase invokeTest]_block_invoke_2 + 174
8 XCTest 0x0014eb1f -[XCTestContext performInScope:] + 229
9 XCTest 0x00116589 -[XCTestCase invokeTest] + 193
10 XCTest 0x00116b43 -[XCTestCase performTest:] + 529
11 otest-shim-ios.dylib 0x000e68e8 XCPerformTestWithSuppressedExpectedAssertionFailures + 638
12 otest-shim-ios.dylib 0x000e5eb0 XCTestCase_performTest + 31
13 XCTest 0x00140d4a -[XCTest runTest] + 354
14 XCTest 0x001141e2 -[XCTestSuite performTest:] + 427
15 XCTest 0x00140d4a -[XCTest runTest] + 354
16 XCTest 0x001141e2 -[XCTestSuite performTest:] + 427
17 XCTest 0x00140d4a -[XCTest runTest] + 354
18 XCTest 0x00150505 ___XCTestMain_block_invoke81 + 36
19 XCTest 0x00124956 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 736
20 XCTest 0x001503c2 _XCTestMain + 1182
21 xctest 0x000846ba xctest + 5818
22 libdyld.dylib 0x02d96a21 start + 1
):
183 }];
184
185 NSArray *args = @[@1234, @5678, @"stringy", @{@"a": @1}, @42];
186 NSArray *buffer = @[@[testModuleID], @[testMethodID], @[args], @[], @1234567];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187
188 [_bridge.batchedBridge handleBuffer:buffer];
━━━━┳━━━━━━━━━━━━━━━━━━━━���━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☂ -[RCTBridgeTests testCallNativeMethod] (458 ms) (0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment