Skip to content

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

@ahyar92

Description

@ahyar92

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions