PROJECT INFORMATION
- repositories: https://github.com/Baltasarq/nadamillas
- app name : nadamillas
- issues :https://github.com/Baltasarq/nadamillas/issues/1
EXPECTED BEHAVIOR
when users open statistical data they should display their statistical data
ACTUAL BEHAVIOR
when the user presses the statistical button this application immediately crashes and stops working
STEPS TO REPRODUUCE
- download the app
- open the app
- than click statistic option and see if the app will crash if no data input before
android os: android 6.1
browser : nadamillas
BUG RECORDING
LOGCAT
java.lang.NumberFormatException: Invalid int: "null"
at java.lang.Integer.invalidInt(Integer.java:138)
at java.lang.Integer.parseInt(Integer.java:358)
at java.lang.Integer.parseInt(Integer.java:334)
at java.lang.Integer.valueOf(Integer.java:525)
at com.devbaltasarq.nadamillas.ui.StatsActivity.getSelections(StatsActivity.java:328)
at com.devbaltasarq.nadamillas.ui.StatsActivity.access$200(StatsActivity.java:33)
at com.devbaltasarq.nadamillas.ui.StatsActivity$7.run(StatsActivity.java:348)``
Hi @muhammadarif, thanks for making this report
The reason for the crash us quite obvious. It had no values recorded with which to run any statistics on. Did you go for a swim or did you have records in the app of all the times you were at the pool?
I think this was a validation error, the function expected an integer but got null. There should be a validator that checks that the parameter parsed in is not null and if null should return an error message.
Thanks for the report and thanks for including a logcat. It was helpful
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @fego! Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You have receive an upvote. Thanks for playing moonSTEEM
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @muhammadarif!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey, @muhammadarif!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi, @muhammadarif!
You just got a 0.05% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit