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

使用的系统相册,线上崩溃次数挺多 #2940

Open
xhh1993 opened this issue Oct 18, 2024 · 0 comments
Open

使用的系统相册,线上崩溃次数挺多 #2940

xhh1993 opened this issue Oct 18, 2024 · 0 comments

Comments

@xhh1993
Copy link

xhh1993 commented Oct 18, 2024

Current use version?

当前使用的版本是多少?

v3.11.2

Will this problem occur in demo?

Demo能否复现这问题?

不能,但是线上挺多

Describe the problem or provide an error log?

描述问题或提供错误log?

      Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=537568346, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/... flg=0x1 clip={text/uri-list {U(content)}} }} to activity {com.ylhl.soulchat/com.ylhl.soulchat.business.dynamic.ui.activity.DynamicPublishActivity}: java.lang.NullPointerException
       at android.app.ActivityThread.deliverResults(ActivityThread.java:5503)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:5542)
       at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:67)
       at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:137)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2423)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:8115)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:703)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
       
        Caused by java.lang.NullPointerException:
       at java.io.File.<init>(File.java:288)
       at com.luck.picture.lib.entity.LocalMedia.generateLocalMedia(LocalMedia.java:336)
       at com.luck.picture.lib.basic.PictureCommonFragment.buildLocalMedia(PictureCommonFragment.java:1260)
       at com.luck.picture.lib.PictureSelectorSystemFragment.access$600(PictureSelectorSystemFragment.java:40)
       at com.luck.picture.lib.PictureSelectorSystemFragment$8.onActivityResult(PictureSelectorSystemFragment.java:292)
       at com.luck.picture.lib.PictureSelectorSystemFragment$8.onActivityResult(PictureSelectorSystemFragment.java:285)
       at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:418)
       at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:375)
       at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:777)
       at androidx.fragment.app.FragmentActivity.onActivityResult(FragmentActivity.java:164)
       at android.app.Activity.dispatchActivityResult(Activity.java:8693)
       at android.app.ActivityThread.deliverResults(ActivityThread.java:5496)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:5542)
       at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:67)
       at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:137)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2423)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:8115)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:703)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
        

使用的系统相册打开,线上崩溃次数挺多

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