I've had an extremely strange problem for weeks. At least One of the two lobbies running on my server can't be reached once a day. You can at least never really use a lobby. I have already checked in the log what errors there are, the only line that comes there's this:
[23:55:55] [Server thread / WARN]: [LobbySystem] Task # 11 for LobbySystem v1.0 generated an exception
java.lang.NullPointerException
There's nothing more. I don't know which line the error is in or any other information. After a few hours, the log is over 28,000,000 bytes in size, i.e. More than twice the size of the Spigot.jar. And only with these two lines.
What is new is that the last line in the log contains thousands of NUL characters, here is a picture of it:
I have not changed anything in the lobby system and I don't know what it could be. As described above, there's no error description.
Maybe someone of you has an idea
The plugin doesn't seem to find anything. A variable, an object in the lobby… I don't know what the plugin does or how it is structured, but something must have happened that something is missing now.
Yes it looks like that. What only surprises me is that there's nothing more to the error. And before that, everything went somehow. I do not hope that this is due to MySQL again.
First of all, this is a normal NullPointerException, which says that something has the value NULL somewhere, but should not have it.
They happen to me sometimes, but without seeing the code, it's difficult. Usually you simply access the wrong class or the class of the wrong package.
So if you can provide the code in any way, that would be great.
Thank you for your answer. The mistake has now resolved itself, it was very strange. Well, if it should occur again, I'll put the SRC in there.