android.app.IntentReceiverLeaked: Activity com.example.hello.hello has leaked IntentReceiver org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager$4@418fc7d0 that was originally registered here. Are you missing a call to unregisterReceiver()?

JIRA | Gao Chun | 3 years 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

    When tapping back key to exit cordova app, the following error message show while exiting the cordova app 09-22 17:25:15.070: D/CordovaActivity(24743): CordovaActivity.onDestroy() 09-22 17:25:15.070: D/CordovaWebView(24743): >>> loadUrlNow() 09-22 17:25:15.090: D/dalvikvm(24743): GC_CONCURRENT freed 424K, 5% free 9074K/9532K, paused 2ms+2ms, total 20ms 09-22 17:25:15.100: W/ScreenOrientationListener(24743): Removing an inexistent observer! 09-22 17:25:15.120: E/ActivityThread(24743): Activity com.example.hello.hello has leaked IntentReceiver org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager$4@418fc7d0 that was originally registered here. Are you missing a call to unregisterReceiver()? 09-22 17:25:15.120: E/ActivityThread(24743): android.app.IntentReceiverLeaked: Activity com.example.hello.hello has leaked IntentReceiver org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager$4@418fc7d0 that was originally registered here. Are you missing a call to unregisterReceiver()? 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:795) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:596) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1316) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1296) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1290) 09-22 17:25:15.120: E/ActivityThread(24743): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:423) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager.registerIntentFilters(MessagingSmsManager.java:338) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.extension.api.messaging.Messaging.<init>(Messaging.java:106) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.extension.BuiltinXWalkExtensions.load(BuiltinXWalkExtensions.java:86) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:363) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.XWalkViewInternal.init(XWalkViewInternal.java:335) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.XWalkViewInternal.<init>(XWalkViewInternal.java:211) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.XWalkViewBridge.<init>(XWalkViewBridge.java:49) 09-22 17:25:15.120: E/ActivityThread(24743): at java.lang.reflect.Constructor.constructNative(Native Method) 09-22 17:25:15.120: E/ActivityThread(24743): at java.lang.reflect.Constructor.newInstance(Constructor.java:417) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.ReflectionHelper.createInstance(ReflectionHelper.java:226) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.XWalkView.<init>(XWalkView.java:185) 09-22 17:25:15.120: E/ActivityThread(24743): at org.apache.cordova.CordovaWebView.<init>(CordovaWebView.java:139) 09-22 17:25:15.120: E/ActivityThread(24743): at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:301) 09-22 17:25:15.120: E/ActivityThread(24743): at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:336) 09-22 17:25:15.120: E/ActivityThread(24743): at com.example.hello.hello.onCreate(hello.java:31) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.Activity.performCreate(Activity.java:5104) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread.access$600(ActivityThread.java:141) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 09-22 17:25:15.120: E/ActivityThread(24743): at android.os.Handler.dispatchMessage(Handler.java:99) 09-22 17:25:15.120: E/ActivityThread(24743): at android.os.Looper.loop(Looper.java:137) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread.main(ActivityThread.java:5041) 09-22 17:25:15.120: E/ActivityThread(24743): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:25:15.120: E/ActivityThread(24743): at java.lang.reflect.Method.invoke(Method.java:511) 09-22 17:25:15.120: E/ActivityThread(24743): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 09-22 17:25:15.120: E/ActivityThread(24743): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 09-22 17:25:15.120: E/ActivityThread(24743): at dalvik.system.NativeStart.main(Native Method)

    JIRA | 3 years ago | Gao Chun
    android.app.IntentReceiverLeaked: Activity com.example.hello.hello has leaked IntentReceiver org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager$4@418fc7d0 that was originally registered here. Are you missing a call to unregisterReceiver()?
  2. 0

    When tapping back key to exit cordova app, the following error message show while exiting the cordova app 09-22 17:25:15.070: D/CordovaActivity(24743): CordovaActivity.onDestroy() 09-22 17:25:15.070: D/CordovaWebView(24743): >>> loadUrlNow() 09-22 17:25:15.090: D/dalvikvm(24743): GC_CONCURRENT freed 424K, 5% free 9074K/9532K, paused 2ms+2ms, total 20ms 09-22 17:25:15.100: W/ScreenOrientationListener(24743): Removing an inexistent observer! 09-22 17:25:15.120: E/ActivityThread(24743): Activity com.example.hello.hello has leaked IntentReceiver org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager$4@418fc7d0 that was originally registered here. Are you missing a call to unregisterReceiver()? 09-22 17:25:15.120: E/ActivityThread(24743): android.app.IntentReceiverLeaked: Activity com.example.hello.hello has leaked IntentReceiver org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager$4@418fc7d0 that was originally registered here. Are you missing a call to unregisterReceiver()? 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:795) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:596) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1316) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1296) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1290) 09-22 17:25:15.120: E/ActivityThread(24743): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:423) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager.registerIntentFilters(MessagingSmsManager.java:338) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.extension.api.messaging.Messaging.<init>(Messaging.java:106) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.extension.BuiltinXWalkExtensions.load(BuiltinXWalkExtensions.java:86) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:363) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.XWalkViewInternal.init(XWalkViewInternal.java:335) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.XWalkViewInternal.<init>(XWalkViewInternal.java:211) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.internal.XWalkViewBridge.<init>(XWalkViewBridge.java:49) 09-22 17:25:15.120: E/ActivityThread(24743): at java.lang.reflect.Constructor.constructNative(Native Method) 09-22 17:25:15.120: E/ActivityThread(24743): at java.lang.reflect.Constructor.newInstance(Constructor.java:417) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.ReflectionHelper.createInstance(ReflectionHelper.java:226) 09-22 17:25:15.120: E/ActivityThread(24743): at org.xwalk.core.XWalkView.<init>(XWalkView.java:185) 09-22 17:25:15.120: E/ActivityThread(24743): at org.apache.cordova.CordovaWebView.<init>(CordovaWebView.java:139) 09-22 17:25:15.120: E/ActivityThread(24743): at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:301) 09-22 17:25:15.120: E/ActivityThread(24743): at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:336) 09-22 17:25:15.120: E/ActivityThread(24743): at com.example.hello.hello.onCreate(hello.java:31) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.Activity.performCreate(Activity.java:5104) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread.access$600(ActivityThread.java:141) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 09-22 17:25:15.120: E/ActivityThread(24743): at android.os.Handler.dispatchMessage(Handler.java:99) 09-22 17:25:15.120: E/ActivityThread(24743): at android.os.Looper.loop(Looper.java:137) 09-22 17:25:15.120: E/ActivityThread(24743): at android.app.ActivityThread.main(ActivityThread.java:5041) 09-22 17:25:15.120: E/ActivityThread(24743): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:25:15.120: E/ActivityThread(24743): at java.lang.reflect.Method.invoke(Method.java:511) 09-22 17:25:15.120: E/ActivityThread(24743): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 09-22 17:25:15.120: E/ActivityThread(24743): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 09-22 17:25:15.120: E/ActivityThread(24743): at dalvik.system.NativeStart.main(Native Method)

    JIRA | 3 years ago | Gao Chun
    android.app.IntentReceiverLeaked: Activity com.example.hello.hello has leaked IntentReceiver org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager$4@418fc7d0 that was originally registered here. Are you missing a call to unregisterReceiver()?
  3. 0

    leaked intentreceiver on bluetooth

    Stack Overflow | 2 years ago
    android.app.IntentReceiverLeaked: Activity android.view.ext.Bluetooth has leaked IntentReceiver android.view.ext.Bluetooth$1@41629900 that was originally registered here. Are you missing a call to unregisterReceiver()?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App force closing when turning screen off

    sohu.io | 2 years ago
    android.app.IntentReceiverLeaked: Activity com.doublep.evolution.LauncherActivity has leaked IntentReceiver com.doublep.evolution.LauncherActivity$4@42858a78 that was originally registered here. Are you missing a call to unregisterReceiver()?
  6. 0

    Null Pointer Exception

    Stack Overflow | 4 years ago | user1888162
    android.app.IntentReceiverLeaked: Activity com.example.bluetoothc.settings has leaked IntentReceiver com.example.bluetoothc.settings$2@4151ecb8 that was originally registered here. Are you missing a call to unregisterReceiver()?
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. android.app.IntentReceiverLeaked

    Activity com.example.hello.hello has leaked IntentReceiver org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager$4@418fc7d0 that was originally registered here. Are you missing a call to unregisterReceiver()?

    at android.app.LoadedApk$ReceiverDispatcher.<init>()
  2. Android Platform
    ContextWrapper.registerReceiver
    1. android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:795)
    2. android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:596)
    3. android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1316)
    4. android.app.ContextImpl.registerReceiver(ContextImpl.java:1296)
    5. android.app.ContextImpl.registerReceiver(ContextImpl.java:1290)
    6. android.content.ContextWrapper.registerReceiver(ContextWrapper.java:423)
    6 frames
  3. org.xwalk.core
    XWalkViewBridge.<init>
    1. org.xwalk.core.internal.extension.api.messaging.MessagingSmsManager.registerIntentFilters(MessagingSmsManager.java:338)
    2. org.xwalk.core.internal.extension.api.messaging.Messaging.<init>(Messaging.java:106)
    3. org.xwalk.core.internal.extension.BuiltinXWalkExtensions.load(BuiltinXWalkExtensions.java:86)
    4. org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:363)
    5. org.xwalk.core.internal.XWalkViewInternal.init(XWalkViewInternal.java:335)
    6. org.xwalk.core.internal.XWalkViewInternal.<init>(XWalkViewInternal.java:211)
    7. org.xwalk.core.internal.XWalkViewBridge.<init>(XWalkViewBridge.java:49)
    7 frames
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  5. org.xwalk.core
    XWalkView.<init>
    1. org.xwalk.core.ReflectionHelper.createInstance(ReflectionHelper.java:226)
    2. org.xwalk.core.XWalkView.<init>(XWalkView.java:185)
    2 frames
  6. org.apache.cordova
    CordovaActivity.init
    1. org.apache.cordova.CordovaWebView.<init>(CordovaWebView.java:139)
    2. org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:301)
    3. org.apache.cordova.CordovaActivity.init(CordovaActivity.java:336)
    3 frames
  7. com.example.hello
    hello.onCreate
    1. com.example.hello.hello.onCreate(hello.java:31)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5104)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
    5. android.app.ActivityThread.access$600(ActivityThread.java:141)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:5041)
    9 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame