PROJECT INFORMATION
REPOSITORIES : https://github.com/AnonymusRaccoon/Opus
ISSUES : https://github.com/AnonymusRaccoon/Opus/issues/35
EXPECTED BEHAVIOR
This application should display the details of the playlist that is being downloaded when the user presses the download notification on the screen
ACTUAL BEHAVIOR
when the user presses the notification download the application will crash and download stops
STEP TO REPRODUCE
- install and open the app
- Make sure your internet connection is active
- swipe to playlist options
- in the search option search for a song that you want to download
- After that download the song you want
- After that scroll your screen up and you will find a download notification, click the notification.
- note the bug
BUG RECORDING
device: oppo neo 5
os : android 6.1
Process: com.sdg.opus, PID: 16225
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sdg.opus/md52ff88170c7d9970a054602f7f7250344.DownloadQueue}: android.view.InflateException: Binary XML file line #1: Error inflating class
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2525)
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: android.view.InflateException: Binary XML file line #1: Error inflating class
at android.view.LayoutInflater.createView(LayoutInflater.java:633)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at android.support.v7.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:469)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
at md52ff88170c7d9970a054602f7f7250344.DownloadQueue.n_onCreate(Native Method)
at md52ff88170c7d9970a054602f7f7250344.DownloadQueue.onCreate(DownloadQueue.java:34)
at android.app.Activity.performCreate(Activity.java:6135)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2472)
... 10 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
... 22 more
Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x1
at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:572)
at android.view.View.<init>(View.java:3806)
at android.view.ViewGroup.<init>(ViewGroup.java:524)
at android.widget.LinearLayout.<init>(LinearLayout.java:215)
at android.widget.LinearLayout.<init>(LinearLayout.java:211)
at android.widget.LinearLayout.<init>(LinearLayout.java:206)
at android.support.design.widget.AppBarLayout.<init>(AppBarLayout.java:173)
... 25 more```