Comments (2)
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.
I have been able to reproduce using candybar-sample 3.14.2 code only, in three different devices (Android 10, 11, 12):
- Enable Includes Adaptive Icons in candybar-sample/app/src/main/res/values/dashboard_configurations.xml:
<bool name="includes_adaptive_icons">true</bool>
- 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).
- Open the resulting app and browse the existing icons.
- Move from the first to the last category.
- Change the Icon Shape to a different one.
- App crashes.
from candybar.
Related Issues (20)
- Failed to query purchases
- 'Apply all icons' should favour supported launcher if multiple installed HOT 1
- Using icon search can lead to OutOfMemoryError HOT 4
- Icon search not working when editing manually HOT 4
- App icon fails to load and breaks icon requests HOT 2
- Filter out WebAPK apps in the requests HOT 3
- json file
- AGP upgrade
- Remove "Restore purchases" HOT 1
- LICENSE_CHECKER HOT 1
- Billing Library Version Deprecation HOT 5
- Support for Vector icons in the icons tab HOT 8
- Allow requesting work profile apps HOT 2
- XML graphics are displayed in a low resolution HOT 1
- Reset in-app purchases when app reinstalled while "Restore purchases" is disabled. HOT 2
- Exclude specific category from search HOT 5
- Request to share wallpaper json format HOT 2
- Building request HOT 1
- Request for Edge-to-Edge Layout Implementation
- Feature Request: Add TinyBit Launcher as Supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from candybar.