[Bug]: Race condition on commands #31

Open
opened 2025-07-21 22:30:06 +00:00 by Suerion · 17 comments

Hey i got this error on the Discord Bot, it has not responsed in Discord.

Could you also add an option where the bot could write like the chanel id?

java.lang.NullPointerException: Cannot invoke "com.awakenedredstone.autowhitelist.lib.jda.api.interactions.InteractionHook.editOriginalComponents(com.awakenedredstone.autowhitelist.lib.jda.api.interactions.components.LayoutComponent[])" because "rec$" is null
   at knot/com.awakenedredstone.autowhitelist.discord.command.InfoCommand.lambda$waitForButton$10(InfoCommand.java:232) ~[autowhitelist-1.2.2+1.21.jar:?]
   at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.submitEdit(ReplyCallback.java:87) ~[autowhitelist-1.2.2+1.21.jar:?]
   at knot/com.awakenedredstone.autowhitelist.discord.command.InfoCommand.lambda$waitForButton$11(InfoCommand.java:232) ~[autowhitelist-1.2.2+1.21.jar:?]
   at knot/com.awakenedredstone.autowhitelist.lib.jdautils.commons.waiter.EventWaiter.lambda$waitForEvent$1(EventWaiter.java:222) ~[autowhitelist-1.2.2+1.21.jar:?]
   at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
   at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
   at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]```
Hey i got this error on the Discord Bot, it has not responsed in Discord. Could you also add an option where the bot could write like the chanel id? ```[22:12:26] [ERROR]: [EventWaiter]: Failed to run timeoutAction java.lang.NullPointerException: Cannot invoke "com.awakenedredstone.autowhitelist.lib.jda.api.interactions.InteractionHook.editOriginalComponents(com.awakenedredstone.autowhitelist.lib.jda.api.interactions.components.LayoutComponent[])" because "rec$" is null at knot/com.awakenedredstone.autowhitelist.discord.command.InfoCommand.lambda$waitForButton$10(InfoCommand.java:232) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.submitEdit(ReplyCallback.java:87) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.discord.command.InfoCommand.lambda$waitForButton$11(InfoCommand.java:232) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jdautils.commons.waiter.EventWaiter.lambda$waitForEvent$1(EventWaiter.java:222) ~[autowhitelist-1.2.2+1.21.jar:?] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]```
Author

And this one

java.lang.NullPointerException: Cannot invoke "com.awakenedredstone.autowhitelist.lib.jda.api.interactions.InteractionHook.editOriginal(com.awakenedredstone.autowhitelist.lib.jda.api.utils.messages.MessageEditData)" because "interactionHook" is null
	at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.lambda$editMessage$1(ReplyCallback.java:72) ~[autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.submitEdit(ReplyCallback.java:87) ~[autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.editMessage(ReplyCallback.java:72) ~[autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.discord.command.RegisterCommand.execute(RegisterCommand.java:288) ~[autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.discord.command.RegisterCommand.execute(RegisterCommand.java:370) ~[autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jdautils.command.SlashCommand.run(SlashCommand.java:353) ~[autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jdautils.command.impl.CommandClientImpl.onSlashCommand(CommandClientImpl.java:936) ~[autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jdautils.command.impl.CommandClientImpl.onEvent(CommandClientImpl.java:626) ~[autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:98) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.JDAImpl.handleEvent(JDAImpl.java:171) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.handle.InteractionCreateHandler.handleCommand(InteractionCreateHandler.java:108) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.handle.InteractionCreateHandler.handleInternally(InteractionCreateHandler.java:79) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.handle.SocketHandler.handle(SocketHandler.java:39) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:1009) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:892) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:870) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:1048) [autowhitelist-1.2.2+1.21.jar:?]
	at knot/com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?]
	at knot/com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?]
	at knot/com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?]
	at knot/com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?]
	at knot/com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?]
	at knot/com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?]
	at knot/com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?]
And this one ```[22:45:41] [ERROR]: [JDA]: One of the EventListeners had an uncaught exception java.lang.NullPointerException: Cannot invoke "com.awakenedredstone.autowhitelist.lib.jda.api.interactions.InteractionHook.editOriginal(com.awakenedredstone.autowhitelist.lib.jda.api.utils.messages.MessageEditData)" because "interactionHook" is null at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.lambda$editMessage$1(ReplyCallback.java:72) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.submitEdit(ReplyCallback.java:87) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.editMessage(ReplyCallback.java:72) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.discord.command.RegisterCommand.execute(RegisterCommand.java:288) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.discord.command.RegisterCommand.execute(RegisterCommand.java:370) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jdautils.command.SlashCommand.run(SlashCommand.java:353) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jdautils.command.impl.CommandClientImpl.onSlashCommand(CommandClientImpl.java:936) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jdautils.command.impl.CommandClientImpl.onEvent(CommandClientImpl.java:626) ~[autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:98) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.JDAImpl.handleEvent(JDAImpl.java:171) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.handle.InteractionCreateHandler.handleCommand(InteractionCreateHandler.java:108) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.handle.InteractionCreateHandler.handleInternally(InteractionCreateHandler.java:79) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.handle.SocketHandler.handle(SocketHandler.java:39) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:1009) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:892) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:870) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:1048) [autowhitelist-1.2.2+1.21.jar:?] at knot/com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?] at knot/com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?] at knot/com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?] at knot/com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?] at knot/com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?] at knot/com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?] at knot/com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) [com_neovisionaries_nv-websocket-client-2.14-c977f42ce3865a42.jar:?]
Owner

Does the bot have permission to send messages on the given channel? (if ephemeral messages are off)

Could you also provide the output of running /autowhitelist dump stats in the server console

Does the bot have permission to send messages on the given channel? (if ephemeral messages are off) Could you also provide the output of running `/autowhitelist dump stats` in the server console
Author

@LunaFox yes, the bot could write,

I had found an information,

The bot response if i‘m on the server, he sees that i‘m online and give informations to me,

But if i‘m not on the server, the bot could not response anymore.

Look like an issue on uuid fetchin with offline players

@LunaFox yes, the bot could write, I had found an information, The bot response if i‘m on the server, he sees that i‘m online and give informations to me, But if i‘m not on the server, the bot could not response anymore. Look like an issue on uuid fetchin with offline players
Author

I think you shoul look on this importy, to search for offline players what are not trying to connect on the server before. Or if the player is not given an NULL check
:)

import com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService;
import com.mojang.authlib.GameProfile;
import java.util.UUID;

I think you shoul look on this importy, to search for offline players what are not trying to connect on the server before. Or if the player is not given an NULL check :) import com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService; import com.mojang.authlib.GameProfile; import java.util.UUID;
Owner

Please provide the output of /autowhitelist dump stats
I'll need it's output to know some important information for debugging

Please provide the output of `/autowhitelist dump stats` I'll need it's output to know some important information for debugging
Author
[23:17:05] [INFO]: [DedicatedServer]: Generating data dump...
[23:17:06] [INFO]: [DedicatedServer]:  
==== AutoWhitelist data dump ====
Minecraft:
  Minecraft version: 1.21.1
  Java version: 21.0.7+6-LTS
  Mod loader: Fabric
  Loader version: 0.16.14
  Mod version: 1.2.2+1.21
  Total whitelisted players: 4
  Luckperms version: 5.4.156
AutoWhitelist:
  Config:
    Total entries: 2
    Config exists: true
    Config loads: true
    Lock time: 86400
  Bot:
    JDA version: 5.3.0_4d372fd
    Chewtils version: 2.0-DEV.@VERSION_REVISION@
    Bot status: online
    Gateway ping: 118
    Rest ping: 264```
```> > [23:17:05] [INFO]: [DedicatedServer]: Generating data dump... [23:17:06] [INFO]: [DedicatedServer]: ==== AutoWhitelist data dump ==== Minecraft: Minecraft version: 1.21.1 Java version: 21.0.7+6-LTS Mod loader: Fabric Loader version: 0.16.14 Mod version: 1.2.2+1.21 Total whitelisted players: 4 Luckperms version: 5.4.156 AutoWhitelist: Config: Total entries: 2 Config exists: true Config loads: true Lock time: 86400 Bot: JDA version: 5.3.0_4d372fd Chewtils version: 2.0-DEV.@VERSION_REVISION@ Bot status: online Gateway ping: 118 Rest ping: 264```
LunaFox self-assigned this 2025-07-21 23:20:48 +00:00
Owner

When the error happens, does the command timeout shortly after you execute it or does it show something like "Bot is thinking..."?

When the error happens, does the command timeout shortly after you execute it or does it show something like "Bot is thinking..."?
Author

It shows, the Bot is thinking, after time it get an timeout on server side.

Only if i‘m not online, if i‘m on the server the bit is responsing really fast.

It shows, the Bot is thinking, after time it get an timeout on server side. Only if i‘m not online, if i‘m on the server the bit is responsing really fast.
Owner

This seems likely a race condition, I will setup a local environment with increased delay to discord to test the issue and work on a fix

This seems likely a race condition, I will setup a local environment with increased delay to discord to test the issue and work on a fix
LunaFox changed title from Error on Discord bot, no response on Channel to [Bug]: Race condition on commands 2025-07-21 23:31:35 +00:00
LunaFox stopped working 2025-07-22 00:38:22 +00:00
1 hour 6 minutes
Owner

oh god i forgot to release the fix, I fixed it and forgot to press release, i'm stupid

oh god i forgot to release the fix, I fixed it and forgot to press release, i'm stupid
Owner

Version 1.2.3 should properly handle the messages on a race condition now

Version 1.2.3 should properly handle the messages on a race condition now
Author

Hey, no issue :)

but

[20:21:37] [pool-40-thread-1/ERROR]: Failed to run timeoutAction
java.lang.NullPointerException: Cannot invoke "com.awakenedredstone.autowhitelist.lib.jda.api.interactions.InteractionHook.editOriginalComponents(com.awakenedredstone.autowhitelist.lib.jda.api.interactions.components.LayoutComponent[])" because "rec$" is null
    at knot/com.awakenedredstone.autowhitelist.discord.command.InfoCommand.lambda$waitForButton$10(InfoCommand.java:232) ~[autowhitelist-1.2.3+1.21.jar:?]
    at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.submitEdit(ReplyCallback.java:59) ~[autowhitelist-1.2.3+1.21.jar:?]
    at knot/com.awakenedredstone.autowhitelist.discord.command.InfoCommand.lambda$waitForButton$11(InfoCommand.java:232) ~[autowhitelist-1.2.3+1.21.jar:?]
    at knot/com.awakenedredstone.autowhitelist.lib.jdautils.commons.waiter.EventWaiter.lambda$waitForEvent$1(EventWaiter.java:222) ~[autowhitelist-1.2.3+1.21.jar:?]
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
    at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

image

Hey, no issue :) but ``` [20:21:37] [pool-40-thread-1/ERROR]: Failed to run timeoutAction java.lang.NullPointerException: Cannot invoke "com.awakenedredstone.autowhitelist.lib.jda.api.interactions.InteractionHook.editOriginalComponents(com.awakenedredstone.autowhitelist.lib.jda.api.interactions.components.LayoutComponent[])" because "rec$" is null at knot/com.awakenedredstone.autowhitelist.discord.command.InfoCommand.lambda$waitForButton$10(InfoCommand.java:232) ~[autowhitelist-1.2.3+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.discord.api.ReplyCallback$InteractionReplyCallback.submitEdit(ReplyCallback.java:59) ~[autowhitelist-1.2.3+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.discord.command.InfoCommand.lambda$waitForButton$11(InfoCommand.java:232) ~[autowhitelist-1.2.3+1.21.jar:?] at knot/com.awakenedredstone.autowhitelist.lib.jdautils.commons.waiter.EventWaiter.lambda$waitForEvent$1(EventWaiter.java:222) ~[autowhitelist-1.2.3+1.21.jar:?] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] ``` ![image](/attachments/63da53ad-5d5b-41d1-8239-4e9489ec000d)
Owner

have you updated to the new version?
from my tests it has worked without issues
Fortunately, this should only affect the messages, and registering should still work, but this is still an important issue

have you updated to the new version? from my tests it has worked without issues Fortunately, this should only affect the messages, and registering should still work, but this is still an important issue
Author

You could see -> autowhitelist-1.2.3+1.21.jar yes i had updated.

You could see -> autowhitelist-1.2.3+1.21.jar yes i had updated.
LunaFox added reference main 2025-07-22 20:40:48 +00:00
Author

i had thinked a little bit about the issue,

think you should track active interaction, and check it is nullable, before interactions, you had added buttons, but with the timeout it runs in an null... after expired interaction, you could clean up the listener for the interactions...

https://kitsunes.dev/LunaFox/AutoWhitelist/src/branch/main/src/main/java/com/awakenedredstone/autowhitelist/discord/command/InfoCommand.java

like an event listener. bruh, i understand a little bit, but have no informations about discord. but we get an null, we need to track from where it come in the info command. and then fix the nullable interaction

sorry for my bad english, hope you understand what i mean

i had thinked a little bit about the issue, think you should track active interaction, and check it is nullable, before interactions, you had added buttons, but with the timeout it runs in an null... after expired interaction, you could clean up the listener for the interactions... https://kitsunes.dev/LunaFox/AutoWhitelist/src/branch/main/src/main/java/com/awakenedredstone/autowhitelist/discord/command/InfoCommand.java like an event listener. bruh, i understand a little bit, but have no informations about discord. but we get an null, we need to track from where it come in the info command. and then fix the nullable interaction sorry for my bad english, hope you understand what i mean
Owner

the error that is showing is caused by the mod silently failing to modify the initial message
I have to patch the silent failure, as that is the main issue, since fixing the NullPointerException won't fix the message not showing up

the error that is showing is caused by the mod silently failing to modify the initial message I have to patch the silent failure, as that is the main issue, since fixing the NullPointerException won't fix the message not showing up
Author

@LunaFox wrote in #31 (comment):

the error that is showing is caused by the mod silently failing to modify the initial message I have to patch the silent failure, as that is the main issue, since fixing the NullPointerException won't fix the message not showing up

Okey, :) i‘m only trying to understand a little bit the code, how he is writen.

Thanks for you work here :)

@LunaFox wrote in https://kitsunes.dev/LunaFox/AutoWhitelist/issues/31#issuecomment-327: > the error that is showing is caused by the mod silently failing to modify the initial message I have to patch the silent failure, as that is the main issue, since fixing the NullPointerException won't fix the message not showing up Okey, :) i‘m only trying to understand a little bit the code, how he is writen. Thanks for you work here :)
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
2 participants
Total time spent: 1 hour 6 minutes
LunaFox
1 hour 6 minutes
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LunaFox/AutoWhitelist#31
No description provided.