Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

NullPointerException #571

Open
cbjs opened this issue Oct 24, 2017 · 9 comments
Open

NullPointerException #571

cbjs opened this issue Oct 24, 2017 · 9 comments

Comments

@cbjs
Copy link

cbjs commented Oct 24, 2017

react-native: 0.49.3
react-native-fetch-blob: 0.10.8
os: android

same with #557

logcat output:

10-24 00:09:02.942 6724 7168 I am_crash: java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.File java.io.File.getParentFile()' on a null object reference, stack:
CRASH
10-24 00:09:02.942 6724 7168 I am_crash: com.RNFetchBlob.RNFetchBlobFS.getSystemfolders@216
CRASH
10-24 00:09:02.942 6724 7168 I am_crash: com.RNFetchBlob.RNFetchBlob.getConstants@84
CRASH
10-24 00:09:02.942 6724 7168 I am_crash: com.facebook.react.bridge.JavaModuleWrapper.getConstants@140
CRASH
10-24 00:09:02.942 6724 7168 I am_crash: android.os.Handler.handleCallback@815
CRASH
10-24 00:09:02.942 6724 7168 I am_crash: android.os.Handler.dispatchMessage@104
CRASH
10-24 00:09:02.942 6724 7168 I am_crash: com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage@31

@BeckZero
Copy link

+1

1 similar comment
@manishoo
Copy link

+1

@agrass
Copy link

agrass commented Dec 1, 2017

Hi! Did anyone solve this? @cbjs

I'm with this issue:

Fatal Exception: java.lang.NullPointerException
       at java.io.File.fixSlashes(File.java:185)
       at java.io.File.<init>(File.java:134)
       at com.RNFetchBlob.RNFetchBlobFS.exists(RNFetchBlobFS.java:506)
       at com.RNFetchBlob.RNFetchBlob.exists(RNFetchBlob.java:159)
       at java.lang.reflect.Method.invokeNative(Method.java)

@pampang
Copy link

pampang commented Dec 13, 2017

+1

1 similar comment
@manishoo
Copy link

+1

@chrusart
Copy link

PR #619

@hwangjr
Copy link

hwangjr commented Jan 15, 2018

+1

2 similar comments
@ohmnakisa
Copy link

+1

@iMohammadReza
Copy link

+1

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

No branches or pull requests

9 participants