You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal Exception: java.lang.RuntimeException: mStatus undefined, -2
at com.liulishuo.filedownloader.DownloadTaskHunter.setStatus(DownloadTaskHunter.java:533)
at com.liulishuo.filedownloader.DownloadTaskHunter.pause(DownloadTaskHunter.java:391)
at com.liulishuo.filedownloader.DownloadTask.pause(DownloadTask.java:338)
at com.liulishuo.filedownloader.FileDownloader.pauseAll(FileDownloader.java:283)
at com.adkaar.adkaarapp.ui.MainActivity.pause(MainActivity.java:872)
at com.adkaar.adkaarapp.ui.MainActivity.access$300(MainActivity.java:90)
at com.adkaar.adkaarapp.ui.MainActivity$6.onClick(MainActivity.java:588)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5341)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
at dalvik.system.NativeStart.main(NativeStart.java)
The text was updated successfully, but these errors were encountered:
Okey, That's confusing... I have no idea with it. In the source code, we throw this exception only if mStatus is greater than 6(FileDownloadStatus.MAX_INT) or less than -4(FileDownloadStatus.MIN_INT), but with the exception message, it indicated the mStatus is -2(FileDownloadStatus.paused).
How often did you occur such problem, Is it possible the problem in the custom JVM ?
Fatal Exception: java.lang.RuntimeException: mStatus undefined, -2
at com.liulishuo.filedownloader.DownloadTaskHunter.setStatus(DownloadTaskHunter.java:533)
at com.liulishuo.filedownloader.DownloadTaskHunter.pause(DownloadTaskHunter.java:391)
at com.liulishuo.filedownloader.DownloadTask.pause(DownloadTask.java:338)
at com.liulishuo.filedownloader.FileDownloader.pauseAll(FileDownloader.java:283)
at com.adkaar.adkaarapp.ui.MainActivity.pause(MainActivity.java:872)
at com.adkaar.adkaarapp.ui.MainActivity.access$300(MainActivity.java:90)
at com.adkaar.adkaarapp.ui.MainActivity$6.onClick(MainActivity.java:588)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5341)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
at dalvik.system.NativeStart.main(NativeStart.java)
The text was updated successfully, but these errors were encountered: