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

com.github.dhaval2404.imagepicker.provider.CropProvider.<init>(CropProvider.kt:45) #110

Closed
hasansidd opened this issue Aug 11, 2020 · 1 comment
Milestone

Comments

@hasansidd
Copy link

I am seeing a few of these pop up on my crashlytics. I see the user is using xposed, but don't have much data on what they are doing to cause this. Looks like activity.intent.extras is being force unwrapped, would it be possible to gracefully fail if it is null?

Caused by kotlin.KotlinNullPointerException
at com.github.dhaval2404.imagepicker.provider.CropProvider.(CropProvider.kt:45)
at com.github.dhaval2404.imagepicker.ImagePickerActivity.loadBundle(ImagePickerActivity.kt:83)
at com.github.dhaval2404.imagepicker.ImagePickerActivity.onCreate(ImagePickerActivity.kt:56)
at android.app.Activity.performCreate(Activity.java:6679)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)

@Dhaval2404 Dhaval2404 added this to the v1.8 milestone Dec 18, 2020
Dhaval2404 added a commit that referenced this issue Dec 18, 2020
Added bundle default value when value is null

#110
@Dhaval2404
Copy link
Owner

Duplicate of #122

@Dhaval2404 Dhaval2404 marked this as a duplicate of #122 Dec 21, 2020
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

2 participants