android.app.IntentReceiverLeaked

Activity com.mysampleapp.MainMenu has leaked IntentReceiver com.mysampleapp.BroadcastManager@3370c300 that was originally registered here. Are you missing a call to unregisterReceiver()?

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web182

  • via Stack Overflow by nikoTM
    ,
  • Stack trace

    • android.app.IntentReceiverLeaked: Activity com.mysampleapp.MainMenu has leaked IntentReceiver com.mysampleapp.BroadcastManager@3370c300 that was originally registered here. Are you missing a call to unregisterReceiver()? at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:960) at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:761) at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:2002) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1982) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1976) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:503) at com.mysampleapp.MainMenu.initNotifications(MainMenu.java:672) at com.mysampleapp.MainMenu.onCreate(MainMenu.java:133) at android.app.Activity.performCreate(Activity.java:6283) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2642) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2756) at android.app.ActivityThread.access$900(ActivityThread.java:177) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5940) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1389) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown UserUnknown User
    9 times, last one
    Hiren AmaliyarHiren Amaliyar
    103 times, last one
    filipebatistafilipebatista
    274 times, last one
    SacchiSacchi
    230 times, last one
    Indri YunitaIndri Yunita
    3 times, last one
    77 more bugmates