You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enter skript-reflect, open the server, then close the server.
Errors or Screenshots
[16:59:00] [Server thread/INFO]: [skript-reflect] Disabling skript-reflect v2.4
[16:59:00] [Server thread/ERROR]: Could not pass event PluginDisableEvent to Skript v2.8.1
java.lang.NullPointerException: Cannot invoke "java.util.Map.remove(Object)" because "syntaxes" is null
at org.skriptlang.reflect.syntax.CustomSyntaxStructure.lambda$unload$1(CustomSyntaxStructure.java:158) ~[skript-reflect.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
at org.skriptlang.reflect.syntax.CustomSyntaxStructure.unload(CustomSyntaxStructure.java:153) ~[skript-reflect.jar:?]
at ch.njol.skript.ScriptLoader.unloadScripts(ScriptLoader.java:830) ~[Skript.jar:?]
at ch.njol.skript.Skript.beforeDisable(Skript.java:1192) ~[Skript.jar:?]
at ch.njol.skript.Skript.onPluginDisable(Skript.java:1126) ~[Skript.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor313.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:git-Purpur-2136]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.4.jar:git-Purpur-2136]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.4.jar:git-Purpur-2136]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:221) ~[purpur-1.20.4.jar:git-Purpur-2136]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugins(PaperPluginInstanceManager.java:147) ~[purpur-1.20.4.jar:git-Purpur-2136]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugins(PaperPluginManagerImpl.java:92) ~[purpur-1.20.4.jar:git-Purpur-2136]
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:528) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.disablePlugins(CraftServer.java:582) ~[purpur-1.20.4.jar:git-Purpur-2136]
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:986) ~[purpur-1.20.4.jar:git-Purpur-2136]
at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:861) ~[purpur-1.20.4.jar:git-Purpur-2136]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1288) ~[purpur-1.20.4.jar:git-Purpur-2136]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2136]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
Other
Besides that, there are other addons that do that.
What could be the problem?
Agreement
I have read the guidelines above and affirm I am following them with this report.
The text was updated successfully, but these errors were encountered:
Please always make sure this is actually a Skript bug by testing without addons. I believe this is a skript-reflect bug. See SkriptLang/skript-reflect#86.
Let us know if it persists without addons.
Skript/Server Version
Bug Description
This is what appears when you close the server.
Expected Behavior
There should be no errors
Steps to Reproduce
Enter skript-reflect, open the server, then close the server.
Errors or Screenshots
[16:59:00] [Server thread/INFO]: [skript-reflect] Disabling skript-reflect v2.4
[16:59:00] [Server thread/ERROR]: Could not pass event PluginDisableEvent to Skript v2.8.1
java.lang.NullPointerException: Cannot invoke "java.util.Map.remove(Object)" because "syntaxes" is null
at org.skriptlang.reflect.syntax.CustomSyntaxStructure.lambda$unload$1(CustomSyntaxStructure.java:158) ~[skript-reflect.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
at org.skriptlang.reflect.syntax.CustomSyntaxStructure.unload(CustomSyntaxStructure.java:153) ~[skript-reflect.jar:?]
at ch.njol.skript.ScriptLoader.unloadScripts(ScriptLoader.java:830) ~[Skript.jar:?]
at ch.njol.skript.Skript.beforeDisable(Skript.java:1192) ~[Skript.jar:?]
at ch.njol.skript.Skript.onPluginDisable(Skript.java:1126) ~[Skript.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor313.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:git-Purpur-2136]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.4.jar:git-Purpur-2136]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.4.jar:git-Purpur-2136]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:221) ~[purpur-1.20.4.jar:git-Purpur-2136]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugins(PaperPluginInstanceManager.java:147) ~[purpur-1.20.4.jar:git-Purpur-2136]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugins(PaperPluginManagerImpl.java:92) ~[purpur-1.20.4.jar:git-Purpur-2136]
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:528) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.disablePlugins(CraftServer.java:582) ~[purpur-1.20.4.jar:git-Purpur-2136]
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:986) ~[purpur-1.20.4.jar:git-Purpur-2136]
at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:861) ~[purpur-1.20.4.jar:git-Purpur-2136]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1288) ~[purpur-1.20.4.jar:git-Purpur-2136]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2136]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
Other
Besides that, there are other addons that do that.
What could be the problem?
Agreement
The text was updated successfully, but these errors were encountered: