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

ImageSelectorActivity空指针崩溃 #77

Open
xiaosw opened this issue May 16, 2023 · 0 comments
Open

ImageSelectorActivity空指针崩溃 #77

xiaosw opened this issue May 16, 2023 · 0 comments

Comments

@xiaosw
Copy link

xiaosw commented May 16, 2023

机型:Oppo
ROM:Oppo/COLOROS
系统版本:Anroid 11
sdk版本:1.9.3

java.lang.NullPointerException:Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference
com.donkingliang.imageselector.utils.UriUtils.getPathForUri(UriUtils.java:28)
com.donkingliang.imageselector.ImageSelectorActivity.onActivityResult(ImageSelectorActivity.java:9)
android.app.Activity.dispatchActivityResult(Activity.java:8464)
android.app.ActivityThread.deliverResults(ActivityThread.java:5388)
android.app.ActivityThread.performResumeActivity(ActivityThread.java:4757)
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4816)
android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:187)
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:102)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2316)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loop(Looper.java:263)
android.app.ActivityThread.main(ActivityThread.java:8288)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)

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