Firebase存储非法状态异常:应从以下位置恢复文件

时间:2018-09-10 08:37:27

标签: java android firebase firebase-storage

我遇到了Firebase存储问题,无法找到问题发生的位置(大多数情况是在未打开应用程序时发生的)。 错误的堆栈跟踪如下所示。

Fatal Exception: java.lang.IllegalStateException: expected a file to resume from.
       at com.google.firebase.storage.FileDownloadTask.zza(Unknown Source)
       at com.google.firebase.storage.FileDownloadTask.run(Unknown Source)
       at com.google.firebase.storage.StorageTask.zzl(Unknown Source)
       at com.google.firebase.storage.zzx.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
       at java.lang.Thread.run(Thread.java:761)

我可以知道是什么原因导致此问题和应用程序崩溃,如何解决该问题,使其不会经常崩溃我的应用程序?

0 个答案:

没有答案