The-Fireplace-Minecraft-Mods / Clans

A Minecraft land protection and PVP mod
https://www.curseforge.com/minecraft/mc-mods/clans
GNU General Public License v3.0
5 stars 10 forks source link

NullPointerException when trying to save #276

Open lambor590 opened 2 years ago

lambor590 commented 2 years ago

Describe the bug Every time the mod tries to save, I get an error. I don't know if it can cause some consequences.

To Reproduce Steps to reproduce the behavior:

  1. Wait the mod to save, stop the server or do something to trigger a save, like when a player disconnects.

Screenshot of the log (after a player left the server) image

Versions:

The-Fireplace commented 2 years ago

Is that the full error that was logged?

lambor590 commented 2 years ago

Is that the full error that was logged?

Yes.

I think it happens on a specific circumstance or when a player did a specific action. Today I restarted the server 3 times, and didn't saw this error throughout the day. And I did not remove any mod or nothing, but yesterday I configured some plugins, maybe a plugin was causing it.

It doesn't happen every time a player leaves or I stop the server, just sometimes. One thing I know is that it happens this error since I was making the server, so I was the only player in the server when I saw this error for the first time, and no clan existed or exists in this moment yet.

If I see it again I will tell you here. If in 1 week I don't see it again I'll close this issue.

lambor590 commented 2 years ago

So, now I was testing a new plugin, and when I stopped the server, it showed the error. I'm the only player that logged in to the server. image