Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference com.example.r_upgrade.common.UpgradeService$UpgradeRunnable.handlerDownloadFinish(UpgradeService.java:440) #88

Open
jinpang opened this issue Dec 29, 2023 · 1 comment

Comments

@jinpang
Copy link

jinpang commented Dec 29, 2023

版本号:r_upgrade: ^0.4.2

Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
com.example.r_upgrade.common.UpgradeService$UpgradeRunnable.handlerDownloadFinish(UpgradeService.java:440)
出错堆栈

1 com.example.r_upgrade.common.UpgradeService$UpgradeRunnable.handlerDownloadFinish(UpgradeService.java:440)
2 com.example.r_upgrade.common.UpgradeService$UpgradeRunnable.access$1200(UpgradeService.java:203)
3 com.example.r_upgrade.common.UpgradeService.handleNetworkChange(UpgradeService.java:158)
4 com.example.r_upgrade.common.UpgradeService.access$600(UpgradeService.java:54)
5 com.example.r_upgrade.common.UpgradeService$2.onLost(UpgradeService.java:129)
6 android.net.ConnectivityManager$CallbackHandler.handleMessage(ConnectivityManager.java:3910)
7 android.os.Handler.dispatchMessage(Handler.java:114)
8 android.os.Looper.loopOnce(Looper.java:206)
9 android.os.Looper.loop(Looper.java:296)
10 android.os.HandlerThread.run(HandlerThread.java:67)

@jinpang
Copy link
Author

jinpang commented Jan 16, 2024

出现的频度比较高,建议修复一下

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

No branches or pull requests

1 participant