zoriya / Opus

Android app for playing music from local file or from youtube.
https://www.raccoon-sdg.fr/en
GNU General Public License v3.0
9 stars 2 forks source link

[Opus][V3.4.1]App crashes for scrolling down from playlist page. #27

Closed masudr4n4 closed 5 years ago

masudr4n4 commented 5 years ago

Actual behavior

The app crashes if i scroll down from playlist.

Expected behavior

Expected that i can scroll down and see all my created playlist.

How to reproduce

  1. Install the apps and open the app
  2. Click Brows
  3. Allow storage permission
  4. Navigatet to playlist
  5. Scroll down to view all playlist
  6. See the error

Information

Recording Of The Bug

https://youtu.be/GAQ9lSrbBMc

Logcat


06-25 12:15:20.455 17375 17375 E AndroidRuntime: FATAL EXCEPTION: main

06-25 12:15:20.455 17375 17375 E AndroidRuntime: Process: com.sdg.opus, PID: 17375

06-25 12:15:20.455 17375 17375 E AndroidRuntime: java.lang.NoSuchMethodError: no static method "Landroid/text/Html;.fromHtml(Ljava/lang/String;I)Landroid/text/Spanned;"

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at md53189d507d2cef308208b02d59c1e285b.PlaylistAdapter.n_onBindViewHolder(Native Method)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at md53189d507d2cef308208b02d59c1e285b.PlaylistAdapter.onBindViewHolder(PlaylistAdapter.java:40)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6781)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6823)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5752)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6019)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:286)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:343)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:359)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.GapWorker.prefetch(GapWorker.java:366)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.support.v7.widget.GapWorker.run(GapWorker.java:397)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:739)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7325)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

06-25 12:15:20.455 17375 17375 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

zoriya commented 5 years ago

I'm starting to work on it, I was finishing stuff for others features.

zoriya commented 5 years ago

If you open the playlist tab without giving the storage permission to the app, does it display this message or does the app crash?

Screenshot_20190626-134312__01

masudr4n4 commented 5 years ago

sorry for let reply. I tried to go playlist without giving storage permission but it didn't show the message you provided,it crashes instantly when clicking playlist.

zoriya commented 5 years ago

Kay, thank you. I know what cause the bug. Just need to find how to stop it from happening.

masudr4n4 commented 5 years ago

Glad to here that.

zoriya commented 5 years ago

Finally solved the bug!

Thank you for your report, I will probably make a new release in the next hours or tomorrow.

masudr4n4 commented 5 years ago

Cool! Just checked latest version working fine.both with storage permission and without storage permission. Thanks

zoriya commented 5 years ago

Nice, glad to hear it!