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
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zhongcai.xiaofeng/com.luck.picture.lib.basic.PictureSelectorTransparentActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.luck.picture.lib.style.SelectMainStyle com.luck.picture.lib.style.PictureSelectorStyle.getSelectMainStyle()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4272)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4474)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:93)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2696)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:228)
at android.app.ActivityThread.main(ActivityThread.java:9016)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:614)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1129)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.luck.picture.lib.style.SelectMainStyle com.luck.picture.lib.style.PictureSelectorStyle.getSelectMainStyle()' on a null object reference
at com.luck.picture.lib.basic.PictureSelectorTransparentActivity.immersive(PictureSelectorTransparentActivity.java:40)
at com.luck.picture.lib.basic.PictureSelectorTransparentActivity.onCreate(PictureSelectorTransparentActivity.java:33)
at android.app.Activity.performCreate(Activity.java:8400)
at android.app.Activity.performCreate(Activity.java:8380)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1323)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4243)
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Bundle.getBoolean(java.lang.String, boolean)' on a null object reference
at com.luck.lib.camerax.CustomCameraView.setCameraConfig(CustomCameraView.java:472)
at com.luck.lib.camerax.PictureCameraActivity$1.run(PictureCameraActivity.java:59)
at android.os.Handler.handleCallback(Handler.java:955)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:228)
at android.app.ActivityThread.main(ActivityThread.java:9016)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:614)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1129)
Android 11 | HUAWEI NAM-AL00 | V1.0
The text was updated successfully, but these errors were encountered:
Current use version?
v3.0.5
Will this problem occur in demo?
####不能
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zhongcai.xiaofeng/com.luck.picture.lib.basic.PictureSelectorTransparentActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.luck.picture.lib.style.SelectMainStyle com.luck.picture.lib.style.PictureSelectorStyle.getSelectMainStyle()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4272)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4474)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:93)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2696)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:228)
at android.app.ActivityThread.main(ActivityThread.java:9016)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:614)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1129)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.luck.picture.lib.style.SelectMainStyle com.luck.picture.lib.style.PictureSelectorStyle.getSelectMainStyle()' on a null object reference
at com.luck.picture.lib.basic.PictureSelectorTransparentActivity.immersive(PictureSelectorTransparentActivity.java:40)
at com.luck.picture.lib.basic.PictureSelectorTransparentActivity.onCreate(PictureSelectorTransparentActivity.java:33)
at android.app.Activity.performCreate(Activity.java:8400)
at android.app.Activity.performCreate(Activity.java:8380)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1323)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4243)
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Bundle.getBoolean(java.lang.String, boolean)' on a null object reference
at com.luck.lib.camerax.CustomCameraView.setCameraConfig(CustomCameraView.java:472)
at com.luck.lib.camerax.PictureCameraActivity$1.run(PictureCameraActivity.java:59)
at android.os.Handler.handleCallback(Handler.java:955)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:228)
at android.app.ActivityThread.main(ActivityThread.java:9016)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:614)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1129)
Android 11 | HUAWEI NAM-AL00 | V1.0
The text was updated successfully, but these errors were encountered: