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

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: