Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException when joining in server #1088

Open
Feerjais opened this issue Jan 19, 2025 · 13 comments
Open

NullPointerException when joining in server #1088

Feerjais opened this issue Jan 19, 2025 · 13 comments

Comments

@Feerjais
Copy link

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

@rubensworks
Copy link
Member

Thanks for reporting!

@rubensworks
Copy link
Member

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

@rubensworks rubensworks moved this from To Do to On hold (awaiting input) in Maintenance Jan 19, 2025
@Feerjais
Copy link
Author

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.

@Feerjais
Copy link
Author

Feerjais commented Jan 19, 2025

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

mclo.gs
141 lines

@Feerjais
Copy link
Author

Feerjais commented Jan 19, 2025

Server log
https://mclo.gs/NBx1fY5

mclo.gs
1339 lines | 457 errors

@Jack-McKalling
Copy link
Contributor

Jack-McKalling commented Jan 19, 2025

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.

@Feerjais
Copy link
Author

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.

@rubensworks
Copy link
Member

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.

@Feerjais
Copy link
Author

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.

@rubensworks
Copy link
Member

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.

@Feerjais
Copy link
Author

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.

@Feerjais
Copy link
Author

Image

maybe this can help

@rubensworks
Copy link
Member

It doesn't unfortunately :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: On hold (awaiting input)
Development

No branches or pull requests

3 participants