Specific gateway events are triggering a StackOverflowError
when printing the RawGatewayEvent.package
#2333
Closed
3 tasks done
Labels
General Troubleshooting
Expected Behaviour
When printing the gateway event, a StackOverflowError shouldn't happen.
However, specific events (from what I've noticed,
MESSAGE_CREATE
andMESSAGE_UPDATE
) triggers aStackOverflowError
.This does not happen if you print the event before it is processed by JDA, so it looks like something when processing the event causes a cyclic dependency to happen in the DataObject, which triggers this error.
Code Example for Reproduction Steps
Code for JDABuilder or DefaultShardManagerBuilder used
Exception or Error
The text was updated successfully, but these errors were encountered: