(BUG) (noice Current Version 0.2.5) App failed to open

in #utopian-io5 years ago

Project Information

Expected behavior

When I open the application, all feature should appear and the application should not be crashed.

Actual behavior

The application crashes when I open the application

How to reproduce

  • Download the application

  • open the application

  • Note the Error

  • Browser/App version: Current Version 0.2.5

  • Operating system: 6.0

Recording Of The Bug

20190711_151904

Logcat

D/AndroidRuntime(17855): Shutting down VM
E/AndroidRuntime(17855): FATAL EXCEPTION: main
E/AndroidRuntime(17855): Process: com.github.ashutoshgngwr.noice, PID: 17855
E/AndroidRuntime(17855): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.ashutoshgngwr.noice/com.github.ashutoshgngwr.noice.MainActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class com.google.android.material.navigation.NavigationView
E/AndroidRuntime(17855):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2695)
E/AndroidRuntime(17855):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769)
E/AndroidRuntime(17855):    at android.app.ActivityThread.access$900(ActivityThread.java:177)
E/AndroidRuntime(17855):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)
E/AndroidRuntime(17855):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(17855):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(17855):    at android.app.ActivityThread.main(ActivityThread.java:5910)
E/AndroidRuntime(17855):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(17855):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(17855):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
E/AndroidRuntime(17855):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
E/AndroidRuntime(17855): Caused by: android.view.InflateException: Binary XML file line #14: Error inflating class com.google.android.material.navigation.NavigationView
E/AndroidRuntime(17855):    at android.view.LayoutInflater.createView(LayoutInflater.java:633)
E/AndroidRuntime(17855):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
E/AndroidRuntime(17855):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
E/AndroidRuntime(17855):    at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
E/AndroidRuntime(17855):    at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
E/AndroidRuntime(17855):    at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
E/AndroidRuntime(17855):    at b.b.a.x.b()
E/AndroidRuntime(17855):    at b.b.a.m.setContentView()
E/AndroidRuntime(17855):    at com.github.ashutoshgngwr.noice.MainActivity.onCreate()
E/AndroidRuntime(17855):    at android.app.Activity.performCreate(Activity.java:6178)
E/AndroidRuntime(17855):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
E/AndroidRuntime(17855):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2648)
E/AndroidRuntime(17855):    ... 10 more
E/AndroidRuntime(17855): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime(17855):    at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime(17855):    at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
E/AndroidRuntime(17855):    at android.view.LayoutInflater.createView(LayoutInflater.java:607)
E/AndroidRuntime(17855):    ... 21 more
E/AndroidRuntime(17855): Caused by: android.content.res.Resources$NotFoundException: Resource ID  #0x7f070077
E/AndroidRuntime(17855):    at android.content.res.Resources.getValue(Resources.java:1542)
E/AndroidRuntime(17855):    at b.b.f.ca.d(:4)
E/AndroidRuntime(17855):    at b.b.f.ca.a(:11)
E/AndroidRuntime(17855):    at b.b.f.ca.b()
E/AndroidRuntime(17855):    at b.b.b.a.a.c()
E/AndroidRuntime(17855):    at b.b.e.a.o.getIcon(:2)
E/AndroidRuntime(17855):    at c.c.a.a.n.j$b.c(:5)
E/AndroidRuntime(17855):    at c.c.a.a.n.j.a(:1)
E/AndroidRuntime(17855):    at com.google.android.material.navigation.NavigationView.c()
E/AndroidRuntime(17855):    at com.google.android.material.navigation.NavigationView.(:24)
E/AndroidRuntime(17855):    at com.google.android.material.navigation.NavigationView.()
E/AndroidRuntime(17855):    ... 24 more

Sort:  

Hi @friendsmobile, 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

Also, I noticed that you included the app and OS information on the same list as the steps to reproduce. Please put this details under a different header in future reports. This will allow for clarity

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 @friendsmobile!

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

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!