[Music Player GO][v3.5.2.4] The app crashed when I tried to open it for the first time after installation.
Project Information
- Repository: https://github.com/enricocid/Music-Player-GO
- Project Name: Music Player GO
- Publisher: Enricocid
- Submitted issue is here
Expected behavior
The users should be able to open the app after installing it without crashing the app.
Actual behavior
After installing the app when I tried to open it for the first time by giving permission, suddenly the app crashed.
How to reproduce
- Download the latest version from the play store.
- Then open it.
- Press "OK" when it will ask your access.
- Then press "ALLOW" to give access to this app of photos, media, and files on your device.
- See error.
- App version: V3.5.2.4
- Operating system: Android 6.0.1
GitHub Account
LogCat
04-12 12:26:55.631 8390 8390 E AndroidRuntime: FATAL EXCEPTION: main
04-12 12:26:55.631 8390 8390 E AndroidRuntime: Process: com.iven.musicplayergo, PID: 8390
04-12 12:26:55.631 8390 8390 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=68124, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} (has extras) }} to activity {com.iven.musicplayergo/com.iven.musicplayergo.MainActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4998)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.app.ActivityThread.handleSendResult(ActivityThread.java:5041)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.app.ActivityThread.access$1600(ActivityThread.java:229)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1875)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7325)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at androidx.f.a.j.u(Unknown Source)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at androidx.f.a.j.a(Unknown Source)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at androidx.f.a.a.d(Unknown Source)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at com.iven.musicplayergo.MainActivity.g(Unknown Source)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at com.iven.musicplayergo.MainActivity.onRequestPermissionsResult(Unknown Source)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7291)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.app.Activity.dispatchActivityResult(Activity.java:7169)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4994)
04-12 12:26:55.631 8390 8390 E AndroidRuntime: ... 9 more
Hi @sagorahmed, thanks for making this contribution
This appears to have been fixed by the PO. I can see how well he appreciated the fact that you were able to help test the application on a different android device. Good job :)
I like that you included a crash log, this must have narrowed the search.
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]
Thank you for your review, @fego! Keep up the good work!
Congratulations @sagorahmed! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Hey, @sagorahmed!
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!