java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.entitcs.office_attendance/com.entitcs.office_attendance.activities.Forgot_TimeKompas_PinNumber}: java.lang.IllegalArgumentException: No suitable parent found from the given view. Please provide a valid view. at android.app.ActivityThread.deliverResults(ActivityThread.java:4547) at android.app.ActivityThread.handleSendResult(ActivityThread.java:4590) at android.app.ActivityThread.-wrap20(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1772) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:232) at android.app.ActivityThread.main(ActivityThread.java:6806) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1103) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964) Caused by: java.lang.IllegalArgumentException: No suitable parent found from the given view. Please provide a valid view. at com.google.android.material.snackbar.Snackbar.w(SourceFile) at com.entitcs.office_attendance.activities.Forgot_TimeKompas_PinNumber.E(SourceFile) at com.entitcs.office_attendance.activities.Forgot_TimeKompas_PinNumber.onActivityResult(SourceFile) at android.app.Activity.dispatchActivityResult(Activity.java:7234) at android.app.ActivityThread.deliverResults(ActivityThread.java:4543) ... 9 more