This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
'java.io.File java.io.File.getParentFile()' error in android #608
Comments
Same issue here, but only seen on one device so far on android 6.0.1. RN 0.49.3 and RN fetch blob 0.10.8 |
+1 |
I have the same issue |
Same issue here |
Same issue. Happens a lot on many different devices. Here's a stack trace:
|
+1 |
1 similar comment
+1 |
@mannol which devices it happens ? For me, I saw it on a LGV520. |
@josenaves Well, I see it happening on at least 10 devices in production. What's interesting is that crashlytics reports that the crash happens when app is about 81% in focus, which could mean that the crash happens when the activity is being destroyed... Race condition while accessing the context maybe? |
It looks like @chrusart created a PR with the fix 🎉 |
+1 |
@chrusart It seems like this repo is no longer maintained. Could you open a PR there? #636 (comment) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Exception com.facebook.react.common.JavascriptException: Java exception in 'NativeModules' java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.File java.io.File.getParentFile()' on a null object reference, stack: com.RNFetchBlob.RNFetchBlobFS.getSystemfolders
any ideas what can it be ?
The text was updated successfully, but these errors were encountered: