You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parseDouble will throw an exception if the input string is illegal.
For example, set an empty value for an upper limit in Alarm Settings.
03-30 23:14:03.244 27062 27062 D AndroidRuntime: Shutting down VM
03-30 23:14:03.244 27062 27062 E AndroidRuntime: FATAL EXCEPTION: main
03-30 23:14:03.244 27062 27062 E AndroidRuntime: Process: mobi.boilr.boilr, PID: 27062
03-30 23:14:03.244 27062 27062 E AndroidRuntime: java.lang.NumberFormatException: Invalid double: ""
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at java.lang.StringToReal.invalidReal(StringToReal.java:63)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at java.lang.StringToReal.parseDouble(StringToReal.java:267)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at java.lang.Double.parseDouble(Double.java:301)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at mobi.boilr.boilr.views.fragments.PriceHitAlarmSettingsFragment$OnPriceHitSettingsPreferenceChangeListener.onPreferenceChange(PriceHitAlarmSettingsFragment.java:25)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at android.preference.Preference.callChangeListener(Preference.java:939)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at android.preference.EditTextPreference.onDialogClosed(EditTextPreference.java:145)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at android.preference.DialogPreference.onDismiss(DialogPreference.java:395)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1323)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
03-30 23:14:03.244 27062 27062 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
03-30 23:14:03.246 778 4442 W ActivityManager: Force finishing activity mobi.boilr.boilr/.activities.AlarmSettingsActivity
The text was updated successfully, but these errors were encountered:
parseDouble
will throw an exception if the input string is illegal.For example, set an empty value for an upper limit in Alarm Settings.
The text was updated successfully, but these errors were encountered: