java.lang.RuntimeException: Unable to pause activity {org.xwalk.usecase_webapi_xwalk_tests/org.xwalk.usecase_webapi_xwalk_tests.UsecaseWebapiXwalkTestsActivity}: java.lang.IllegalArgumentException: Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428

JIRA | Xie, XiaolongX | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Impacted Cases ============== webapi usecase/Experimental API/WifiDirect Reproduce Test Steps ==================== 1. Download and install usecase_webapi_xwalk_tests.apk (download address please refer to the comment) 2. Launch the usecase_webapi_xwalk_tests.apk 3. Tap "Expermental API" -> Tap "WifiDirect" -> Tap "Back" button -> Tap "WifiDirect" again 5. Pull down the quick setting, and then tap "Setting" icon, check the behavior Expected Outcome ================ Able to enter into Settings app, no crash Actual Outcome ============== App crash occurs Test Builds =========== ||PackageVersion||Test Date|| Test Device || Result|| |crosswalk 18.46.453.0|2015.12.16| Memo Pad8 | {color:red}FAIL{color} | Issue Analysis ============== {code} E/AndroidRuntime(16112): FATAL EXCEPTION: main E/AndroidRuntime(16112): Process: org.xwalk.usecase_webapi_xwalk_tests, PID: 16112 E/AndroidRuntime(16112): java.lang.RuntimeException: Unable to pause activity {org.xwalk.usecase_webapi_xwalk_tests/org.xwalk.usecase_webapi_xwalk_tests.UsecaseWebapiXwalkTestsActivity}: java.lang.IllegalArgumentException: Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428 E/AndroidRuntime(16112): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3102) E/AndroidRuntime(16112): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3057) E/AndroidRuntime(16112): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3035) E/AndroidRuntime(16112): at android.app.ActivityThread.access$1000(ActivityThread.java:138) E/AndroidRuntime(16112): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) E/AndroidRuntime(16112): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(16112): at android.os.Looper.loop(Looper.java:149) E/AndroidRuntime(16112): at android.app.ActivityThread.main(ActivityThread.java:5061) E/AndroidRuntime(16112): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(16112): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(16112): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788) E/AndroidRuntime(16112): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604) E/AndroidRuntime(16112): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(16112): Caused by: java.lang.IllegalArgumentException: Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428 E/AndroidRuntime(16112): at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:667) E/AndroidRuntime(16112): at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1520) E/AndroidRuntime(16112): at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:490) E/AndroidRuntime(16112): at org.xwalk.core.internal.extension.api.wifidirect.WifiDirect.onActivityStateChange(WifiDirect.java:352) E/AndroidRuntime(16112): at org.xwalk.core.internal.extension.XWalkExtensionWithActivityStateListener$XWalkActivityStateListener.onActivityStateChange(XWalkExtensionWithActivityStateListener.java:33) E/AndroidRuntime(16112): at org.chromium.base.ApplicationStatus.onStateChange(ApplicationStatus.java:206) E/AndroidRuntime(16112): at org.chromium.base.ApplicationStatus.access$100(ApplicationStatus.java:27) E/AndroidRuntime(16112): at org.chromium.base.ApplicationStatus$2.onActivityPaused(ApplicationStatus.java:147) E/AndroidRuntime(16112): at android.app.Application.dispatchActivityPaused(Application.java:217) E/AndroidRuntime(16112): at android.app.Activity.onPause(Activity.java:1353) E/AndroidRuntime(16112): at org.xwalk.app.XWalkRuntimeActivityBase.onPause(XWalkRuntimeActivityBase.java:77) E/AndroidRuntime(16112): at android.app.Activity.performPause(Activity.java:5491) E/AndroidRuntime(16112): at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1233) E/AndroidRuntime(16112): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3088) E/AndroidRuntime(16112): ... 12 more {code}

    JIRA | 1 year ago | Xie, XiaolongX
    java.lang.RuntimeException: Unable to pause activity {org.xwalk.usecase_webapi_xwalk_tests/org.xwalk.usecase_webapi_xwalk_tests.UsecaseWebapiXwalkTestsActivity}: java.lang.IllegalArgumentException: Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428
  2. 0

    Impacted Cases ============== webapi usecase/Experimental API/WifiDirect Reproduce Test Steps ==================== 1. Download and install usecase_webapi_xwalk_tests.apk (download address please refer to the comment) 2. Launch the usecase_webapi_xwalk_tests.apk 3. Tap "Expermental API" -> Tap "WifiDirect" -> Tap "Back" button -> Tap "WifiDirect" again 5. Pull down the quick setting, and then tap "Setting" icon, check the behavior Expected Outcome ================ Able to enter into Settings app, no crash Actual Outcome ============== App crash occurs Test Builds =========== ||PackageVersion||Test Date|| Test Device || Result|| |crosswalk 18.46.453.0|2015.12.16| Memo Pad8 | {color:red}FAIL{color} | Issue Analysis ============== {code} E/AndroidRuntime(16112): FATAL EXCEPTION: main E/AndroidRuntime(16112): Process: org.xwalk.usecase_webapi_xwalk_tests, PID: 16112 E/AndroidRuntime(16112): java.lang.RuntimeException: Unable to pause activity {org.xwalk.usecase_webapi_xwalk_tests/org.xwalk.usecase_webapi_xwalk_tests.UsecaseWebapiXwalkTestsActivity}: java.lang.IllegalArgumentException: Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428 E/AndroidRuntime(16112): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3102) E/AndroidRuntime(16112): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3057) E/AndroidRuntime(16112): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3035) E/AndroidRuntime(16112): at android.app.ActivityThread.access$1000(ActivityThread.java:138) E/AndroidRuntime(16112): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) E/AndroidRuntime(16112): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(16112): at android.os.Looper.loop(Looper.java:149) E/AndroidRuntime(16112): at android.app.ActivityThread.main(ActivityThread.java:5061) E/AndroidRuntime(16112): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(16112): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(16112): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788) E/AndroidRuntime(16112): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604) E/AndroidRuntime(16112): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(16112): Caused by: java.lang.IllegalArgumentException: Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428 E/AndroidRuntime(16112): at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:667) E/AndroidRuntime(16112): at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1520) E/AndroidRuntime(16112): at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:490) E/AndroidRuntime(16112): at org.xwalk.core.internal.extension.api.wifidirect.WifiDirect.onActivityStateChange(WifiDirect.java:352) E/AndroidRuntime(16112): at org.xwalk.core.internal.extension.XWalkExtensionWithActivityStateListener$XWalkActivityStateListener.onActivityStateChange(XWalkExtensionWithActivityStateListener.java:33) E/AndroidRuntime(16112): at org.chromium.base.ApplicationStatus.onStateChange(ApplicationStatus.java:206) E/AndroidRuntime(16112): at org.chromium.base.ApplicationStatus.access$100(ApplicationStatus.java:27) E/AndroidRuntime(16112): at org.chromium.base.ApplicationStatus$2.onActivityPaused(ApplicationStatus.java:147) E/AndroidRuntime(16112): at android.app.Application.dispatchActivityPaused(Application.java:217) E/AndroidRuntime(16112): at android.app.Activity.onPause(Activity.java:1353) E/AndroidRuntime(16112): at org.xwalk.app.XWalkRuntimeActivityBase.onPause(XWalkRuntimeActivityBase.java:77) E/AndroidRuntime(16112): at android.app.Activity.performPause(Activity.java:5491) E/AndroidRuntime(16112): at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1233) E/AndroidRuntime(16112): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3088) E/AndroidRuntime(16112): ... 12 more {code}

    JIRA | 1 year ago | Xie, XiaolongX
    java.lang.RuntimeException: Unable to pause activity {org.xwalk.usecase_webapi_xwalk_tests/org.xwalk.usecase_webapi_xwalk_tests.UsecaseWebapiXwalkTestsActivity}: java.lang.IllegalArgumentException: Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428
  3. 0

    [Android] reload js crash

    GitHub | 1 year ago | skv-headless
    java.lang.IllegalArgumentException: Receiver not registered: com.github.yamill.orientation.OrientationModule$1@2443df15
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Android] Crash on purchase in Google Play (app has stopped)

    GitHub | 3 years ago | LiTsungYi
    java.lang.RuntimeException: Unable to stop activity {com.maxon.vega/org.onepf.openiab.UnityProxyActivity}: java.lang.IllegalArgumentException: Receiver not registered: org.onepf.openiab.UnityProxyActivity$1@41f64300
  6. 0

    java.lang.IllegalArgumentException: Receiver not registered: es.ugr.swad.swadroid.modules.notifications.Notifications$SyncReceiver@4201a480

    GitHub | 3 years ago | Amab
    java.lang.RuntimeException: Unable to stop activity {es.ugr.swad.swadroid/es.ugr.swad.swadroid.modules.notifications.Notifications}: java.lang.IllegalArgumentException: Receiver not registered: es.ugr.swad.swadroid.modules.notifications.Notifications$SyncReceiver@4201a480
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428

    at android.app.LoadedApk.forgetReceiverDispatcher()
  2. Android Platform
    ContextWrapper.unregisterReceiver
    1. android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:667)
    2. android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1520)
    3. android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:490)
    3 frames
  3. org.xwalk.core
    XWalkExtensionWithActivityStateListener$XWalkActivityStateListener.onActivityStateChange
    1. org.xwalk.core.internal.extension.api.wifidirect.WifiDirect.onActivityStateChange(WifiDirect.java:352)
    2. org.xwalk.core.internal.extension.XWalkExtensionWithActivityStateListener$XWalkActivityStateListener.onActivityStateChange(XWalkExtensionWithActivityStateListener.java:33)
    2 frames
  4. org.chromium.base
    ApplicationStatus$2.onActivityPaused
    1. org.chromium.base.ApplicationStatus.onStateChange(ApplicationStatus.java:206)
    2. org.chromium.base.ApplicationStatus.access$100(ApplicationStatus.java:27)
    3. org.chromium.base.ApplicationStatus$2.onActivityPaused(ApplicationStatus.java:147)
    3 frames
  5. Android Platform
    Activity.onPause
    1. android.app.Application.dispatchActivityPaused(Application.java:217)
    2. android.app.Activity.onPause(Activity.java:1353)
    2 frames
  6. org.xwalk.app
    XWalkRuntimeActivityBase.onPause
    1. org.xwalk.app.XWalkRuntimeActivityBase.onPause(XWalkRuntimeActivityBase.java:77)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.app.Activity.performPause(Activity.java:5491)
    2. android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1233)
    3. android.app.ActivityThread.performPauseActivity(ActivityThread.java:3088)
    4. android.app.ActivityThread.performPauseActivity(ActivityThread.java:3057)
    5. android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3035)
    6. android.app.ActivityThread.access$1000(ActivityThread.java:138)
    7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
    8. android.os.Handler.dispatchMessage(Handler.java:102)
    9. android.os.Looper.loop(Looper.java:149)
    10. android.app.ActivityThread.main(ActivityThread.java:5061)
    10 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604)
    2 frames
  10. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame