novoda/Novocation — Issue #12: Receiver not registered when all the providers are off
Author: luigi-agosti
Created: 2011-12-09 19:02:31+00:00
State: open
Labels: high

NovodaChats: Gonçalo Silva: 12-09 18:44:50.711: E/AndroidRuntime(4436): java.lang.RuntimeException: Unable to pause activity {com.secretdj/com.secretdj.activity.Splash}: java.lang.IllegalArgumentException: Receiver not registered: com.novoda.location.locator.DefaultLocator$1@2afede38
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2375)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2332)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2312)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.ActivityThread.access$1700(ActivityThread.java:121)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:950)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.os.Handler.dispatchMessage(Handler.java:99)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.os.Looper.loop(Looper.java:130)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.ActivityThread.main(ActivityThread.java:3701)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at java.lang.reflect.Method.invokeNative(Native Method)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at java.lang.reflect.Method.invoke(Method.java:507)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at dalvik.system.NativeStart.main(Native Method)
12-09 18:44:50.711: E/AndroidRuntime(4436): Caused by: java.lang.IllegalArgumentException: Receiver not registered: com.novoda.location.locator.DefaultLocator$1@2afede38
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:610)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:849)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:331)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at com.novoda.location.locator.DefaultLocator.stopListeningForLocationUpdates(DefaultLocator.java:163)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at com.novoda.location.locator.DefaultLocator.stopLocationUpdates(DefaultLocator.java:94)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at com.secretdj.activity.Splash.onPause(Splash.java:50)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.Activity.performPause(Activity.java:3851)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1191)
12-09 18:44:50.711: E/AndroidRuntime(4436):	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2362)