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

java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference #1726

Closed
jxtx123456 opened this issue Nov 3, 2020 · 2 comments

Comments

@jxtx123456
Copy link

jxtx123456 commented Nov 3, 2020

版本:2.5.8
华为 LIO AL00
系统版本

Android 10,level 29

ROM

HuaWei/EMOTION

CPU架构

arm64-v8a

Caused by:

5 java.lang.NullPointerException:Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
6 com.luck.picture.lib.PicturePreviewActivity.onSelectNumChange(PicturePreviewActivity.java:534)
7 com.luck.picture.lib.PicturePreviewActivity.initPictureSelectorStyle(PicturePreviewActivity.java:373)
8 com.luck.picture.lib.PictureBaseActivity.onCreate(PictureBaseActivity.java:182)
9 com.luck.picture.lib.PicturePreviewActivity.onCreate(PicturePreviewActivity.java:91)
10 android.app.Activity.performCreate(Activity.java:8085)
11 android.app.Activity.performCreate(Activity.java:8073)
12 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
13 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3850)
14 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4056)
15 android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
16 android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
17 android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
18 android.app.ActivityThread$H.handleMessage(ActivityThread.java:2464)
19 android.os.Handler.dispatchMessage(Handler.java:110)
20 android.os.Looper.loop(Looper.java:219)
21 android.app.ActivityThread.main(ActivityThread.java:8299)
22 java.lang.reflect.Method.invoke(Native Method)
23 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
24 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1052)

@xuzhu19930323
Copy link

我也遇到相同的问题,如果你解决了,请回复下我,谢谢

@LuckSiege
Copy link
Owner

已修复

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

3 participants