java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Xie, XiaolongX,
  • 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}
    via by Xie, XiaolongX,
  • [Android] reload js crash
    via GitHub by skv-headless
    ,
    • 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 at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3102) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3057) at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3035) at android.app.ActivityThread.access$1000(ActivityThread.java:138) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:149) at android.app.ActivityThread.main(ActivityThread.java:5061) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IllegalArgumentException: Receiver not registered: org.xwalk.core.internal.extension.api.wifidirect.WifiDirect$5@22039428 at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:667) at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1520) at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:490) at org.xwalk.core.internal.extension.api.wifidirect.WifiDirect.onActivityStateChange(WifiDirect.java:352) at org.xwalk.core.internal.extension.XWalkExtensionWithActivityStateListener$XWalkActivityStateListener.onActivityStateChange(XWalkExtensionWithActivityStateListener.java:33) at org.chromium.base.ApplicationStatus.onStateChange(ApplicationStatus.java:206) at org.chromium.base.ApplicationStatus.access$100(ApplicationStatus.java:27) at org.chromium.base.ApplicationStatus$2.onActivityPaused(ApplicationStatus.java:147) at android.app.Application.dispatchActivityPaused(Application.java:217) at android.app.Activity.onPause(Activity.java:1353) at org.xwalk.app.XWalkRuntimeActivityBase.onPause(XWalkRuntimeActivityBase.java:77) at android.app.Activity.performPause(Activity.java:5491) at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1233) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3088) ... 12 more

    Users with the same issue

    Unknown visitor1 times, last one,
    jk
    1 times, last one,
    danleyb2Interintel
    1 times, last one,
    Ranjana Dangol
    2 times, last one,
    Unknown visitor2 times, last one,
    28 more bugmates