Question [1.19-4] Wrote a message in chat, got kicked. Java error.

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

juno_kreisler

New member
Jun 12, 2022
1
0
1
After updating the paper.jar for my remote Linux server, I wanted to test if DiscordSRV still sends messages between Minecraft and Discord.

However, when I write anything at all in the chat, I get kicked out with the following error message:
Code:
 Internal Exception: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "jsonMsg" is null
Weirdly enough, DiscordSRV still manages to send my message as well as Discord messages into the server (without crashing). So it's most likely a server problem. I could not find this error message anywhere online.

Any ideas?

UPDATE: Tried starting a new server and adding plugins one by one. Once I added DiscordSRV, the issue started happening again. I have BetterSleeping, DropHeads and DiscordSRV.
 
Last edited: