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

App Crash, When clicking on "love / likes history" icon more than one click. #25

Open
rezamusic881 opened this issue Jun 20, 2018 · 1 comment

Comments

@rezamusic881
Copy link

rezamusic881 commented Jun 20, 2018

Expected behavior

Supposedly, the app does not stop when logged in on the "History feature" and click the love / likes history icon more than "one click", after playing the video from the streaming site.

Actual behavior

At first I felt strange, suddenly the application crashes when I click the "love / likes history" icon in the "history feature" when I just finished watching the video on the streaming site, Then I chased the error and I found it. the app stops when you enter the "History feature" and click the likes / likes of history more than "one click", after playing the video from the streaming site.

How to reproduce

  • Instal musiQ app and Sign Up account, then login. after successfully logging in, close and exit the app.
  • Go to the streaming site and watch a few minutes of video in it.
  • After playing the video, just open the musiQ app and on "History feature" you can find the history of the video you just watched. then click on "love / likes history icon" more than one click. then the application will crash.

Environment

Device : Redmi Note 5A
System Operating : 7.1.0 Nougat
App Version : 1.860

Record of the issues

https://youtu.be/gBLsRN2P9io

Logcat

06-20 23:37:09.484 31503 31503 E AndroidRuntime: Process: com.dihanov.musiq, PID: 31503
06-20 23:37:09.484 31503 31503 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.dihanov.musiq.models.Artist.getName()' on a null object reference
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at com.dihanov.musiq.ui.detail.ArtistDetails$1.onPostExecute(ArtistDetails.java:161)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at com.dihanov.musiq.ui.detail.ArtistDetails$1.onPostExecute(ArtistDetails.java:148)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at android.os.AsyncTask.finish(AsyncTask.java:667)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at android.os.AsyncTask.-wrap1(AsyncTask.java)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:163)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6361)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
06-20 23:37:09.484 31503 31503 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)```
@DDihanov
Copy link
Owner

Hello! Thank you for the report. In the video you just click on the heart button multiple times, but in the description you mention clicking on the "history" feature and hitting "like" from there. What is this "like" feature you are talking about?

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

2 participants