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

Exception when running startDfu in ios #35

Closed
ali-shabani opened this issue Oct 7, 2018 · 4 comments
Closed

Exception when running startDfu in ios #35

ali-shabani opened this issue Oct 7, 2018 · 4 comments

Comments

@ali-shabani
Copy link
Contributor

Hi, when I run startDfu command in ios I get this error:

Exception '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]' was thrown while invoking startDFU on target RNNordicDfu with params (
    "E60161B8-7C2B-BB7C-1D60-EEE4BC3E6C1D:E60161B9",
    Ninix,
    "/var/mobile/Containers/Data/Application/45F13F0D-F4B6-4BD0-A19F-A201C3D4F2D5/Documents/RNFetchBlob_tmp/RNFetchBlobTmp_tuv5vjjvmmvd67t2lhlt.zip",
    3250,
    3251
)

I'm using:
react-native: 0.57
react-native-nordic-dfu: "swift4.1 branch"

@blakeparkinson
Copy link

@pyramid-ali Do you remember how you resolved this by any chance? I'm running into the same issue on my end. My suspicion is that we don't have access to the directory on the device where I'm downloading the file. I noticed that if I also just hard-code some nonsense path that doesn't exist, I get the same error.

Appreciate it if you could provide any guidance.

@ezranbayantemur
Copy link
Contributor

ezranbayantemur commented Jun 8, 2020

Same here. Any update?
#100

@franzejr
Copy link

@blakeparkinson @ezranbayantemur do y'all had some update on this? I'm having the same issue.

@blakeparkinson
Copy link

@franzejr I was ultimately able to get this working. It's been a while though. I had to dip down into the java code a fair amount

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

4 participants