Team-Inceptus/Novaconomy

Minecraft 1.20.2 bug

Closed this issue · 6 comments

Bug Type

Compatibility Issues, Console Errors

Minecraft Version

1.20.2

Description

I did /novabal

2023-09-28_19 53 15

Steps to Reproduce

  1. /economy create Yen ¥ amethyst_shard
  2. /novabal

Expected Behavior

I would like it to work correctly but I think the problem is also due to 1.20.2

Actual Behavior

[16:47:29] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to Novaconomy v1.8.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.players.PlayerList.a(PlayerList.java:295) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.a(ServerConfigurationPacketListenerImpl.java:129) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.a(SourceFile:20) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.a(SourceFile:7) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:32) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1133) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1112) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1105) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.u_(MinecraftServer.java:1089) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1000) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:298) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassCastException: class java.lang.Integer cannot be cast to class net.minecraft.network.NetworkManager (java.lang.Integer is in module java.base of loader 'bootstrap'; net.minecraft.network.NetworkManager is in unnamed module of loader java.net.URLClassLoader @c4437c4)
	at us.teaminceptus.novaconomy.v1_20_R2.Wrapper1_20_R2.addPacketInjector(Wrapper1_20_R2.java:94) ~[?:?]
	at us.teaminceptus.novaconomy.Events.onJoin(Events.java:72) ~[?:?]
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	... 21 more
[16:47:29] [Server thread/INFO]: Link_Darck[/192.168.0.28:55455] logged in with entity id 181 at ([spawn]-143.2795682788733, 66.0, -111.80682784118468)
[16:47:34] [Server thread/INFO]: Link_Darck issued server command: /gamemode creative
[16:47:34] [Server thread/INFO]: [Link_Darck: Set own game mode to Creative Mode]
[16:47:38] [Server thread/INFO]: Link_Darck issued server command: /novabal
[16:48:03] [Server thread/INFO]: Link_Darck issued server command: /novaconfig
[16:48:23] [Server thread/INFO]: Link_Darck issued server command: /novaconfig setdefaultecon
[16:53:05] [Server thread/INFO]: Link_Darck issued server command: /novaconfig defaultecon
[17:02:24] [Server thread/INFO]: Link_Darck issued server command: /novaconfig defaultecon
[17:04:12] [Server thread/INFO]: Link_Darck issued server command: /novaconfig defaultecon
[17:09:52] [Server thread/INFO]: Link_Darck lost connection: Disconnected
[17:09:52] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to Novaconomy v1.8.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.players.PlayerList.remove(PlayerList.java:516) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.PlayerConnection.q(PlayerConnection.java:1693) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1680) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.NetworkManager.p(NetworkManager.java:611) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:200) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1310) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:387) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1179) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:996) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:298) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassCastException: class java.lang.Integer cannot be cast to class net.minecraft.network.NetworkManager (java.lang.Integer is in module java.base of loader 'bootstrap'; net.minecraft.network.NetworkManager is in unnamed module of loader java.net.URLClassLoader @c4437c4)
	at us.teaminceptus.novaconomy.v1_20_R2.Wrapper1_20_R2.removePacketInjector(Wrapper1_20_R2.java:110) ~[?:?]
	at us.teaminceptus.novaconomy.Events.onLeave(Events.java:78) ~[?:?]
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	... 14 more
[17:20:54] [User Authenticator #2/INFO]: UUID of player Link_Darck is 206c9524-bbcb-413b-99c8-96c86381e82d
[17:20:55] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to Novaconomy v1.8.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.players.PlayerList.a(PlayerList.java:295) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.a(ServerConfigurationPacketListenerImpl.java:129) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.a(SourceFile:20) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.a(SourceFile:7) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:32) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1133) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1112) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1105) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.u_(MinecraftServer.java:1089) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1000) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:298) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassCastException: class java.lang.Integer cannot be cast to class net.minecraft.network.NetworkManager (java.lang.Integer is in module java.base of loader 'bootstrap'; net.minecraft.network.NetworkManager is in unnamed module of loader java.net.URLClassLoader @c4437c4)
	at us.teaminceptus.novaconomy.v1_20_R2.Wrapper1_20_R2.addPacketInjector(Wrapper1_20_R2.java:94) ~[?:?]
	at us.teaminceptus.novaconomy.Events.onJoin(Events.java:72) ~[?:?]
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	... 21 more
[17:20:55] [Server thread/INFO]: Link_Darck[/192.168.0.28:53875] logged in with entity id 3014 at ([spawn]-191.69999998807907, 86.0, -112.30000001192093)
[17:21:03] [Server thread/INFO]: Link_Darck issued server command: /novabal
[17:21:52] [Server thread/INFO]: Link_Darck lost connection: Disconnected
[17:21:52] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to Novaconomy v1.8.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.players.PlayerList.remove(PlayerList.java:516) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.PlayerConnection.q(PlayerConnection.java:1693) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1680) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.NetworkManager.p(NetworkManager.java:611) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:200) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1310) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:387) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1179) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:996) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:298) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassCastException: class java.lang.Integer cannot be cast to class net.minecraft.network.NetworkManager (java.lang.Integer is in module java.base of loader 'bootstrap'; net.minecraft.network.NetworkManager is in unnamed module of loader java.net.URLClassLoader @c4437c4)
	at us.teaminceptus.novaconomy.v1_20_R2.Wrapper1_20_R2.removePacketInjector(Wrapper1_20_R2.java:110) ~[?:?]
	at us.teaminceptus.novaconomy.Events.onLeave(Events.java:78) ~[?:?]
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	... 14 more
[17:25:47] [User Authenticator #3/INFO]: UUID of player Link_Darck is 206c9524-bbcb-413b-99c8-96c86381e82d
[17:25:47] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to Novaconomy v1.8.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.players.PlayerList.a(PlayerList.java:295) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.a(ServerConfigurationPacketListenerImpl.java:129) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.a(SourceFile:20) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.a(SourceFile:7) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:32) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1133) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1112) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1105) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.u_(MinecraftServer.java:1089) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1000) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:298) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3890-Spigot-a0f3d48-df3738a]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassCastException: class java.lang.Integer cannot be cast to class net.minecraft.network.NetworkManager (java.lang.Integer is in module java.base of loader 'bootstrap'; net.minecraft.network.NetworkManager is in unnamed module of loader java.net.URLClassLoader @c4437c4)
	at us.teaminceptus.novaconomy.v1_20_R2.Wrapper1_20_R2.addPacketInjector(Wrapper1_20_R2.java:94) ~[?:?]
	at us.teaminceptus.novaconomy.Events.onJoin(Events.java:72) ~[?:?]
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:577) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]
	... 21 more
[17:25:47] [Server thread/INFO]: Link_Darck[/192.168.0.28:56597] logged in with entity id 3188 at ([spawn]-190.76728287616916, 87.0, -111.73374973247613)
[17:25:51] [Server thread/INFO]: Link_Darck issued server command: /gm 1
[17:25:54] [Server thread/INFO]: Link_Darck issued server command: /gamemode 1
[17:25:57] [Server thread/INFO]: Link_Darck issued server command: /gamemode creative
[17:25:57] [Server thread/INFO]: [Link_Darck: Set own game mode to Creative Mode]
[17:26:10] [Server thread/INFO]: Link_Darck issued server command: /novaconfig
[17:26:14] [Server thread/INFO]: Link_Darck issued server command: /novasettings
[17:26:14] [Server thread/WARN]: java.lang.ExceptionInInitializerError
[17:26:14] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:637)
[17:26:14] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:66)
[17:26:14] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.abstraction.CommandWrapper.settings(CommandWrapper.java:1204)
[17:26:14] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.CommandWrapperV2.settings(CommandWrapperV2.java:286)
[17:26:14] [Server thread/WARN]: Caused by: java.lang.NullPointerException: Profile name must not be null
[17:26:14] [Server thread/WARN]: 	at java.base/java.util.Objects.requireNonNull(Objects.java:233)
[17:26:14] [Server thread/WARN]: 	at com.mojang.authlib.GameProfile.<init>(GameProfile.java:31)
[17:26:14] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.head(Items.java:172)
[17:26:14] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.<clinit>(Items.java:97)
[17:26:14] [Server thread/WARN]: 	... 4 more
[17:26:22] [Server thread/INFO]: Link_Darck issued server command: /novasettings corporation
[17:26:48] [Server thread/INFO]: Link_Darck issued server command: /novaconfig
[17:27:24] [Server thread/INFO]: Link_Darck issued server command: /ehelp
[17:27:31] [Server thread/INFO]: Link_Darck issued server command: /nsettings
[17:27:31] [Server thread/WARN]: java.lang.NoClassDefFoundError: Could not initialize class us.teaminceptus.novaconomy.util.inventory.Items
[17:27:31] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:637)
[17:27:31] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:66)
[17:27:31] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.abstraction.CommandWrapper.settings(CommandWrapper.java:1204)
[17:27:31] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.CommandWrapperV2.settings(CommandWrapperV2.java:286)
[17:27:31] [Server thread/WARN]: Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NullPointerException: Profile name must not be null [in thread "Server thread"]
[17:27:31] [Server thread/WARN]: 	at java.base/java.util.Objects.requireNonNull(Objects.java:233)
[17:27:31] [Server thread/WARN]: 	at com.mojang.authlib.GameProfile.<init>(GameProfile.java:31)
[17:27:31] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.head(Items.java:172)
[17:27:31] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.<clinit>(Items.java:97)
[17:27:31] [Server thread/WARN]: 	... 4 more
[17:28:31] [Server thread/INFO]: Link_Darck issued server command: /novaconfig
[17:28:38] [Server thread/INFO]: Link_Darck issued server command: /novaconfig setdefaultecon
[17:29:03] [Server thread/INFO]: Link_Darck issued server command: /nsettings
[17:29:03] [Server thread/WARN]: java.lang.NoClassDefFoundError: Could not initialize class us.teaminceptus.novaconomy.util.inventory.Items
[17:29:03] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:637)
[17:29:03] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:66)
[17:29:03] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.abstraction.CommandWrapper.settings(CommandWrapper.java:1204)
[17:29:03] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.CommandWrapperV2.settings(CommandWrapperV2.java:286)
[17:29:03] [Server thread/WARN]: Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NullPointerException: Profile name must not be null [in thread "Server thread"]
[17:29:03] [Server thread/WARN]: 	at java.base/java.util.Objects.requireNonNull(Objects.java:233)
[17:29:03] [Server thread/WARN]: 	at com.mojang.authlib.GameProfile.<init>(GameProfile.java:31)
[17:29:03] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.head(Items.java:172)
[17:29:03] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.<clinit>(Items.java:97)
[17:29:03] [Server thread/WARN]: 	... 4 more
[17:30:06] [Server thread/INFO]: Link_Darck issued server command: /economy create
[17:30:20] [Server thread/INFO]: Link_Darck issued server command: /economy create Yen
[17:30:32] [Server thread/INFO]: Link_Darck issued server command: /economy create Yen ¥
[17:30:57] [Server thread/INFO]: Link_Darck issued server command: /economy create Yen ¥ amethyst_shard
[17:30:57] [Server thread/INFO]: [Novaconomy] VaultEconomy is disabled in the config - Registering All Economies...
[17:30:57] [Server thread/INFO]: [Novaconomy] Registered All Economies, Main Economy is: Yen (69e8187a-8af4-32ca-bb95-e6027ecfc9bf)
[17:31:09] [Server thread/INFO]: Link_Darck issued server command: /novabal
[17:31:09] [Server thread/WARN]: java.lang.NoClassDefFoundError: Could not initialize class us.teaminceptus.novaconomy.util.inventory.Items
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.getBalancesGUI(Generator.java:743)
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.abstraction.CommandWrapper.balance(CommandWrapper.java:218)
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.CommandWrapperV2.balance(CommandWrapperV2.java:238)
[17:31:09] [Server thread/WARN]: Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NullPointerException: Profile name must not be null [in thread "Server thread"]
[17:31:09] [Server thread/WARN]: 	at java.base/java.util.Objects.requireNonNull(Objects.java:233)
[17:31:09] [Server thread/WARN]: 	at com.mojang.authlib.GameProfile.<init>(GameProfile.java:31)
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.head(Items.java:172)
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.<clinit>(Items.java:97)
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:637)
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:66)
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.abstraction.CommandWrapper.settings(CommandWrapper.java:1204)
[17:31:09] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.CommandWrapperV2.settings(CommandWrapperV2.java:286)
[17:31:11] [Server thread/INFO]: Link_Darck issued server command: /novabal
[17:31:11] [Server thread/WARN]: java.lang.NoClassDefFoundError: Could not initialize class us.teaminceptus.novaconomy.util.inventory.Items
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.getBalancesGUI(Generator.java:743)
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.abstraction.CommandWrapper.balance(CommandWrapper.java:218)
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.CommandWrapperV2.balance(CommandWrapperV2.java:238)
[17:31:11] [Server thread/WARN]: Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NullPointerException: Profile name must not be null [in thread "Server thread"]
[17:31:11] [Server thread/WARN]: 	at java.base/java.util.Objects.requireNonNull(Objects.java:233)
[17:31:11] [Server thread/WARN]: 	at com.mojang.authlib.GameProfile.<init>(GameProfile.java:31)
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.head(Items.java:172)
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Items.<clinit>(Items.java:97)
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:637)
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.util.inventory.Generator.genGUI(Generator.java:66)
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.abstraction.CommandWrapper.settings(CommandWrapper.java:1204)
[17:31:11] [Server thread/WARN]: 	at us.teaminceptus.novaconomy.CommandWrapperV2.settings(CommandWrapperV2.java:286)

Additional Info

[18:02:46] [Server thread/INFO]: This server is running CraftBukkit version 3895-Spigot-a0f3d48-041b29a (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT)
[18:02:46] [Server thread/INFO]: Checking version, please wait...
[18:02:46] [Thread-34/INFO]: You are running the latest version

Thank you in advance for correcting the problem, the plugin is great

ajh123 commented

There are similar bugs in 1.20.1

For example clicking a player head (that's not yourself) in /novaboard causes

[16:40:21] [Server thread/ERROR] [Minecraft/]: Could not pass event InventoryClickEvent to Novaconomy v1.8.1
org.bukkit.event.EventException: null
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[arclight-1.20.1-1.0.0-053d747.jar%23124!/:arclight-1.20.1-1.0.0-053d747] {re:mixin,re:classloading}
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[arclight-1.20.1-1.0.0-053d747.jar%23124!/:arclight-1.20.1-1.0.0-053d747] {re:mixin,re:classloading,re:mixin}
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[arclight-1.20.1-1.0.0-053d747.jar%23124!/:arclight-1.20.1-1.0.0-053d747] {re:mixin,re:classloading,re:mixin}
        at net.minecraft.server.network.ServerGamePacketListenerImpl.m_5914_(ServerPlayNetHandlerMixin.java:3323) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_servergamepacketlistenerimpl_handleinteract,xf:fml:openpartiesandclaims:xaero_pac_servergamepacketlistenerimpl,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_servergamepacketlistenerimpl_handleinteract,xf:fml:openpartiesandclaims:xaero_pac_servergamepacketlistenerimpl,pl:mixin:APP:mixins.arclight.core.json:network.ServerPlayNetHandlerMixin,pl:mixin:APP:automobility.mixins.json:ServerGamePacketListenerImplMixin,pl:mixin:APP:mixins.arclight.impl.forge.optimization.json:network.ServerGamePacketListenerImplMixin_Optimize,pl:mixin:A,pl:arclight_implementer:logger,pl:arclight_implementer:A,re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_servergamepacketlistenerimpl_handleinteract,xf:fml:openpartiesandclaims:xaero_pac_servergamepacketlistenerimpl}
        at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:56) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,re:classloading}
        at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.m_5797_(ServerboundContainerClickPacket.java:12) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,re:classloading}
        at net.minecraft.network.protocol.PacketUtils.md6acd29$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:537) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.core.json:network.protocol.PacketThreadUtilMixin,pl:mixin:A}
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:classloading}
        at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:computing_frames,re:mixin,re:classloading,re:mixin}
        at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServerMixin.java:770) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass}
        at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServerMixin.java:161) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass}
        at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServerMixin.java:753) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass}
        at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServerMixin.java:747) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass}
        at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:139) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServerMixin.java:733) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass}
        at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServerMixin.java:2074) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass}
        at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServerMixin.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23147!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass}
        at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin,re:mixin}
Caused by: java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Player.getDisplayName()" because "op" is null
        at us.teaminceptus.novaconomy.abstraction.CommandWrapper.lambda$playerStatistics$71(CommandWrapper.java:1791) ~[?:?] {}
        at us.teaminceptus.novaconomy.abstraction.NBTWrapper.builder(NBTWrapper.java:41) ~[?:?] {}
        at us.teaminceptus.novaconomy.abstraction.CommandWrapper.playerStatistics(CommandWrapper.java:1788) ~[?:?] {}
        at us.teaminceptus.novaconomy.CommandWrapperV2.playerStatistics(CommandWrapperV2.java:308) ~[?:?] {}
        at us.teaminceptus.novaconomy.GUIManager.lambda$static$64(GUIManager.java:941) ~[?:?] {}
        at us.teaminceptus.novaconomy.GUIManager.click(GUIManager.java:1769) ~[?:?] {}
        ... 20 more

My guess is that some (or all) Bukkit events are not handled properly

Draft Commit in b9c7d90. Not tested.

Draft Commit in b9c7d90. Not tested.

Can you compile the plugin? I will test if necessary.
please thank you in advance

Experimental Artifacts are available on GitHub Actions, downloaded as a ZIP. A short tutorial is available here.

ajh123 commented

The error in /novaboard still occurs but /novabal and /bal always worked for me in 1.20.1

Fixed both the 1.20.2 issues and command issues in 94f67e4 and 4e9e079, and tested.