this never happened until last days idk
seems like its failing to pull somth from github
love the plugin but this is crashing small servers, flooding consoles
and the only fix is to remove your plugin
[22:23:35 WARN]: [ServersNPC] Plugin ServersNPC v4.2 generated an exception while executing task 95
java.lang.AssertionError: can't invoke method: updateScoreboard
at io.github.gonalez.znpcs.npc.packet.PacketCache.lambda$getOrCache$0(PacketCache.java:54) ~[znpcs-4.2 (1).jar:?]
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) ~[?:?]
at io.github.gonalez.znpcs.npc.packet.PacketCache.getOrCache(PacketCache.java:50) ~[znpcs-4.2 (1).jar:?]
at io.github.gonalez.znpcs.npc.packet.PacketCache$PacketHandler.invoke(PacketCache.java:82) ~[znpcs-4.2 (1).jar:?]
at jdk.proxy14.$Proxy158.updateScoreboard(Unknown Source) ~[znpcs-4.2 (1).jar:?]
at io.github.gonalez.znpcs.npc.NPC.spawn(NPC.java:217) ~[znpcs-4.2 (1).jar:?]
at io.github.gonalez.znpcs.npc.task.NPCManagerTask.run(NPCManagerTask.java:32) ~[znpcs-4.2 (1).jar:?]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.4.jar:git-Paper-550]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.4.jar:git-Paper-550]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at io.github.gonalez.znpcs.npc.packet.PacketCache.lambda$getOrCache$0(PacketCache.java:52) ~[znpcs-4.2 (1).jar:?]
... 12 more
Caused by: java.lang.IllegalArgumentException
at jdk.internal.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at io.github.gonalez.znpcs.npc.packet.Packet.updateScoreboard(Packet.java:84) ~[znpcs-4.2 (1).jar:?]
at jdk.internal.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at io.github.gonalez.znpcs.npc.packet.PacketCache.lambda$getOrCache$0(PacketCache.java:52) ~[znpcs-4.2 (1).jar:?]
... 12 more
this never happened until last days idk seems like its failing to pull somth from github love the plugin but this is crashing small servers, flooding consoles and the only fix is to remove your plugin
[22:23:35 WARN]: [ServersNPC] Plugin ServersNPC v4.2 generated an exception while executing task 95 java.lang.AssertionError: can't invoke method: updateScoreboard at io.github.gonalez.znpcs.npc.packet.PacketCache.lambda$getOrCache$0(PacketCache.java:54) ~[znpcs-4.2 (1).jar:?] at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) ~[?:?] at io.github.gonalez.znpcs.npc.packet.PacketCache.getOrCache(PacketCache.java:50) ~[znpcs-4.2 (1).jar:?] at io.github.gonalez.znpcs.npc.packet.PacketCache$PacketHandler.invoke(PacketCache.java:82) ~[znpcs-4.2 (1).jar:?] at jdk.proxy14.$Proxy158.updateScoreboard(Unknown Source) ~[znpcs-4.2 (1).jar:?] at io.github.gonalez.znpcs.npc.NPC.spawn(NPC.java:217) ~[znpcs-4.2 (1).jar:?] at io.github.gonalez.znpcs.npc.task.NPCManagerTask.run(NPCManagerTask.java:32) ~[znpcs-4.2 (1).jar:?] at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.4.jar:git-Paper-550] at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.4.jar:git-Paper-550] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.4.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:840) ~[?:?] Caused by: java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at io.github.gonalez.znpcs.npc.packet.PacketCache.lambda$getOrCache$0(PacketCache.java:52) ~[znpcs-4.2 (1).jar:?] ... 12 more Caused by: java.lang.IllegalArgumentException at jdk.internal.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at io.github.gonalez.znpcs.npc.packet.Packet.updateScoreboard(Packet.java:84) ~[znpcs-4.2 (1).jar:?] at jdk.internal.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at io.github.gonalez.znpcs.npc.packet.PacketCache.lambda$getOrCache$0(PacketCache.java:52) ~[znpcs-4.2 (1).jar:?] ... 12 more