1 java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=0, data=null} to activity {com.a1010digital.android.lolodryadmin/com.a1010digital.android.lolodryadmin.home.mobile.mHomeActivity}: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter data
2 at android.app.ActivityThread.deliverResults(ActivityThread.java:3839)
3 at android.app.ActivityThread.handleSendResult(ActivityThread.java:3882)
4 at android.app.ActivityThread.access$1300(ActivityThread.java:178)
5 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1519)
6 at android.os.Handler.dispatchMessage(Handler.java:111)
7 at android.os.Looper.loop(Looper.java:194)
8 at android.app.ActivityThread.main(ActivityThread.java:5637)
9 at java.lang.reflect.Method.invoke(Native Method)
10 at java.lang.reflect.Method.invoke(Method.java:372)
11 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
12 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
13 Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter data
14
15
16 How to resolve?, simply try to change from
17 public override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent)
18
19 to
20
21 public override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?)
22
23 cheer's

Comments (0)