(Opus.v3.5.1.) crash when click on downloading song in the widget

in #utopian-io5 years ago (edited)

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 <unknown>
    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 <unknown>
    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```
Sort:  

Hi @muhammadarif, thanks for making this contribution

I can see that the contribution has been acknowledged by the PO. And I see he fixed it in the latest release version. I love that you included a logcat but these days we expect a bit of analysis to complement the stack trace. Some explanations on what could have possibly gone wrong

Still a good post. We 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

Hi, @muhammadarif!

You just got a 0.05% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

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.14
JST 0.036
BTC 62275.68
ETH 3440.90
USDT 1.00
SBD 4.46