(BUG MaterialPreference VERSION 3.1.8 ) The application crashes when I try to open the application after installing

in #utopian-io5 years ago

Project Information

Expected behavior

When I try to open the application after installing the application, the application should open and all the function in it should be displayed.

Actual behavior

The application crashes when I try to open the application after installing

How to reproduce

  • Download the application

  • try to open the application

  • Note the Error

  • Browser/App version: VERSION 3.1.8

  • Operating system: 6.0

Recording Of The Bug

20190716_150209

Logcat

D/AndroidRuntime( 4697): Shutting down VM

E/AndroidRuntime( 4697): FATAL EXCEPTION: main

E/AndroidRuntime( 4697): Process: com.anggrayudi.materialpreference.sample, PID: 4697

E/AndroidRuntime( 4697): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.anggrayudi.materialpreference.sample/com.anggrayudi.materialpreference.sample.SettingsActivity}: android.view.InflateException: Binary XML file line #90: Error inflating class IndicatorPreference

E/AndroidRuntime( 4697): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2695)

E/AndroidRuntime( 4697): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769)

E/AndroidRuntime( 4697): at android.app.ActivityThread.access$900(ActivityThread.java:177)

E/AndroidRuntime( 4697): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)

E/AndroidRuntime( 4697): at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime( 4697): at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime( 4697): at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime( 4697): at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime( 4697): at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime( 4697): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime( 4697): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

E/AndroidRuntime( 4697): Caused by: android.view.InflateException: Binary XML file line #90: Error inflating class IndicatorPreference

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.b()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.r.a()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.s.a()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.j.g()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.sample.b.a()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.j.c()

E/AndroidRuntime( 4697): at androidx.fragment.app.h.h()

E/AndroidRuntime( 4697): at androidx.fragment.app.w.a()

E/AndroidRuntime( 4697): at androidx.fragment.app.I.a()

E/AndroidRuntime( 4697): at androidx.fragment.app.I.a()

E/AndroidRuntime( 4697): at androidx.fragment.app.I.a()

E/AndroidRuntime( 4697): at androidx.fragment.app.w.b()

E/AndroidRuntime( 4697): at androidx.fragment.app.w.c()

E/AndroidRuntime( 4697): at androidx.fragment.app.w.o()

E/AndroidRuntime( 4697): at androidx.fragment.app.w.e()

E/AndroidRuntime( 4697): at androidx.fragment.app.w.e()

E/AndroidRuntime( 4697): at androidx.fragment.app.l.a()

E/AndroidRuntime( 4697): at androidx.fragment.app.j.onStart()

E/AndroidRuntime( 4697): at androidx.appcompat.app.m.onStart()

E/AndroidRuntime( 4697): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1248)

E/AndroidRuntime( 4697): at android.app.Activity.performStart(Activity.java:6213)

E/AndroidRuntime( 4697): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2658)

E/AndroidRuntime( 4697): ... 10 more

E/AndroidRuntime( 4697): Caused by: java.lang.reflect.InvocationTargetException

E/AndroidRuntime( 4697): at java.lang.reflect.Constructor.newInstance(Native Method)

E/AndroidRuntime( 4697): at java.lang.reflect.Constructor.newInstance(Constructor.java:288)

E/AndroidRuntime( 4697): ... 37 more

E/AndroidRuntime( 4697): Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08005f

E/AndroidRuntime( 4697): at android.content.res.Resources.getResourceName(Resources.java:2413)

E/AndroidRuntime( 4697): at android.content.res.Resources.loadDrawableForCookie(Resources.java:2908)

E/AndroidRuntime( 4697): at android.content.res.Resources.loadDrawable(Resources.java:2821)

E/AndroidRuntime( 4697): at android.content.res.Resources.loadDrawable(Resources.java:2670)

E/AndroidRuntime( 4697): at android.content.res.TypedArray.getDrawable(TypedArray.java:761)

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.IndicatorPreference.()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.IndicatorPreference.()

E/AndroidRuntime( 4697): at com.anggrayudi.materialpreference.IndicatorPreference.()

E/AndroidRuntime( 4697): ... 39 more

Sort:  

Hello, @friendsomobile. Thank you for your contribution. This report was a mixed bag for me. I was unable to reproduce this bug after following the steps provided on this report. However, I can see that the latest update on the play store was made on the 16th of July 2019. I am assuming that the PO did publish a fix to the bug you have reported. Even though he stated that the bug was found on the version that did not get downloaded via play store.

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, @knowledges! Keep up the good work!

Congratulations @friendsmobile! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You received more than 500 upvotes. Your next target is to reach 1000 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

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!