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

Denizen plugin starts with errors #376

Open
4 of 6 tasks
Mapter228 opened this issue Nov 11, 2024 · 0 comments
Open
4 of 6 tasks

Denizen plugin starts with errors #376

Mapter228 opened this issue Nov 11, 2024 · 0 comments
Labels
T-bug Type: Something isn't working

Comments

@Mapter228
Copy link

Mapter228 commented Nov 11, 2024

Basic questions:

  • I am actually using ketting, and not any other software (e.g. magma)
  • I am using the latest Ketting version at the time of writing for the Minecraft version, that I am using
  • I have provided full server logs and not a crash-report
  • I have checked all items without reading.
  • I have provided proper reproduction steps
  • I have ticked all boxes

What Minecraft Version is your Server on?

1.20.1

Full Ketting Version

1.20.1 0.3.30

Description of behavior

When I start the server with the Denizen plugin, errors appear that prevent the scripts from working.

Reproduction Steps

Steps to reproduce the behavior:
1. Use above Version with plugin Denizen (build 1795) with the version 1.20.1 0.3.30
2. Run the server
3. See the error

Logs

[16:40:47] [Server thread/INFO] [co.de.de.Denizen/]: [Denizen] Enabling Denizen v1.2.8-SNAPSHOT (build 1795-REL)
[16:40:47] [Server thread/INFO] [/]: +> [DenizenCore] Initializing Denizen Core v1.91.0-SNAPSHOT (Build 1355), impl for Spigot v1.2.8-SNAPSHOT (build 1795-REL)
[16:40:48] [Server thread/INFO] [/]: +> [Denizen] Running on java version: 17.0.11
[16:40:48] [Server thread/INFO] [/]: +> [Denizen] Running on fully supported Java 17.
[16:40:51] [Server thread/INFO] [/]: ERROR!
[16:40:51] [Server thread/INFO] [/]: Error Message: Internal exception was thrown!
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.lang.NoSuchMethodException: net.minecraft.server.players.PlayerList.remove(net.minecraft.server.level.ServerPlayer)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.Class.getDeclaredMethod(Class.java:2675)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizencore.utilities.ReflectionHelper.getMethod(ReflectionHelper.java:135)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizencore.utilities.ReflectionHelper.getMethodHandle(ReflectionHelper.java:167)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.nms.v1_20.helpers.EntityHelperImpl.(EntityHelperImpl.java:760)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.nms.v1_20.Handler.(Handler.java:88)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.Class.newInstance(Class.java:645)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.nms.NMSHandler.initialize(NMSHandler.java:58)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.Denizen.onEnable(Denizen.java:152)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:481)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:572)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:440)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130006_(MinecraftServer.java:383)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.dedicated.DedicatedServer.m_7038_(DedicatedServer.java:243)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:887)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:269)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.Thread.run(Thread.java:840)
[16:40:51] [Server thread/INFO] [/]:
[16:40:51] [Server thread/INFO] [/]: Additional Error Info: [ReflectionHelper]Reflection method missing - Tried to read method 'remove' of class 'net.minecraft.server.players.PlayerList'.
[16:40:51] [Server thread/INFO] [/]: Additional Error Info: Internal exception was thrown!
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.getDeclaringClass()" because "m" is null
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.invoke.MethodHandles$Lookup.unreflect(MethodHandles.java:3335)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizencore.utilities.ReflectionHelper.getMethodHandle(ReflectionHelper.java:167)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.nms.v1_20.helpers.EntityHelperImpl.(EntityHelperImpl.java:760)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.nms.v1_20.Handler.(Handler.java:88)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.Class.newInstance(Class.java:645)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.nms.NMSHandler.initialize(NMSHandler.java:58)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.Denizen.onEnable(Denizen.java:152)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:481)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:572)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:440)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130006_(MinecraftServer.java:383)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.dedicated.DedicatedServer.m_7038_(DedicatedServer.java:243)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:887)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:269)
[16:40:51] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.Thread.run(Thread.java:840)
[16:40:51] [Server thread/INFO] [/]:
[16:40:51] [Server thread/WARN] [co.de.de.Denizen/]: [Denizen] Citizens does not seem to be available! Denizen will have reduced functionality!
[16:40:51] [Server thread/INFO] [/]: +> [Denizen] +-------------------------+
[16:40:51] [Server thread/INFO] [/]: +> [Denizen] Denizen scriptable minecraft
[16:40:51] [Server thread/INFO] [/]: +> [Denizen]
[16:40:51] [Server thread/INFO] [/]: +> [Denizen] by: The DenizenScript team
[16:40:51] [Server thread/INFO] [/]: +> [Denizen] Chat with us at: https://discord.gg/Q6pZGSR
[16:40:51] [Server thread/INFO] [/]: +> [Denizen] Or learn more at: https://denizenscript.com
[16:40:51] [Server thread/INFO] [/]: +> [Denizen] version: 1.2.8-SNAPSHOT (build 1795-REL)
[16:40:51] [Server thread/INFO] [/]: +> [Denizen] +-------------------------+
[16:40:56] [Server thread/INFO] [/]: +> [Denizen] Loaded 147 core commands and 28 core object types, at 9581ms from start.
[16:40:57] [Server thread/INFO] [/]: ERROR!
[16:40:57] [Server thread/INFO] [/]: Error Message: Could not load scripts!
[16:40:57] [Server thread/INFO] [/]: Additional Error Info: Internal exception was thrown!
[16:40:57] [Server thread/INFO] [/]: [Error Continued] java.lang.ClassCastException: class java.util.HashMap cannot be cast to class it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap (java.util.HashMap is in module java.base of loader 'bootstrap'; it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap is in module it.unimi.dsi.fastutil@8.5.12 of loader 'MC-BOOTSTRAP' @25e2ab5a)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.nms.v1_20.helpers.ItemHelperImpl.clearDenizenRecipes(ItemHelperImpl.java:105)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.scripts.containers.core.ItemScriptHelper.removeDenizenRecipes(ItemScriptHelper.java:57)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.utilities.implementation.DenizenCoreImplementation.preScriptReload(DenizenCoreImplementation.java:67)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizencore.DenizenCore.lambda$preloadScripts$0(DenizenCore.java:185)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizencore.scripts.ScriptHelper.lambda$reloadScripts$0(ScriptHelper.java:43)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizencore.scripts.ScriptHelper.reloadScripts(ScriptHelper.java:64)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizencore.DenizenCore.preloadScripts(DenizenCore.java:182)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] com.denizenscript.denizen.Denizen.onEnable(Denizen.java:367)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:481)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:572)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/forge@47.3.11-0.3.30/org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:440)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130006_(MinecraftServer.java:383)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.dedicated.DedicatedServer.m_7038_(DedicatedServer.java:243)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:887)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:269)
[16:40:57] [Server thread/INFO] [/]: [Error Continued] java.base/java.lang.Thread.run(Thread.java:840)
[16:40:57] [Server thread/INFO] [/]:
[16:40:57] [Server thread/INFO] [/]: +> [Denizen] Final full init took 9934ms.

Additional context

No response

@Mapter228 Mapter228 added the T-bug Type: Something isn't working label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant