react-native-face-detection icon indicating copy to clipboard operation
react-native-face-detection copied to clipboard

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL URLByAppendingPathComponent:]: component, components, or pathExtension cannot be nil.'

Open bobanminic96 opened this issue 5 years ago • 3 comments

Hello,

So i'm trying to pass this path: ' /var/mobile/Containers/Data/Application/EF33D3D7-49BB-466F-B807-8FF88AC72490/Documents/MyApp/image.jpg ' to processImage function, and i get this error:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL URLByAppendingPathComponent:]: component, components, or pathExtension cannot be nil.' *** First throw call stack: (0x191208298 0x1a4f62480 0x1923fbe98 0x104814344 0x10472bb90 0x104a8e4d0 0x108d93ae8 0x108d9532c 0x108da376c 0x1911872e0 0x191181740 0x191180818 0x1a7886570 0x193aac0e8 0x193ab1664 0x10414fe60 0x190e5f140) libc++abi: terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL URLByAppendingPathComponent:]: component, components, or pathExtension cannot be nil.' terminating with uncaught exception of type NSException

I did check with the RNFetchBlob library if file exists on that path, and file exists, so not sure what is causing this issue. Seems like it is library related. Any suggestions / fix for this ?

bobanminic96 avatar Aug 19 '21 08:08 bobanminic96

@bobanminic96 did you get this resolved?

kerron avatar Sep 25 '21 20:09 kerron

Not resolved in React Native. I switched to flutter.

On Sat, Sep 25, 2021, 22:50 Kerron Parchment @.***> wrote:

@bobanminic96 https://github.com/bobanminic96 did you get this resolved?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nonth/react-native-face-detection/issues/1#issuecomment-927181071, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXLWINBRZ2NB4T7N2IEUKDUDYYYBANCNFSM5CNWLPDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

bobanminic96 avatar Sep 26 '21 05:09 bobanminic96