Coder Social home page Coder Social logo

Comments (2)

bkazoo avatar bkazoo commented on May 22, 2024

FATAL EXCEPTION: main
Process: [package name], PID: 8954
java.lang.NullPointerException: You cannot start a load on a not yet attached View or a Fragment where getActivity() returns null (which usually occurs when getActivity() is called before the Fragment is attached or after the Fragment is destroyed).
at com.bumptech.glide.util.Preconditions.checkNotNull(Preconditions.java:29)
at com.bumptech.glide.Glide.getRetriever(Glide.java:744)
at com.bumptech.glide.Glide.with(Glide.java:813)
at candybar.lib.adapters.IconsAdapter.loadIconInto(IconsAdapter.java:215)
at candybar.lib.adapters.IconsAdapter.reloadIcons(IconsAdapter.java:228)
at candybar.lib.fragments.IconsFragment.reloadIcons(IconsFragment.java:152)
at candybar.lib.fragments.dialog.IconShapeChooserFragment.onDismiss(IconShapeChooserFragment.java:103)
at androidx.fragment.app.DialogFragment$3.onDismiss(DialogFragment.java:132)
at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1405)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:7889)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)

from candybar.

bkazoo avatar bkazoo commented on May 22, 2024

I have been able to reproduce using candybar-sample 3.14.2 code only, in three different devices (Android 10, 11, 12):

  1. Enable Includes Adaptive Icons in candybar-sample/app/src/main/res/values/dashboard_configurations.xml:
    <bool name="includes_adaptive_icons">true</bool>
  2. In candybar-sample/app/src/main/res/xml/drawable.xml, copy the existing categories with their icons multiple times (so there are 10 categories in total).
  3. Open the resulting app and browse the existing icons.
  4. Move from the first to the last category.
  5. Change the Icon Shape to a different one.
  6. App crashes.

from candybar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.