SourceFile - com.google.appinventor.components.runtime.NiotronNetworkTools.onPause

my app exceeds the Android vitals bad behavior threshold. my 28-day user-perceived crash rate exceeds the device bad behavior threshold of 9.0% on 1 device model affecting 5% of installs

these are the error in NiotronNetworkTools

Exception java.lang.RuntimeException:
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4843)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4794)
at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4746)
at android.app.servertransaction.PauseActivityItem.execute (PauseActivityItem.java:46)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:181)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:102)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2230)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:7824)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1027)
Caused by java.lang.IllegalArgumentException:
at android.app.LoadedApk.forgetReceiverDispatcher (LoadedApk.java:1489)
at android.app.ContextImpl.unregisterReceiver (ContextImpl.java:1571)
at android.content.ContextWrapper.unregisterReceiver (ContextWrapper.java:675)
at com.google.appinventor.components.runtime.NiotronNetworkTools.onPause (SourceFile:67)
at com.google.appinventor.components.runtime.Form.onPause (SourceFile:798)
at android.app.Activity.performPause (Activity.java:8188)
at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1507)
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4833)

same probleme here

1 Like

@Abhishek_Sharma1 please share some error screenshot, your block code image and can you provide any screen recording.

the error in NiotronNetworkTools. It is showing in playconsole.
SourceFile - com.google.appinventor.components.runtime.NiotronNetworkTools.onPause

Exception java.lang.RuntimeException:
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4845)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4796)
at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4748)
at android.app.servertransaction.PauseActivityItem.execute (PauseActivityItem.java:46)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:181)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:102)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2239)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:227)
at android.app.ActivityThread.main (ActivityThread.java:7822)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1026)
Caused by java.lang.IllegalArgumentException:
at android.app.LoadedApk.forgetReceiverDispatcher (LoadedApk.java:1471)
at android.app.ContextImpl.unregisterReceiver (ContextImpl.java:1571)
at android.content.ContextWrapper.unregisterReceiver (ContextWrapper.java:675)
at com.google.appinventor.components.runtime.NiotronNetworkTools.onPause (SourceFile:67)
at com.google.appinventor.components.runtime.Form.onPause (SourceFile:798)
at android.app.Activity.performPause (Activity.java:8177)
at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1507)
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4835)

please this issue

  • java.lang.IllegalArgumentException

@Fagnu_Sahu Please wait for a while let me confirm this error and then I can help you better

1 Like

@Fagnu_Sahu I have sent this, and I think there is an error that will be resolved soon.