Completed the setup for Guild without matching id in ReadyHandler cache
See original GitHub issueJDA was working great until I initialized it inside of a Spring Boot service (previously I was not using Spring Boot). Now it can login but not connect to my guild.
Log:
[19:07:12] [Info] [JDA]: Login Successful!
[19:07:13] [Info] [JDASocket]: Connected to WebSocket
[19:08:43] [Fatal] [JDASocket]: Completed the setup for Guild: G:My Guild(<Big long number goes here>) without matching id in ReadyHandler cache
[19:08:43] [Fatal] [JDASocket]: Encountered an exception:
[19:08:43] [Fatal] [JDASocket]: java.lang.NullPointerException
at net.dv8tion.jda.core.handle.ReadyHandler.guildSetupComplete(ReadyHandler.java:193)
at net.dv8tion.jda.core.handle.GuildCreateHandler.lambda$handleInternally$91(GuildCreateHandler.java:44)
at net.dv8tion.jda.core.entities.EntityBuilder.createGuildFirstPass(EntityBuilder.java:292)
at net.dv8tion.jda.core.handle.GuildCreateHandler.handleInternally(GuildCreateHandler.java:38)
at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37)
at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:811)
at net.dv8tion.jda.core.requests.WebSocketClient.onTextMessage(WebSocketClient.java:516)
at net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:845)
at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270)
at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990)
at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749)
at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)
Really not sure where to go from here. I tried kicking and re-adding the bot.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Completed the setup for Guild without matching id in ... - GitHub
Completed the setup for Guild without matching id in ReadyHandler cache #454 ... MinnDevelopment closed this as completed on Sep 4, 2017.
Read more >DiscordChat - Mods - Minecraft - CurseForge
... [JDASocket]: Completed the setup for Guild: G:DSWS | FTB Infinity Evolved(384983205301714955) without matching id in ReadyHandler cache[17:05:11] [JDA ...
Read more >how can i get guild by id in discord.js [duplicate] - Stack Overflow
cache.get(id) before the gateway has finished sending information. You can solve this in two ways: 1. Waiting for the client to ...
Read more >Cache in serenity::cache - Rust - Docs.rs
Fetches a vector of all Guild s' Ids that are stored in the cache. Note that if you are utilizing multiple Shard s,...
Read more >Guild (JDA 4.4.0_352 API)
Modifier and Type Method Description
default MemberAction addMember(String accessToken, User user) Adds the provided us...
Task cancelRequestToSpeak() Cancels the Request‑t...
ChannelAction createCategory(String name) Creates a new...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try adding (Well imagine I know how to format it.)
The issue happend alot to maven users so we already knew the solution. However Gradle user are having no problems.