LuckSiege / LuckSiege/PictureSelector

最近线上监测到的问题

Open
#2,123 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

java.lang.RuntimeException:Unable to resume activity {com.xx.xxx/com.luck.picture.lib.PictureSelectorCameraEmptyActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=69, result=-1, data=Intent { (has extras) }} to activity {com.xx.xxx/com.luck.picture.lib.PictureSelectorCameraEmptyActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.lastIndexOf(java.lang.String)

系统版本
Android 10,level 29
Oppo/COLOROS

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the crash on Android 10/API 29 with the reported Oppo/COLOROS environment, then trace the result handling in PictureSelectorCameraEmptyActivity from the supplied stack trace. The issue does not name a source file or test; done means identifying the failing lastIndexOf call and confirming that the camera result no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.