Any idea what might cause this issue?

Hi.

We are getting this stack trace from many different users and devices
java.lang.RuntimeException:
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:5255)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:5206)
at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:5157)
at android.app.servertransaction.PauseActivityItem.execute (PauseActivityItem.java:46)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2325)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8633)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Caused by: java.lang.IllegalArgumentException:
at android.app.LoadedApk.forgetReceiverDispatcher (LoadedApk.java:1523)
at android.app.ContextImpl.unregisterReceiver (ContextImpl.java:1712)
at android.content.ContextWrapper.unregisterReceiver (ContextWrapper.java:733)
at com.google.appinventor.components.runtime.NiotronNetworkTools.onPause (SourceFile:69)
at com.google.appinventor.components.runtime.Form.onPause (SourceFile:784)
at android.app.Activity.performPause (Activity.java:8392)
at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1510)
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:5245)

Any idea what might be the reason ?

Will you please share some of the suspected blocks

Have you used this block or any other block of network tools component?

Yes we did used it

Can you show the blocks

1

Hi. Sorry for the late response. We used call network_tools is connected only on the screens ErrorOccurred. Haven’t used the other blocks, like When NetworkDisconnected

No problem, you are just 4 months late. But anyway, is the error still there?
If it exists, try to remove the network tools component from all screen blocks.

Yes, error is still there.

Is this ideal to remove it ? Because only way to know if the error will be fixed, is once new version is live in Google Play. This issue isn’t happening on our test devices

Anyway we will remove it and test. Will let you know here if this solved the issue, hopefully soon.