Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in version 4.8.0 #5419

Open
jhouska opened this issue Jun 5, 2024 · 0 comments
Open

Crash in version 4.8.0 #5419

jhouska opened this issue Jun 5, 2024 · 0 comments

Comments

@jhouska
Copy link

jhouska commented Jun 5, 2024

I use the Bumptech Glide library to display an animated gif.

After upgrading to version 4.8.0, some users have started experiencing the crash:

java.lang.NullPointerException: null cannot be cast to non-null type T of androidx.core.util.Pools.SimplePool
at androidx.core.util.Pools$SimplePool.acquire(Pools.kt:89)
at com.bumptech.glide.util.pool.FactoryPools$FactoryPool.acquire(FactoryPools.java:157)
at com.bumptech.glide.load.engine.Engine$DecodeJobFactory.build(Engine.java:428)
at com.bumptech.glide.load.engine.Engine.load(Engine.java:210)
at com.bumptech.glide.request.SingleRequest.onSizeReady(SingleRequest.java:432)
at com.bumptech.glide.request.SingleRequest.begin(SingleRequest.java:255)
at com.bumptech.glide.manager.RequestTracker.runRequest(RequestTracker.java:44)
at com.bumptech.glide.RequestManager.track(RequestManager.java:614)
at com.bumptech.glide.RequestBuilder.into(RequestBuilder.java:646)
at com.bumptech.glide.RequestBuilder.into(RequestBuilder.java:611)
at com.bumptech.glide.RequestBuilder.into(RequestBuilder.java:604)
at com.bumptech.glide.load.resource.gif.GifFrameLoader.loadNextFrame(GifFrameLoader.java:226)
at com.bumptech.glide.load.resource.gif.GifFrameLoader.onFrameReady(GifFrameLoader.java:284)
at com.bumptech.glide.load.resource.gif.GifFrameLoader$FrameLoaderCallback.handleMessage(GifFrameLoader.java:298)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7959)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1001)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant