MrSn0wy / TeleportCommands

A Minecraft server-side mod that adds various teleportation related commands
https://modrinth.com/mod/teleport-commands
MIT License
3 stars 6 forks source link

The mod sometimes prints "java.lang.NullPointerException" to the log #1

Open hiisuuii opened 5 months ago

hiisuuii commented 5 months ago

As you can see in this log: https://mclo.gs/2PpWAVY sometimes the mod will simply log a NPE to the console. It does not print any stacktrace and it doesnt seem to cause any issue. I have yet to be able to intentionally cause this issue. However it does seem to be caused by a player using a /home command.

MrSn0wy commented 5 months ago

heya, thank you for the bug report!

I can't seem to replicate this issue myself and the only way this could maybe trigger in the home command is if the PlayerStorage is corrupt. (but then it should give a more detailed error message)

Could you perhaps send the mod's storage.json that is located inside of: [world folder]/TeleportCommands/storage.json?

hiisuuii commented 4 months ago

heya, thank you for the bug report!

I can't seem to replicate this issue myself and the only way this could maybe trigger in the home command is if the PlayerStorage is corrupt. (but then it should give a more detailed error message)

Could you perhaps send the mod's storage.json that is located inside of: [world folder]/TeleportCommands/storage.json?

Sure thing. storage.json