Bug #6548

LocationPrivacy crashes if Orbot is not running

Added by hans almost 2 years ago.

Status:NewStart date:01/25/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Component:

Description

If Orbot is freshly installed and has never been run, LocationPrivacy cannot start it. Instead it crashes:

         AndroidRuntime  E  FATAL EXCEPTION: main
                         E  Process: info.guardianproject.locationprivacy, PID: 13740
                         E  java.lang.RuntimeException: Unable to pause activity {info.guardianproject.locationprivacy/info.guardianproject.locationprivacy.Goog
                            leUriActivity}: java.lang.IllegalArgumentException: Receiver not registered: info.guardianproject.locationprivacy.GoogleUriActivity$
                            1@21d847b0
                         E      at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3229)
                         E      at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3184)
                         E      at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3162)
                         E      at android.app.ActivityThread.access$1000(ActivityThread.java:139)
                         E      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1310)
                         E      at android.os.Handler.dispatchMessage(Handler.java:102)
                         E      at android.os.Looper.loop(Looper.java:149)
                         E      at android.app.ActivityThread.main(ActivityThread.java:5257)
                         E      at java.lang.reflect.Method.invokeNative(Native Method)
                         E      at java.lang.reflect.Method.invoke(Method.java:515)
                         E      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
                         E      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
                         E      at dalvik.system.NativeStart.main(Native Method)
                         E  Caused by: java.lang.IllegalArgumentException: Receiver not registered: info.guardianproject.locationprivacy.GoogleUriActivity$1@21d
                            847b0
                         E      at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:667)
                         E      at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1540)
                         E      at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:490)
                         E      at info.guardianproject.locationprivacy.GoogleUriActivity.onPause(GoogleUriActivity.java:80)
                         E      at android.app.Activity.performPause(Activity.java:5515)
                         E      at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1233)
                         E      at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3215)
                         E      ... 12 more
                Process  I  Sending signal. PID: 13740 SIG: 9

Also available in: Atom PDF