EvilCraft

EvilCraft

29M Downloads

NullPointerException when joining in server

Feerjais opened this issue ยท 13 comments

commented

Issue type: Server error

  • ๐Ÿ› Bug Cant join in server

Short description:

When a player joins my server with the mod installed, the server kicks them and displays the following error:

Image

When I delete these files, the player can join normally, but after restarting the server, the issue reappears.

Image


Versions:

  • This mod: Evilcraft-1.20.1-1.2.49
  • Minecraft: 1.20.1
  • Mod loader version: Forge 47.3.0

Log file: https://mclo.gs/O29g0zj

commented

Thanks for reporting!

commented

Could you send me the server logs in which that error message is mentioned?
I can't do much without it unfortunately.

commented

Image

The server doesn't show any errors, it just kicks the player. I discovered this because I tried starting the server without this mod, and I was able to join normally.

commented

This is the modlist from curseforge
For the server im using arclight with forge 47.30
https://mclo.gs/FGw7u5r

mclo.gs
141 lines
commented

Server log
https://mclo.gs/NBx1fY5

mclo.gs
1339 lines | 457 errors
commented

The log says this:

The following mods have version differences that were not resolved:
| evilcraft (version 1.2.49 -> 1.2.50)
| evilcraftcompat (version 1.2.49 -> 1.2.50)
| Things may not work well.

I don't know what that means exactly, but I guess it does explain why stuff isn't working correctly.

commented

This message appears because I updated the mod to the latest version released today, but the bug is not fixed. It only gets resolved by deleting the files evilcraft_GlobalCounterData.dat and evilcraft_WorldSharedTanks.dat and letting them regenerate, but after a while of playing, the bug reappears.

commented

Thanks for the new logs @Feerjais, but I don't see the error message being mentioned in there.

Can you check again if you can produce a log (client or server) in which that specific error message is being mentioned?
I need the stacktrace leading up to that error.
Without it, I can not fix it unfortunately.

commented

The server and client logs don't show any errors; this only happens when trying to join the server. I've tried many things, and the only solution was to remove the mod, which allows all players to join normally.

I can give you access to the server for testing if you'd like.

commented

The server and client logs don't show any errors;

That's weird. Such disconnection errors usually show up in the logs though.

I can give you access to the server for testing if you'd like.

I don't have the time bandwidth to debug issues at this level unfortunately.

Let me put this issue on hold until someone (including other people that would encounter this issue) could provide more details.

commented

When I delete the globalcounterdata and worldsharedtanks files, the error stops appearing. However, when those files regenerate after a while of using the mod, the same issue reappears, and it prevents players from joining the server.

commented

Image

maybe this can help

commented

It doesn't unfortunately :/