You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using v4.9.0 version, but there is a problem with LRUCache.java().
In the log below, the A part of (LruCache.java:178) looks like a (trimToSize) function.
And then I found this commit that seems relevant.
Could this commit be a solution to this exception??
java.util.NoSuchElementException
at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:759)
at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:790)
at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:788)
at com.bumptech.glide.g.g.a(LruCache.java:178)
at com.bumptech.glide.g.g.a(LruCache.java:164)
at com.bumptech.glide.load.engine.a.g.a(LruResourceCache.java:52)
at com.bumptech.glide.c.a(Glide.java:628)
at com.bumptech.glide.c.onTrimMemory(Glide.java:841)
at android.app.Application.onTrimMemory(Application.java:306)
at android.app.ActivityThread.handleTrimMemory(ActivityThread.java:6410)
at android.app.ActivityThread.access$1100(ActivityThread.java:269)
at android.app.ActivityThread$ApplicationThread.lambda$scheduleTrimMemory$0(ActivityThread.java:1690)
at android.app.-$$Lambda$ActivityThread$ApplicationThread$tUGFX7CUhzB4Pg5wFd5yeqOnu38.accept(Unknown Source:8)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:271)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:195)
at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:86)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:996)
at android.view.Choreographer.doCallbacks(Choreographer.java:794)
at android.view.Choreographer.doFrame(Choreographer.java:731)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:981)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7860)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)
1 commit comments
hisweek commentedon May 13, 2020
I am currently using v4.9.0 version, but there is a problem with LRUCache.java().
In the log below, the A part of (LruCache.java:178) looks like a (trimToSize) function.
And then I found this commit that seems relevant.
Could this commit be a solution to this exception??
java.util.NoSuchElementException
at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:759)
at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:790)
at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:788)
at com.bumptech.glide.g.g.a(LruCache.java:178)
at com.bumptech.glide.g.g.a(LruCache.java:164)
at com.bumptech.glide.load.engine.a.g.a(LruResourceCache.java:52)
at com.bumptech.glide.c.a(Glide.java:628)
at com.bumptech.glide.c.onTrimMemory(Glide.java:841)
at android.app.Application.onTrimMemory(Application.java:306)
at android.app.ActivityThread.handleTrimMemory(ActivityThread.java:6410)
at android.app.ActivityThread.access$1100(ActivityThread.java:269)
at android.app.ActivityThread$ApplicationThread.lambda$scheduleTrimMemory$0(ActivityThread.java:1690)
at android.app.-$$Lambda$ActivityThread$ApplicationThread$tUGFX7CUhzB4Pg5wFd5yeqOnu38.accept(Unknown Source:8)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:271)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:195)
at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:86)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:996)
at android.view.Choreographer.doCallbacks(Choreographer.java:794)
at android.view.Choreographer.doFrame(Choreographer.java:731)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:981)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7860)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)