08-13 13:10:54.743 1883 1883 E AndroidRuntime: java.lang.RuntimeException: Unable to destroy activity {com.clover.payment.builder.pay/com.clover.payment.builder.pay.activities.PayActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' on a null object reference 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4204) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4222) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.ActivityThread.-wrap6(ActivityThread.java) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1539) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6121) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' on a null object reference 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.DialogFragment.dismissInternal(DialogFragment.java:296) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.DialogFragment.dismissAllowingStateLoss(DialogFragment.java:277) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.clover.payment.common.securepay.PaymentUiMessageRequestDialogView.hide(PaymentUiMessageRequestDialogView.java:110) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.clover.payment.builder.pay.activities.PayActivity.onStateChanged(PayActivity.java:2567) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.clover.payment.common.securepay.SecurePayServiceManager.fireOnStateChanged(SecurePayServiceManager.java:742) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.clover.payment.common.securepay.SecurePayServiceManager.setState(SecurePayServiceManager.java:205) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.clover.payment.common.securepay.SecurePayServiceManager.stop(SecurePayServiceManager.java:267) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.clover.payment.common.securepay.SecurePayServiceManager.destroy(SecurePayServiceManager.java:290) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.clover.payment.common.activities.AbstractPaymentActivity.onDestroy(AbstractPaymentActivity.java:322) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at com.clover.payment.builder.pay.activities.PayActivity.onDestroy(PayActivity.java:345) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.Activity.performDestroy(Activity.java:6935) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1155) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4191) 08-13 13:10:54.743 1883 1883 E AndroidRuntime: ... 9 more