react-native-pager icon indicating copy to clipboard operation
react-native-pager copied to clipboard

Crash (iOS) setObject:atIndexedSubscript object cannot be nil

Open hirbod opened this issue 4 years ago • 4 comments

Sometimes, if I am to quick, I receive following crash: IMG_8033

It also happened while testing your example app. It's rare, but it happens now and then

hirbod avatar Dec 04 '19 05:12 hirbod

thanks for this, I hit this crash all the time while debugging as well - https://github.com/software-mansion/react-native-reanimated/issues/216

haven't figured out a way around it yet, but it looks like it can be patched temporarily on the native side

ajsmth avatar Dec 04 '19 15:12 ajsmth

And looks like it only happens in debug mode, which is fine, since it doesn‘t affect production

hirbod avatar Dec 04 '19 15:12 hirbod

Might be preventable https://github.com/software-mansion/react-native-reanimated/issues/397

Since I’m working with expo, there is no way of patching for me

hirbod avatar Dec 04 '19 15:12 hirbod

i suspect it's updating animated nodes on an unmounted component. i'll leave this ticket up but im not sure what to do about this, hoping for a reanimated patch

ajsmth avatar Dec 08 '19 15:12 ajsmth