Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

_clearTransformations does check if the sceneRef is null #33

Open
nohorjo opened this issue Nov 14, 2018 · 2 comments
Open

_clearTransformations does check if the sceneRef is null #33

nohorjo opened this issue Nov 14, 2018 · 2 comments

Comments

@nohorjo
Copy link

nohorjo commented Nov 14, 2018

When popping to route, _clearTransformations sets some props on a scene but unlike other places it does not perform a null check, causing the following error:

Fatal Exception: com.github.aoriani.rnstacktracer.ReactNativeException: null is not an object (evaluating 'this._sceneRefs[t].setNativeProps')
       at ._clearTransformations._clearTransformations(1621:7328)
       at .popN.popN(1621:14274)
       at .popToRoute.popToRoute(1621:15312)
nohorjo pushed a commit to livelink/react-native-custom-components that referenced this issue Nov 14, 2018
@Desintegrator
Copy link

@nohorjo Does your commit work well? Don't u face some other issues because of that?

@nohorjo
Copy link
Author

nohorjo commented Jun 4, 2019

@Desintegrator My commit works for me and I have not experienced any other issues since. However, I've since been using react-navigation so I no longer use this component

vinayvenu added a commit to avniproject/avni-client that referenced this issue Nov 12, 2021
… the default handler

This might fix errors showing up on Bugsnag. Essentially, this is a problem with the module for which the best way to fix is to upgrade to newer RN versions. See facebookarchive/react-native-custom-components#33 for more details.
vindeolal pushed a commit to avniproject/avni-client that referenced this issue Nov 15, 2021
… the default handler

This might fix errors showing up on Bugsnag. Essentially, this is a problem with the module for which the best way to fix is to upgrade to newer RN versions. See facebookarchive/react-native-custom-components#33 for more details.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants