Android Cannot pause. Recipient not registered

What is the reason for this error:

java.lang.RuntimeException: Unable to pause activity { com.test/com.test.activities.MyActivity}: java.lang.IllegalArgumentException: Receiver not registered: android.widget.VideoView$EventReceiver@98976 at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2354)  at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2311)  at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2291)  at android.app.ActivityThread.access$1700(ActivityThread.java:117)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:942)  at android.os.Handler.dispatchMessage(Handler.java:99)  at android.os.Looper.loop(Looper.java:130)  at android.app.ActivityThread.main(ActivityThread.java:3683)  at java.lang.reflect.Method.invokeNative(Native Method)  at java.lang.reflect.Method.invoke(Method.java:507)  at com.android.internal.os.ZygoteInit$MethodAndArgโ€ฆ 
+4
source share
1 answer

Is your activity connected to the service? If so, make sure you are not disconnected from the service twice.

I had a similar problem when my activity required binding and decoupling, when it was started / paused. Called too many times on pause and error.

Hope this helps

+1
source

All Articles