java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at androidx.fragment.app.j.x(SourceFile) at androidx.fragment.app.j.m0(SourceFile) at androidx.fragment.app.a.v(SourceFile) at androidx.fragment.app.a.h(SourceFile) at com.entitcs.office_attendance.CRM.InvoiceReport.g0(SourceFile) at com.entitcs.office_attendance.CRM.InvoiceReport.h0(SourceFile) at com.entitcs.office_attendance.CRM.sa.onClick(SourceFile) at android.view.View.performClick(View.java:5207) at android.view.View$PerformClick.run(View.java:21177) at android.os.Handler.handleCallback(Handler.java:742) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:5527) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)