crash if type a letter in hour section
PROJECT REPOSITORIES
https://github.com/daktak/basketbuild_downloader
PROJECT NAME
BASKET BUILD DOWNLOADER
EXPECTED BEHAVIOR
when the user set the daily download settings and the user accidentally typed a letter should this application still be open and used
ACTUAL BEHAVIOR
when the user accidentally typed a letter and the user minimized this application then the user tried to open again. application can not be opened again or crash
HOW TO REPRODUCE
- DOWNLOAD BASKET BUILD DOWNLOADER FROM F-DROID
- LAUNCH THE APP
- click the three dots in the top right of the app
- go to setting options
- activate daily download
- click in hours section write one letter
-clik okey and minimize the app
and then re-open the app and note the bug
BASKET BUILD DOWNLOADER V 0.4.2
android 5.1 idos
BUG RECORDING
logcat reader to help dev to fixe it
Process: org.basketbuilddownloader, PID: 20114
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.basketbuilddownloader/org.basketbuilddownloader.MainActivity}: java.lang.NumberFormatException: Invalid int: "@3"
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2367)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2429)
at android.app.ActivityThread.access$800(ActivityThread.java:157)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5376)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:947)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:742)
Caused by: java.lang.NumberFormatException: Invalid int: "@3"
at java.lang.Integer.invalidInt(Integer.java:138)
at java.lang.Integer.parse(Integer.java:410)
at java.lang.Integer.parseInt(Integer.java:367)
at java.lang.Integer.parseInt(Integer.java:334)
at org.basketbuilddownloader.MainActivity.setRecurringAlarm(MainActivity.java:107)
at org.basketbuilddownloader.MainActivity.setAlarm(MainActivity.java:95)
at org.basketbuilddownloader.MainActivity.onCreate(MainActivity.java:79)
at android.app.Activity.performCreate(Activity.java:6012)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2311)
... 10 more```
Hello @muhammandarif, The project repository has not received any reasonable code update within the period of 1-6 month, all the latest updates are mostly done on screenshot/images, readme and changes in version name, which cannot be seen as a valid repo to contribute on.....
Anyways, Thank you for your contribution
Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.
[utopian-moderator]