Blade player crashes when trying to edit song information

in #utopian-io6 years ago (edited)

Project information

Repository : https://github.com/Valou3433/blade-player

App name : Blade player

Expected behavior

Users should be able to be able to edit songs info with the help of the app successfully without the app crashing.

Actual behavior

The application closes and crashed when user is saving edited info.

How to reproduce

Download and install app from fdroid.

Launch the app.

Grant all permissions.

Navigate to the list of songs and play any song, then click on the 3-horizontal dots in front of a song.

Click on the "Edit Informations" option.

Make an change to name, then click on "OK"

It will be observed that the app crashes and closes. Hence, the bug.

Browser: Blade Player version 1.4
Operating system: android version 6.0
Recording Of The Bug


Issue opened on Github https://github.com/Valou3433/blade-player/issues/31
My Github

LOG

03-27 10:13:46.417 I/BufferQueue(271): [v.blade/v.blade.ui.MainActivity](this:0x7fb0c30400,id:362,api:1,p:-1,c:-1) ~BufferQueueCore
03-27 10:13:46.544 D/ActivityManager(7069): ACT-IDLE_NOW_MSG from windowsVisible() for idle: ActivityRecord{39272dd u0 v.blade/.ui.TagEditorActivity t110799}
03-27 10:13:46.545 V/WindowManager(7069): findFocusedWindow: Found new focus @ 13 = Window{1485fd9 u0 v.blade/v.blade.ui.TagEditorActivity}
03-27 10:13:46.556 W/BLADE-DEBUG(23172): SaveInstanceState : null
03-27 10:13:46.559 V/ActivityThread(23172): Finishing stop of ActivityRecord{38c77ac token=android.os.BinderProxy@a4d8c75 {v.blade/v.blade.ui.MainActivity}}: show=false win=com.android.internal.policy.PhoneWindow@40e867e
03-27 10:13:46.559 I/BufferQueueProducer(271): [v.blade/v.blade.ui.TagEditorActivity](this:0x7fad16b000,id:365,api:1,p:23172,c:271) new GraphicBuffer needed
03-27 10:13:46.560 V/PhoneWindow(23172): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{fefce32 v.blade/v.blade.ui.MainActivity,ident = 0}, this =com.android.internal.policy.PhoneWindow$DecorView{5d47d57 I.E...... R......D 0,0-1080,1920}
03-27 10:13:46.592 I/PPS     (7069): [notifyActivityState] v.blade, .ui.MainActivity, Stopped
03-27 10:13:46.592 I/PPS     (7069): [PPSNotifyAppState] nPackNum:60, pack:v.blade, com:.ui.MainActivity, state:4, pid:23172, last_boost_tid:23172
03-27 10:13:46.930 D/xionghui(18754): xionghui TaskKey pkg=v.blade isLocked=false
03-27 10:13:47.163 I/BufferQueueProducer(271): [v.blade/v.blade.ui.TagEditorActivity](this:0x7fad16b000,id:365,api:1,p:23172,c:271) queueBuffer: fps=21.96 dur=1001.98 max=307.15 min=8.08
03-27 10:13:48.222 E/AndroidRuntime(23172): Process: v.blade, PID: 23172
03-27 10:13:48.222 E/AndroidRuntime(23172):     at v.blade.ui.TagEditorActivity.save(TagEditorActivity.java:172)
03-27 10:13:48.222 E/AndroidRuntime(23172): Caused by: java.lang.ClassNotFoundException: Didn't find class "sun.nio.ch.DirectBuffer" on path: DexPathList[[zip file "/data/app/v.blade-1/base.apk"],nativeLibraryDirectories=[/data/app/v.blade-1/lib/arm64, /data/app/v.blade-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]
Sort:  

Thanks for your contribution @jubreal

Great to see you contributing again, I was able to replicate this issue using the steps you mentioned. Great to see this both reported and acknowledged by the project owner, nice work.

Your steps were easy to follow and I believe it will be easy for the developer to replicate.

As the issue cause the application to crash and there not being a work around I'm aware of, I've marked this as major, it's also great to see you have included some logs too and I believe it's something that the developer will resolve soon as it will be annoying for their users.

Once again, thanks for your contribution and I hope to see more contributions from you soon.


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 very much for the review. Hoping to make more meaningful contributions to this section once again.

Thank you for your review, @tobias-g! Keep up the good work!

Hi @jubreal!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @jubreal!

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!

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.029
BTC 61238.93
ETH 2454.57
USDT 1.00
SBD 2.59