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

getHomes() nullptrexception #17

Open
MineWarz opened this issue May 18, 2023 · 0 comments
Open

getHomes() nullptrexception #17

MineWarz opened this issue May 18, 2023 · 0 comments

Comments

@MineWarz
Copy link

Hi,

If this is the wrong place to bring this up, please direct me to where I can ask about it.

We're hosting a minecraft server since a month ago, and we have Dynmap and EssentialsX setup. We also use Dynmap-EssentialsX, mostly just to show our player homes on Dynmap.
However, ever since about two weeks ago, our console is being spammed with a nullptr exception every minute or so, and homes do not show up on the Dynmap anymore (save for one apparently, which has the wrong icon).

We get the following error message:
java.lang.NullPointerException: Cannot invoke "com.earth2me.essentials.User.getHomes()" because "user" is null at me.kingtux.dynmapessentials.DynmapEssentials.runHomes(DynmapEssentials.java:110) ~[DynmapEssentials-1.2.jar:?] at me.kingtux.dynmapessentials.DynmapEssentials.run(DynmapEssentials.java:70) ~[DynmapEssentials-1.2.jar:?] at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.4.jar:git-Paper-510] at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.4.jar:git-Paper-510] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1483) ~[paper-1.19.4.jar:git-Paper-510] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.19.4.jar:git-Paper-510] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.4.jar:git-Paper-510] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1174) ~[paper-1.19.4.jar:git-Paper-510] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-510] at java.lang.Thread.run(Thread.java:833) ~[?:?]

There seems to be a player/entity that is being invoked but is null every time. I looked into corrupt player data, but couldn't find anything. We have tried restarting the server, updating/reinstalling the plugins, even removing everyone's homes in the essentials playerdata. Nothing has worked so far. I also cannot really find anything about this issue online. Does anyone know if this is a bug and how we can resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant