Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app crashes after clicking on the "Round of matches" feature after the League ended #53

Open
ahyar92 opened this issue May 27, 2018 · 0 comments

Comments

@ahyar92
Copy link

ahyar92 commented May 27, 2018

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

  1. Install and open the app
  2. Next, Select a country
  3. Next do a round of matches by clicking on the feature below:
    qqeqe.jpg
  4. 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

https://www.youtube.com/watch?v=uAGjVPGtEQc

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant