Skip to content

Instantly share code, notes, and snippets.

@jamonholmgren
Created September 3, 2019 09:52
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 jamonholmgren/c4279ab4fab64bdfefdab7900ecc5f47 to your computer and use it in GitHub Desktop.
Save jamonholmgren/c4279ab4fab64bdfefdab7900ecc5f47 to your computer and use it in GitHub Desktop.
Exception 'Given `rootTag` (3) does not correspond to a valid root shadow view instance.' was thrown while invoking createView on target UIManager with params (
15,
RCTRawText,
3,
{
text = hello;
}
)
callstack: (
0 CoreFoundation 0x000000011086b8db __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010efdaac5 objc_exception_throw + 48
2 CoreFoundation 0x000000011086b662 +[NSException raise:format:arguments:] + 98
3 Foundation 0x000000010ea28834 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166
4 PortalApp 0x000000010cede845 -[RCTUIManager createView:viewName:rootTag:props:] + 853
5 CoreFoundation 0x00000001108726ac __invoking___ + 140
6 CoreFoundation 0x000000011086fc25 -[NSInvocation invoke] + 325
7 CoreFoundation 0x0000000110870076 -[NSInvocation invokeWithTarget:] + 54
8 PortalApp 0x000000010ce79f1a -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2810
9 PortalApp 0x000000010ce7e1c6 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 790
10 PortalApp 0x000000010ce7dcd3 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 131
11 PortalApp 0x000000010ce7dc49 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 25
12 libdispatch.dylib 0x0000000112266ccf _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x0000000112267d02 _dispatch_client_callout + 8
14 libdispatch.dylib 0x000000011226e720 _dispatch_lane_serial_drain + 705
15 libdispatch.dylib 0x000000011226f261 _dispatch_lane_invoke + 398
16 libdispatch.dylib 0x0000000112277fcb _dispatch_workloop_worker_thread + 645
17 libsystem_pthread.dylib 0x0000000112649611 _pthread_wqthread + 421
18 libsystem_pthread.dylib 0x00000001126493fd start_wqthread + 13
)
RCTFatal
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread
@dakiquang
Copy link

get same problem as you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment