Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bobanminic96 opened this issue Aug 19, 2021 · 3 comments

Comments

@bobanminic96
Copy link

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 ?

@kerron
Copy link

kerron commented Sep 25, 2021

@bobanminic96 did you get this resolved?

@bobanminic96
Copy link
Author

bobanminic96 commented Sep 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@kerron @bobanminic96 and others