Skript

Skript

743k Downloads

ObjectOpenHashSet not found in Spigot versions 1.17.1 and below

sovdeeth opened this issue ยท 0 comments

commented

Skript/Server Version

Skript doesn't enable, so /sk info doesn't work.

Skript: 2.8.1
Server: spigot 1.17.1, 1.16.5, 1.13.2
Addons: skript-reflect 2.4 (selfbuilt)

Bug Description

Skript fails to enable due to missing it/unimi/dsi/fastutil/objects/ObjectOpenHashSet.
This seems to occur on all Spigot versions below 1.18.

Expected Behavior

Skript should launch normally.

Steps to Reproduce

Start Skript 2.8+ with a spigot jar below 1.18

Errors or Screenshots

[14:55:36] [Server thread/INFO]: [Skript] Enabling Skript v2.8.0
[14:55:36] [Server thread/ERROR]: Error occurred while enabling Skript v2.8.0 (Is it up to date?)
java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/objects/ObjectOpenHashSet
        at ch.njol.skript.aliases.AliasesProvider.<init>(AliasesProvider.java:176) ~[?:?]
        at ch.njol.skript.aliases.Aliases.createProvider(Aliases.java:82) ~[?:?]
        at ch.njol.skript.aliases.Aliases.<clinit>(Aliases.java:61) ~[?:?]
        at ch.njol.skript.Skript.onEnable(Skript.java:508) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:492) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:406) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:554) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:257) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:928) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:273) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at java.lang.Thread.run(Thread.java:835) [?:?]
Caused by: java.lang.ClassNotFoundException: it.unimi.dsi.fastutil.objects.ObjectOpenHashSet
        at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:140) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:99) ~[spigot-1.16.5.jar:3096a-Spigot-9fb885e-af1a232]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
        ... 14 more

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.