[Galaxy S5 Mini Original Android Development] lanuaradiego:
Bug - Clock

If the system language is Spanish and you open the configuration of the Clocks App, the application closes automatically and show the typical message "The application has stopped working". When the alarm sounds, it is the same.

P.D: Thank you very much for this excellent ROM.

Error - Logcat:

FATAL EXCEPTION: main

Process: com.android.deskclock, PID: 2311

Theme: themes:{}

java.lang.RuntimeException: Unable to resume activity {com.android.deskclock/com.android.deskclock.SettingsActivity}: java.util.IllegalFormatConversionException: %d can't format java.lang.String arguments

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137)

at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3168)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2515)

at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4111)

at android.app.ActivityThread.-wrap15(ActivityThread.java)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1369)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5461)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Caused by: java.util.IllegalFormatConversionException: %d can't format java.lang.String arguments

at java.util.Formatter.badArgumentType(Formatter.java:1489)

at java.util.Formatter.transformFromInteger(Formatter.java:1689)

at java.util.Formatter.transform(Formatter.java:1461)

at java.util.Formatter.doFormat(Formatter.java:1081)

at java.util.Formatter.format(Formatter.java:1042)

at java.util.Formatter.format(Formatter.java:1011)

at java.lang.String.format(String.java:1554)

at android.content.res.Resources.getQuantityString(Resources.java:483)

at com.android.deskclock.Utils.getNumberFormattedQuantityString(Utils.java:799)

at com.android.deskclock.SnoozeLengthDialog.setSummary(SnoozeLengthDialog.java:93)

at com.android.deskclock.SettingsActivity$PrefsFragment.refresh(SettingsActivity.java:285)

at com.android.deskclock.SettingsActivity$PrefsFragment.onResume(SettingsActivity.java:132)

at android.app.Fragment.performResume(Fragment.java:2263)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1008)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1130)

at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1963)

at android.app.FragmentController.dispatchResume(FragmentController.java:174)

at android.app.Activity.performResume(Activity.java:6348)

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3126)

at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3168)*

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2515)*

at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4111)*

at android.app.ActivityThread.-wrap15(ActivityThread.java)*

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1369)*

at android.os.Handler.dispatchMessage(Handler.java:102)*

at android.os.Looper.loop(Looper.java:148)*

at android.app.ActivityThread.main(ActivityThread.java:5461)*

at java.lang.reflect.Method.invoke(Native Method)*

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)*

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)