LuckSiege / LuckSiege/PictureSelector
使用系统相册,选择云相册图片 LocalMedia.generateLocalMedia
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Current use version?
#### 当前使用的版本是多少?
v3.11.2
```
```
## Will this problem occur in demo?
#### Demo能否复现这问题?
可以
```
```
## Describe the problem or provide an error log?
#### 描述问题或提供错误log?
作者你好:感谢您开源该sdk,目前我集成这个sdk到pixel 7中发现以下问题。
操作步骤如下:
使用系统相册----选择云相册图片---进入裁剪界面会出现以下报错. 具体信息如下
Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1316104895, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/... flg=0x1 clip={text/uri-list {U(content)}} }} to activity {com.chervon.connect.na/com.luck.picture.lib.basic.PictureSelectorTransparentActivity}: java.lang.NullPointerException
at android.app.ActivityThread.deliverResults(ActivityThread.java:6020)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:6059)
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:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2584)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8810)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the crash on a Pixel 7 using the system album to select a cloud photo and enter the crop screen. Start at LocalMedia.generateLocalMedia and trace the Google Photos content URI handling; done means the cloud image reaches cropping without the reported NullPointerException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100