Actions
Bug #151
closedwhen entering holes on the record tab, automatic adjustment of the other side can cause a force close
Start date:
09/21/2011
Due date:
% Done:
100%
Estimated time:
Description
The following crash reports were submitted via the android market against sleepmeter free 1.7.1:
java.lang.IllegalArgumentException: current should be >= start and <= end at android.widget.NumberPicker.setCurrent(NumberPicker.java:288) at android.widget.TimePicker.updateHourDisplay(TimePicker.java:330) at android.widget.TimePicker.setCurrentHour(TimePicker.java:278) at android.app.TimePickerDialog.<init>(TimePickerDialog.java:113) at android.app.TimePickerDialog.<init>(TimePickerDialog.java:76) at com.squalllinesoftware.android.applications.sleepmeter.ch.<init>(Unknown Source) at com.squalllinesoftware.android.applications.sleepmeter.es.onClick(Unknown Source) at android.view.View.performClick(View.java:2408) at android.view.View$PerformClick.run(View.java:8816) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4627) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) at dalvik.system.NativeStart.main(Native Method)
java.lang.IllegalArgumentException: current should be >= start and <= end at android.widget.NumberPicker.setCurrent(NumberPicker.java:288) at android.widget.TimePicker.updateHourDisplay(TimePicker.java:330) at android.widget.TimePicker.setIs24HourView(TimePicker.java:289) at android.app.TimePickerDialog.<init>(TimePickerDialog.java:115) at android.app.TimePickerDialog.<init>(TimePickerDialog.java:76) at com.squalllinesoftware.android.applications.sleepmeter.ch.<init>(Unknown Source) at com.squalllinesoftware.android.applications.sleepmeter.er.onClick(Unknown Source) at android.view.View.performClick(View.java:2408) at android.view.View$PerformClick.run(View.java:8817) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:143) at android.app.ActivityThread.main(ActivityThread.java:4914) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) at dalvik.system.NativeStart.main(Native Method)
Some sleuthing has lead to the realization that the automatic other hole end adjustment introduced in r575 is to blame because it can result in negative times and times beyond 24 hours.
Updated by Tony Ciavarella over 13 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Actions