You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting following crash in onActivityResult function, not able to reproduce it but affecting lots of user on production.
Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1776018257, result=0, data=Intent { (has extras) }} to activity {com.vlv.aravali.reels/com.vlv.aravali.login.LoginActivity}: java.lang.RuntimeException: Please call init() on TcSdk first at android.app.ActivityThread.deliverResults(ActivityThread.java:4458) at android.app.ActivityThread.handleSendResult(ActivityThread.java:4500) at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6861) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
I am getting following crash in onActivityResult function, not able to reproduce it but affecting lots of user on production.
Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1776018257, result=0, data=Intent { (has extras) }} to activity {com.vlv.aravali.reels/com.vlv.aravali.login.LoginActivity}: java.lang.RuntimeException: Please call init() on TcSdk first at android.app.ActivityThread.deliverResults(ActivityThread.java:4458) at android.app.ActivityThread.handleSendResult(ActivityThread.java:4500) at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6861) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
This is the code of onActivityResult
`override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data)
How can I avoid it, I have added this check if (TcSdk.getInstance() != null) {} right now to avoid it
Is there any other way to resolve it.
Please help. Thanks in advance
The text was updated successfully, but these errors were encountered: