IssueRaiser

Class Cast exception

* please provide the version of installed library and RN project. React native: 0.60.4 rnFetchBlob: 0.11.2 * a sample code snippet/repository is very helpful to spotting the problem. We are not able to reproduce crash. Many of app users are facing issue. rnFetchBlob is crashing with the below exception. We have got this exception in bugsnag java.lang.ClassCastException okhttp3.internal.http.RealResponseBody cannot be cast to com.RNFetchBlob.Response.RNFetchBlobFileResp RNFetchBlobReq.java:544 com.RNFetchBlob.RNFetchBlobReq.done RNFetchBlobReq.java:67 com.RNFetchBlob.RNFetchBlobReq.access$100 RNFetchBlobReq.java:445 com.RNFetchBlob.RNFetchBlobReq$3.onResponse RealCall.java:174 okhttp3.RealCall$AsyncCall.execute NamedRunnable.java:32 okhttp3.internal.NamedRunnable.run ThreadPoolExecutor.java:1113 java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java:588 java.util.concurrent.ThreadPoolExecutor$Worker.run Thread.java:818 java.lang.Thread.run

Posted by learnyst on Nov 17, 2019, 4:42 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

reliability (SaaS)

Class Cast exception

learnystNov 17, 2019, 4:42 AM

* please provide the version of installed library and RN project. React native: 0.60.4 rnFetchBlob: 0.11.2 * a sample code snippet/repository is very helpful to spotting the problem. We are not able to reproduce crash. Many of app users are facing issue. rnFetchBlob is crashing with the below exception. We have got this exception in bugsnag java.lang.ClassCastException okhttp3.internal.http.RealResponseBody cannot be cast to com.RNFetchBlob.Response.RNFetchBlobFileResp RNFetchBlobReq.java:544 com.RNFetchBlob.RNFetchBlobReq.done RNFetchBlobReq.java:67 com.RNFetchBlob.RNFetchBlobReq.access$100 RNFetchBlobReq.java:445 com.RNFetchBlob.RNFetchBlobReq$3.onResponse RealCall.java:174 okhttp3.RealCall$AsyncCall.execute NamedRunnable.java:32 okhttp3.internal.NamedRunnable.run ThreadPoolExecutor.java:1113 java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java:588 java.util.concurrent.ThreadPoolExecutor$Worker.run Thread.java:818 java.lang.Thread.run

Comments (0)

No comments yet. Start the discussion.

Comment on this issue