error with new players 1.12
PhanaticD opened this issue ยท 7 comments
[06:49:15 WARN]: [NametagEdit] Task #172928 for NametagEdit v4.1.7 generated an exception
java.lang.NoClassDefFoundError: Could not initialize class com.nametagedit.plugin.api.data.FakeTeam
at com.nametagedit.plugin.NametagManager.addPlayerToTeam(NametagManager.java:53) ~[?:?]
at com.nametagedit.plugin.NametagManager.setNametag(NametagManager.java:126) ~[?:?]
at com.nametagedit.plugin.NametagManager.setNametag(NametagManager.java:122) ~[?:?]
at com.nametagedit.plugin.NametagHandler$9.run(NametagHandler.java:410) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.12.jar:git-Paper-1168]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356) [patched_1.12.jar:git-Paper-1168]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:832) [patched_1.12.jar:git-Paper-1168]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) [patched_1.12.jar:git-Paper-1168]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:766) [patched_1.12.jar:git-Paper-1168]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:664) [patched_1.12.jar:git-Paper-1168]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Just decompiled both jars for build 20, and the FakeTeam class is present. This is the first time I've seen this error with respect to NametagEdit, and to my knowledge it occurs when you use a PluginManager to dynamically load and unload. It doesn't always happen, but it happens when there are enough code changes.
Did this occur after a restart? Reload? Was NametagEdit functioning and then it suddenly stopped? Do you experience this issue on other servers using 4.1.7?
Peculiar issue, but we'll find out the cause.
Edit: Perhaps corrupt jar from updating?
hmm not corrupt the jar size is 278991, all I did was start the server, however now I am not getting the error so I am not really sure what happened
java.lang.NoClassDefFoundError: Could not initialize class com.nametagedit.plugin.api.data.FakeTeam
at com.nametagedit.plugin.NametagManager.addPlayerToTeam(NametagManager.java:54) ~[?:?]
at com.nametagedit.plugin.NametagManager.setNametag(NametagManager.java:123) ~[?:?]
at com.nametagedit.plugin.NametagHandler.applyTagToPlayer(NametagHandler.java:224) ~[?:?]
at com.nametagedit.plugin.NametagHandler$4.run(NametagHandler.java:210) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[server.jar:git-Paper-1155]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356) [server.jar:git-Paper-1155]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:832) [server.jar:git-Paper-1155]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) [server.jar:git-Paper-1155]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:766) [server.jar:git-Paper-1155]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:664) [server.jar:git-Paper-1155]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
I get this when a player logs in, each time, doesn't seem to matter.
Using 4.1.4
Are you guys still experiencing this issue? Apologies I was on vacation, could not work on this issue.