Hey, I have an issue with TuSKe in combination with Skript.
I already tried to update both and updated my server version to the last acceptable version for me and our community.
I hope someone got some ideas about these issues and thanks a lot in advance!
Error on startup:
When trying the command from the official docs from TuSKe (https://github.com/Tuke-Nuke/TuSKe/wiki/GUI-Manager#how-to-make-a-gui) I get this error:
I already tried to update both and updated my server version to the last acceptable version for me and our community.
I hope someone got some ideas about these issues and thanks a lot in advance!
Code:
[16:17:12 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[16:17:12 INFO]: [Skript] Skript's documentation can be found here: https://skriptlang.github.io/Skript
[16:17:12 INFO]: [Skript] Server Version: git-Paper-1618 (MC: 1.12.2)
[16:17:12 INFO]: [Skript] Skript Version: 2.5.3
[16:17:12 INFO]: [Skript] Installed Skript Addons:
[16:17:12 INFO]: [Skript] - TuSKe v1.8.2 (github.com/Tuke-Nuke/TuSKe)
Error on startup:
Code:
[16:14:05] [Server thread/INFO]: [Skript] ~ created by & © Peter Güttinger aka Njol ~
[16:14:05] [Server thread/INFO]: [TuSKe] Enabling TuSKe v1.8.2
[16:14:05] [Server thread/INFO]: [TuSKe] Enabling Metrics... Done!
[16:14:05] [Server thread/INFO]: [TuSKe] Check for updates enabled. It will check in some seconds.
[16:14:05] [Server thread/INFO]: [TuSKe] Documentation enabled. Some files containing all syntax of all addons will be generated.
[16:14:05] [Server thread/INFO]: [TuSKe]
[16:14:05] [Server thread/INFO]: [TuSKe] A special thanks for donators:
[16:14:05] [Server thread/INFO]: [TuSKe] @X0Freak - 50$
[16:14:05] [Server thread/INFO]: [TuSKe] @RepublicanSensei - 10$
[16:14:05] [Server thread/INFO]: [TuSKe]
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[16:14:05] [Server thread/ERROR]: #!#! TuSKe's class com.github.tukenuke.tuske.effects.EffMakeDrop generated an exception while loading
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[16:14:05] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[16:14:05] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[16:14:05] [Server thread/ERROR]: #!#! Following plugins are probably related to this error in some way:
[16:14:05] [Server thread/ERROR]: #!#! TuSKe (github.com/Tuke-Nuke/TuSKe)
[16:14:05] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[16:14:05] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[16:14:05] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[16:14:05] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[16:14:05] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! Stack trace:
[16:14:05] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[16:14:05] [Server thread/ERROR]: #!#! at com.github.tukenuke.tuske.effects.EffMakeDrop.<clinit>(EffMakeDrop.java:25)
[16:14:05] [Server thread/ERROR]: #!#! at java.lang.Class.forName0(Native Method)
[16:14:05] [Server thread/ERROR]: #!#! at java.lang.Class.forName(Class.java:348)
[16:14:05] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptAddon.loadClasses(SkriptAddon.java:107)
[16:14:05] [Server thread/ERROR]: #!#! at com.github.tukenuke.tuske.TuSKe.onEnable(TuSKe.java:100)
[16:14:05] [Server thread/ERROR]: #!#! at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[16:14:05] [Server thread/ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316)
[16:14:05] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[16:14:05] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395)
[16:14:05] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344)
[16:14:05] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442)
[16:14:05] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403)
[16:14:05] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341)
[16:14:05] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289)
[16:14:05] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616)
[16:14:05] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! Version Information:
[16:14:05] [Server thread/ERROR]: #!#! Skript: 2.5.3 (latest)
[16:14:05] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
[16:14:05] [Server thread/ERROR]: #!#! Date: 2020-12-11
[16:14:05] [Server thread/ERROR]: #!#! Bukkit: 1.12.2-R0.1-SNAPSHOT
[16:14:05] [Server thread/ERROR]: #!#! Minecraft: 1.12.2
[16:14:05] [Server thread/ERROR]: #!#! Java: 1.8.0_265 (OpenJDK 64-Bit Server VM 25.265-b01)
[16:14:05] [Server thread/ERROR]: #!#! OS: Linux amd64 4.15.0-122-generic
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! Server platform: Paper
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! Current node: null
[16:14:05] [Server thread/ERROR]: #!#! Current item: null
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! Thread: Server thread
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! Language: english
[16:14:05] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[16:14:05] [Server thread/ERROR]: #!#!
[16:14:05] [Server thread/ERROR]: #!#! End of Error.
[16:14:05] [Server thread/ERROR]: #!#!
Code:
[16:22:31] [Server thread/INFO]: RalfCamora issued server command: /test
[16:22:31] [Server thread/INFO]: RalfCamora [b3c1b137-4ac7-4b2e-bb64-a7cdc64c91ac]: /test
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[16:22:31] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[16:22:31] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[16:22:31] [Server thread/ERROR]: #!#! Here is full list of them:
[16:22:31] [Server thread/ERROR]: #!#! TuSKe v1.8.2 (github.com/Tuke-Nuke/TuSKe)
[16:22:31] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[16:22:31] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[16:22:31] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[16:22:31] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[16:22:31] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[16:22:31] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! Stack trace:
[16:22:31] [Server thread/ERROR]: #!#! java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.WeakHashMap
[16:22:31] [Server thread/ERROR]: #!#! at com.github.tukenuke.tuske.util.VariableUtil.<init>(VariableUtil.java:24)
[16:22:31] [Server thread/ERROR]: #!#! at com.github.tukenuke.tuske.util.VariableUtil.getInstance(VariableUtil.java:17)
[16:22:31] [Server thread/ERROR]: #!#! at com.github.tukenuke.tuske.sections.gui.EffMakeGUI.execute(EffMakeGUI.java:77)
[16:22:31] [Server thread/ERROR]: #!#! at com.github.tukenuke.tuske.util.EffectSection.check(EffectSection.java:54)
[16:22:31] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Condition.run(Condition.java:55)
[16:22:31] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Conditional.walk(Conditional.java:50)
[16:22:31] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
[16:22:31] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
[16:22:31] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:291)
[16:22:31] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:250)
[16:22:31] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:248)
[16:22:31] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:165)
[16:22:31] [Server thread/ERROR]: #!#! at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:35)
[16:22:31] [Server thread/ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[16:22:31] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[16:22:31] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1484)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1297)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
[16:22:31] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[16:22:31] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
[16:22:31] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
[16:22:31] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! Version Information:
[16:22:31] [Server thread/ERROR]: #!#! Skript: 2.5.3 (latest)
[16:22:31] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
[16:22:31] [Server thread/ERROR]: #!#! Date: 2020-12-11
[16:22:31] [Server thread/ERROR]: #!#! Bukkit: 1.12.2-R0.1-SNAPSHOT
[16:22:31] [Server thread/ERROR]: #!#! Minecraft: 1.12.2
[16:22:31] [Server thread/ERROR]: #!#! Java: 1.8.0_265 (OpenJDK 64-Bit Server VM 25.265-b01)
[16:22:31] [Server thread/ERROR]: #!#! OS: Linux amd64 4.15.0-122-generic
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! Server platform: Paper
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! Current node: null
[16:22:31] [Server thread/ERROR]: #!#! Current item: make next gui slot of gui with ([[itemtype:diamond sword]] named "PvP server" >> ch.njol.skript.classes.data.DefaultConverters$14@2f151eb3: itemtype -> itemstack)
[16:22:31] [Server thread/ERROR]: #!#! Current trigger: command /test (simple event) (join leave death.sk, line -1)
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! Thread: Server thread
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! Language: english
[16:22:31] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[16:22:31] [Server thread/ERROR]: #!#!
[16:22:31] [Server thread/ERROR]: #!#! End of Error.
[16:22:31] [Server thread/ERROR]: #!#!