ACG PLAYER V2.6.3 Crash when click random play on detail section

in #utopian-io5 years ago (edited)

project informatio

Describe the bug

App crash when try to play random music using "random to play option"

To Reproduce

Steps to reproduce the behavior:

Open the app
Click on any music to play
Scroll down to black page and click dot 3 in beside of music title
Click show detail than chose "random to paly"
See error

Expected behavior

users should be able to play music randomly after one music ends using "random to play" option

bug recording

Desktop (please complete the following information):

OS: [ android 6.0]
Version[2.6.3.6]
Smartphone (please complete the following information):

Device: [oppo neo 7]
OS: 6.1
Additional context

java.lang.AssertionError: impossible
    at java.lang.Enum$1.create(Enum.java:45)
    at java.lang.Enum$1.create(Enum.java:35)
    at libcore.util.BasicLruCache.get(BasicLruCache.java:54)
    at java.lang.Enum.getSharedConstants(Enum.java:211)
    at java.lang.Enum.valueOf(Enum.java:191)
    at java.io.ObjectInputStream.readEnum(ObjectInputStream.java:1602)
    at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:767)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1983)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1940)
    at android.os.Parcel.readSerializable(Parcel.java:2378)
    at android.os.Parcel.readValue(Parcel.java:2203)
    at android.os.Parcel.readArrayMapInternal(Parcel.java:2485)
    at android.os.BaseBundle.unparcel(BaseBundle.java:221)
    at android.os.BaseBundle.getSerializable(BaseBundle.java:988)
    at android.os.Bundle.getSerializable(Bundle.java:845)
    at com.sothree.slidinguppanel.SlidingUpPanelLayout.onRestoreInstanceState(SourceFile:3)
    at android.view.View.dispatchRestoreInstanceState(View.java:13949)
    at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3025)
    at android.view.View.restoreHierarchyState(View.java:13927)
    at b.o.a.w.a(SourceFile:192)
    at b.o.a.w.j(SourceFile:9)
    at b.o.a.w.n(SourceFile:7)
    at b.o.a.w.kc(SourceFile:2)
    at b.o.a.w.dispatchActivityCreated(SourceFile:3)
    at b.o.a.j.onStart(SourceFile:6)
    at b.c.a.n.onStart(SourceFile:1)
    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1244)
    at android.app.Activity.performStart(Activity.java:6151)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2482)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2617)
    at android.app.ActivityThread.access$800(ActivityThread.java:182)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1474)
    at android.os.Handler.dispatchMessage(Handler.java:111)
    at android.os.Looper.loop(Looper.java:218)
    at android.app.ActivityThread.main(ActivityThread.java:5657)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:990)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)
Caused by: java.lang.NoSuchMethodException: values []
    at java.lang.Class.getMethod(Class.java:664)
    at java.lang.Class.getDeclaredMethod(Class.java:626)
    at java.lang.Enum$1.create(Enum.java:41)
    ... 38 more```
Sort:  

Hi @muhammadarif, thanks for making this report.

The appears to be fixed. I am unable to reproduce the behavior in the latest release version. I love that you included a crash log. This must have helped in finding the root cause of the error.

I look forward to more of your reports.

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!

Hi @muhammadarif!

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, @muhammadarif!

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.28
TRX 0.13
JST 0.032
BTC 60625.76
ETH 2898.84
USDT 1.00
SBD 3.62