question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception thrown while executing UI block: 'parentNode' is a required parameter

See original GitHub issue

Description

While working on React Native Gallery Toolkit, I’ve got this error.

I’m not sure how to reproduce it in some playground, not sure what exactly causes it:

Exception thrown while executing UI block: 'parentNode' is a required parameter

__44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke
    RCTUIManager.m:1192
-[REANodesManager performOperations]
-[REANodesManager onAnimationFrame:]
CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long)
display_timer_callback(__CFMachPort*, void*, long, void*)
__CFMachPortPerform
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
__CFRunLoopDoSource1
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start
0x0

Screenshots

image

Steps To Reproduce

  1. Clone this repo https://github.com/terrysahaidak/react-native-gallery-toolkit
  2. Switch to tr-lightbox branch and run the Example project
  3. Navigate to Lightbox => Shared Element Transition
  4. Open/close image a few times in a row.

The error might occur after a few reloading or immediately.

Expected behavior

Should not throw the error.

Actual behavior

Throws an error but still works if I just close it.

Snack or minimal code example

  1. Clone this repo https://github.com/terrysahaidak/react-native-gallery-toolkit
  2. Switch to tr-lightbox branch and run the Example project

Package versions

  • React: 16.13.1
  • React Native: 0.63.2
  • React Native Reanimated: 2.0.0-alpha.7

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:28 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
JB-CHAUVINcommented, Oct 14, 2020

The fix here is to disable TurboModules for all the modules except Reanimated. Its landed in master, should be available with the new release. I will keep this issue open until.

Do you know when the next reanimated alpha 8 will be released ?

3reactions
JB-CHAUVINcommented, Oct 15, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Exception thrown while executing UI block: 'parentNode' is a ...
the reason for this error is are you using parameter name same as an already declared variable in that component, like below
Read more >
Exception thrown while executing UI block: 'parentNode' is a ...
Coding example for the question Exception thrown while executing UI block: 'parentNode' is a required a required parameter-React Native.
Read more >
iOS : React Native: Exception thrown while executing UI block
iOS : React Native: Exception thrown while executing UI block [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS ...
Read more >
React Native Exception Thrown While Executing Ui Block
Ask questionsException thrown while executing UI block: 'childNode' is a required parameter. <pathtoproject>/nodemodules/reactnativereanimated/ios/. shahen94/ ...
Read more >
问答- 腾讯云开发者社区-腾讯云
Exception thrown while executing UI block : 'parentNode' is a required parameter. 浏览54关注0得票数0. 得票数为Stack Overflow原文数据.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found