Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception on opening Settings menu #998

Closed
arthurbenemann opened this issue Aug 22, 2014 · 1 comment
Closed

Exception on opening Settings menu #998

arthurbenemann opened this issue Aug 22, 2014 · 1 comment
Labels

Comments

@arthurbenemann
Copy link
Member

Exception on opening the settings menu, bug probably introduced by #997

08-22 10:55:32.360: E/AndroidRuntime(20071): FATAL EXCEPTION: main
08-22 10:55:32.360: E/AndroidRuntime(20071): Process: org.droidplanner, PID: 20071
08-22 10:55:32.360: E/AndroidRuntime(20071): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.droidplanner/org.droidplanner.android.activities.SettingsActivity}: java.lang.NumberFormatException: Invalid int: "off"
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.ActivityThread.access$800(ActivityThread.java:135)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.os.Handler.dispatchMessage(Handler.java:102)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.os.Looper.loop(Looper.java:136)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.ActivityThread.main(ActivityThread.java:5001)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at java.lang.reflect.Method.invokeNative(Native Method)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at java.lang.reflect.Method.invoke(Method.java:515)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at dalvik.system.NativeStart.main(Native Method)
08-22 10:55:32.360: E/AndroidRuntime(20071): Caused by: java.lang.NumberFormatException: Invalid int: "off"
08-22 10:55:32.360: E/AndroidRuntime(20071):    at java.lang.Integer.invalidInt(Integer.java:137)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at java.lang.Integer.parse(Integer.java:374)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at java.lang.Integer.parseInt(Integer.java:365)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at java.lang.Integer.parseInt(Integer.java:331)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at org.droidplanner.android.fragments.SettingsFragment.setupPeriodicControls(SettingsFragment.java:399)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at org.droidplanner.android.fragments.SettingsFragment.onCreate(SettingsFragment.java:102)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.Fragment.performCreate(Fragment.java:1678)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:859)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.BackStackRecord.run(BackStackRecord.java:684)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.Activity.performStart(Activity.java:5240)
08-22 10:55:32.360: E/AndroidRuntime(20071):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157)
08-22 10:55:32.360: E/AndroidRuntime(20071):    ... 11 more
arthurbenemann added a commit that referenced this issue Aug 22, 2014
When the settings was off it created a exception on those lines because "off" isn't a integer.

Closes #998
@arthurbenemann arthurbenemann added this to the Bug Free milestone Aug 22, 2014
m4gr3d added a commit to m4gr3d/droidplanner that referenced this issue Aug 24, 2014
@m4gr3d
Copy link
Member

m4gr3d commented Aug 24, 2014

@arthurbenemann @TShapinsky There are several issues with the way preferences for the periodic speech output is implemented.
I'm fixing them in PR #1008.

@m4gr3d m4gr3d reopened this Aug 24, 2014
arthurbenemann added a commit that referenced this issue Aug 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants