palaniyappanBala / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

MMAdViewController that was originally registered here. Are you missing a call to unregisterReceiver() #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My app is having this issue everytime I close an activity that has adwhirl with 
millenial inside. Am I missing something?

03-07 16:59:07.309: ERROR/ActivityThread(10355): Activity 
com.mufumbo.android.recipe.search.forum.ForumThreadListActivity has leaked 
IntentReceiver 
com.millennialmedia.android.MMAdViewController$ScreenReceiver@406251e0 that was 
originally registered here. Are you missing a call to unregisterReceiver()?
03-07 16:59:07.309: ERROR/ActivityThread(10355): 
android.app.IntentReceiverLeaked: Activity 
com.mufumbo.android.recipe.search.forum.ForumThreadListActivity has leaked 
IntentReceiver 
com.millennialmedia.android.MMAdViewController$ScreenReceiver@406251e0 that was 
originally registered here. Are you missing a call to unregisterReceiver()?
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:756)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:551)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:795)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.app.ContextImpl.registerReceiver(ContextImpl.java:782)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.app.ContextImpl.registerReceiver(ContextImpl.java:776)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.content.ContextWrapper.registerReceiver(ContextWrapper.java:318)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.millennialmedia.android.MMAdViewController.assignAdViewController(MMAdViewCo
ntroller.java:138)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.millennialmedia.android.MMAdView.callForAd(MMAdView.java:671)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.adwhirl.adapters.MillennialAdapter.handle(MillennialAdapter.java:81)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:161)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:222)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.adwhirl.AdWhirlLayout.access$3(AdWhirlLayout.java:205)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:390)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.os.Handler.handleCallback(Handler.java:587)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.os.Looper.loop(Looper.java:123)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
android.app.ActivityThread.main(ActivityThread.java:3683)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
java.lang.reflect.Method.invokeNative(Native Method)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
java.lang.reflect.Method.invoke(Method.java:507)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
03-07 16:59:07.309: ERROR/ActivityThread(10355):     at 
dalvik.system.NativeStart.main(Native Method)
03-07 16:59:07.319: ERROR/ActivityThread(10355): Activity 
com.mufumbo.android.recipe.search.forum.ForumThreadListActivity has leaked 
IntentReceiver 
com.millennialmedia.android.MMAdViewController$ScreenReceiver@40567e40 that was 
originally registered here. Are you missing a call to unregisterReceiver()?
03-07 16:59:07.319: ERROR/ActivityThread(10355): 
android.app.IntentReceiverLeaked: Activity 
com.mufumbo.android.recipe.search.forum.ForumThreadListActivity has leaked 
IntentReceiver 
com.millennialmedia.android.MMAdViewController$ScreenReceiver@40567e40 that was 
originally registered here. Are you missing a call to unregisterReceiver()?
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:756)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:551)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:795)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.app.ContextImpl.registerReceiver(ContextImpl.java:782)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.app.ContextImpl.registerReceiver(ContextImpl.java:776)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.content.ContextWrapper.registerReceiver(ContextWrapper.java:318)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.millennialmedia.android.MMAdViewController.assignAdViewController(MMAdViewCo
ntroller.java:138)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.millennialmedia.android.MMAdView.callForAd(MMAdView.java:671)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.adwhirl.adapters.MillennialAdapter.handle(MillennialAdapter.java:81)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:161)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:222)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.adwhirl.AdWhirlLayout.access$3(AdWhirlLayout.java:205)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:390)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.os.Handler.handleCallback(Handler.java:587)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.os.Looper.loop(Looper.java:123)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
android.app.ActivityThread.main(ActivityThread.java:3683)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
java.lang.reflect.Method.invokeNative(Native Method)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
java.lang.reflect.Method.invoke(Method.java:507)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
03-07 16:59:07.319: ERROR/ActivityThread(10355):     at 
dalvik.system.NativeStart.main(Native Method)

thanks

Original issue reported on code.google.com by mufumb...@gmail.com on 8 Mar 2011 at 1:01

GoogleCodeExporter commented 9 years ago
I have the same problem using Millennial SDK 4.1.0

Original comment by joanpu...@gmail.com on 26 Mar 2011 at 5:16

GoogleCodeExporter commented 9 years ago
same issue here. 

needed to downgrade the millenial jar. 

Original comment by mufumb...@gmail.com on 27 Mar 2011 at 3:14

GoogleCodeExporter commented 9 years ago
same here

Original comment by silviala...@gmail.com on 27 Mar 2011 at 3:16

GoogleCodeExporter commented 9 years ago
also here

Original comment by thezo...@gmail.com on 25 Sep 2011 at 8:57

GoogleCodeExporter commented 9 years ago
Are you still seeing this with the latest MM jar?

Original comment by wesgood...@google.com on 30 Nov 2011 at 9:29

GoogleCodeExporter commented 9 years ago
hi wes,

thanks for replying, but i've stopped using adwhirl, so I can't confirm with 
the last millennial sdk.

thanks
rafa

Original comment by mufumb...@gmail.com on 30 Nov 2011 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by wesgood...@google.com on 2 Dec 2011 at 8:43