The app crashes after clicking on the "Round of matches" feature after the League ended
Project Information
Repository : https://github.com/EliFUT/android
Title : EliFUT
Publisher : Felipe Lima
Expected behavior
Supposedly, When the league is ended and try to click on the "Round of matches" feature to see the result, the app will not crash.
Actual behavior
Initially, after I selecting the country and clicking the "Round of matches" feature to do Match round. And after the match is over, I click on the "Match" feature to see the results of the match. However, once the match results are displayed, and I try again clicking on the feature, the app crashes. And I have tried to repeat doing the same thing, and the app still crashes and exits by itself.
How to reproduce
- Install and open the app
- Next, Select a country
- Next do a round of matches by clicking on the feature below:
- Wait for the round of the match to finish, then reopen the application, and click back on the feature "Match", after the results are displayed, click back on the feature then you will see the application will crash.
- Device: Xiaomi Redmi 4X
- Operating system: Marshmallow, 6.0.1 mmb29m (CPU: Octa-core Max 1.9 GHz, RAM: 2 GB)
- Application Version: 1.0.6
Recording Of The Bug
Proof of Work Done
Submitted the issue on GitHub: Click here
My GitHub Profile: https://github.com/ahyar92
Logcat
05-28 00:59:20.859 9452 9452 E AndroidRuntime: FATAL EXCEPTION: main
05-28 00:59:20.859 9452 9452 E AndroidRuntime: Process: com.elifut, PID: 9452
05-28 00:59:20.859 9452 9452 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.elifut/com.elifut.activity.MatchProgressActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.elifut.models.MatchResult com.elifut.models.Match.result()' on a null object reference
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2449)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2509)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.app.ActivityThread.access$1000(ActivityThread.java:153)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5527)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.elifut.models.MatchResult com.elifut.models.Match.result()' on a null object reference
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at com.elifut.activity.MatchProgressActivity.onCreate(MatchProgressActivity.java:156)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6303)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2402)
05-28 00:59:20.859 9452 9452 E AndroidRuntime: ... 9 more
05-28 00:59:20.861 9452 9452 E MQSEventManagerDelegate: failed to get MQSService.
Hello @ahyar92,thank you for your contribution.I was able to reproduce the bug.Your explanations and details was clear and understandable thank you for that.
The bug seems to be a trivial one because,according to the new guildelines;
We can include opening/closing the app into that.Thank you for your report.
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? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Hey @sinem006
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.
Contributing on Utopian
Learn how to contribute on our website.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
thanks mod @sinem006 :)
duh kapaan ane bisa gini :(
Thank you for clarification and advice )
Congratulations! This post has been upvoted from the communal account, @minnowsupport, by ahyar92 from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.
If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.
Hey @ahyar92
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Hoe to get vote for you @utopian-io