Free-Software-for-Android / FasterGPS

With FasterGPS you can select a NTP Server matching your region to speed up the process of getting a GPS fix.

Home Page:https://www.sufficientlysecure.org/android/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FasterGPS 1.8 force closes half of the time on 4.3

opened this issue · comments

While the 1.8 version now works with 4.3, it forces about half of the time when trying to write to gps.conf. A logcat says the following:

RootCommands: Error at org.fastergps.util.Utils.writeConfig(Utils.java:241)

RootCommands: Error at org.fastergps.ui.BaseActivity$5$1.onClick(BaseActivity.java:302)

java.lang.NullPointerException
at org.sufficientlysecure.rootcommands.Remounter.remount(Remounter.java:89)
at org.sufficientlysecure.rootcommands.Toolbox.remount(Toolbox.java:733)
at org.fastergps.util.Utils.writeConfig(Utils.java:241)
at org.fastergps.ui.AdvancedSettingsActivity$1.onPreferenceChange(AdvancedSettingsActivity.java:131)
at android.preference.Preference.callChangeListener(Preference.java:895)
at android.preference.EditTextPreference.onDialogClosed(EditTextPreference.java:141)
at android.preference.DialogPreference.onDismiss(DialogPreference.java:383)
at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1232)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)


java.lang.RuntimeException: org.sufficientlysecure.rootcommands.util.RootAccessDeniedException: stdout line is null! Access was denied or this executeable is not a shell!
at org.sufficientlysecure.rootcommands.Remounter.findMountPointRecursive(Remounter.java:140)
at org.sufficientlysecure.rootcommands.Remounter.remount(Remounter.java:87)
at org.sufficientlysecure.rootcommands.Toolbox.remount(Toolbox.java:733)
at org.fastergps.util.Utils.writeConfig(Utils.java:241)
at org.fastergps.ui.BaseActivity$2.onPreferenceChange(BaseActivity.java:250)
at android.preference.Preference.callChangeListener(Preference.java:895)
at android.preference.ListPreference.onDialogClosed(ListPreference.java:265)
at android.preference.DialogPreference.onDismiss(DialogPreference.java:383)
at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1232)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: org.sufficientlysecure.rootcommands.util.RootAccessDeniedException: stdout line is null! Access was denied or this executeable is not a shell!
at org.sufficientlysecure.rootcommands.Shell.<init>(Shell.java:147)
at org.sufficientlysecure.rootcommands.Shell.startRootShell(Shell.java:62)
at org.sufficientlysecure.rootcommands.Shell.startRootShell(Shell.java:74)
at org.sufficientlysecure.rootcommands.Remounter.getMounts(Remounter.java:162)
at org.sufficientlysecure.rootcommands.Remounter.findMountPointRecursive(Remounter.java:130)
... 16 more

Please try new version, if you still experience problems open a new issue