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

你好,遇到这么一个崩溃错误。 #53

Open
0xFF336699 opened this issue Mar 2, 2023 · 0 comments
Open

你好,遇到这么一个崩溃错误。 #53

0xFF336699 opened this issue Mar 2, 2023 · 0 comments

Comments

@0xFF336699
Copy link

出错堆栈

1 java.lang.RuntimeException:Unable to start activity ComponentInfo{com.baobeidaola.fanli/com.cretin.www.cretinautoupdatelibrary.activity.UpdateType12Activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.cretin.www.cretinautoupdatelibrary.model.DownloadInfo.getUpdateLog()' on a null object reference
2 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2951)
3 ......
4 Caused by:
5 java.lang.NullPointerException:Attempt to invoke virtual method 'java.lang.String com.cretin.www.cretinautoupdatelibrary.model.DownloadInfo.getUpdateLog()' on a null object reference
6 com.cretin.www.cretinautoupdatelibrary.activity.UpdateType12Activity.setDataAndListener(UpdateType12Activity.java:40)
7 com.cretin.www.cretinautoupdatelibrary.activity.UpdateType12Activity.onCreate(UpdateType12Activity.java:36)
8 android.app.Activity.performCreate(Activity.java:7144)
9 android.app.Activity.performCreate(Activity.java:7135)
10 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
11 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
12 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
13 android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
14 android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
15 android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
16 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
17 android.os.Handler.dispatchMessage(Handler.java:106)
18 android.os.Looper.loop(Looper.java:193)
19 android.app.ActivityThread.main(ActivityThread.java:6718)
20 java.lang.reflect.Method.invoke(Native Method)

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