Skip to content

Conversation

usc
Copy link

@usc usc commented Jul 30, 2025

fix, 错误如下,好像不影响运行

java.lang.IllegalStateException: Recursive Registry initialization! In your AppGlideModule and LibraryGlideModules, Make sure you're using the provided Registry rather calling glide.getRegistry()!
at com.bumptech.glide.RegistryFactory$1.get(RegistryFactory.java:99)
at com.bumptech.glide.RegistryFactory$1.get(RegistryFactory.java:91)
at com.bumptech.glide.util.GlideSuppliers$1.get(GlideSuppliers.java:25)
at com.bumptech.glide.GlideContext.getRegistry(GlideContext.java:113)
at com.bumptech.glide.Glide.getRegistry(Glide.java:639)
at me.ghui.v2er.general.MyAppGllideModule.registerComponents(MyAppGllideModule.java:29)
at com.bumptech.glide.GeneratedAppGlideModuleImpl.registerComponents(GeneratedAppGlideModuleImpl.java:32)
at com.bumptech.glide.RegistryFactory.initializeModules(RegistryFactory.java:401)
at com.bumptech.glide.RegistryFactory.createAndInitRegistry(RegistryFactory.java:130)
at com.bumptech.glide.RegistryFactory$1.get(RegistryFactory.java:107)
at com.bumptech.glide.RegistryFactory$1.get(RegistryFactory.java:91)
at com.bumptech.glide.util.GlideSuppliers$1.get(GlideSuppliers.java:25)
at com.bumptech.glide.GlideContext.getRegistry(GlideContext.java:113)
at com.bumptech.glide.load.engine.DecodeHelper.getLoadData(DecodeHelper.java:212)
at com.bumptech.glide.load.engine.DecodeHelper.getCacheKeys(DecodeHelper.java:229)
at com.bumptech.glide.load.engine.ResourceCacheGenerator.startNext(ResourceCacheGenerator.java:47)
at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:277)
at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:424)
at java.lang.Thread.run(Thread.java:1119)

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

Successfully merging this pull request may close these issues.

1 participant