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

Error saving visual effect #4196

Open
1 task done
toonystank opened this issue Jul 16, 2021 · 5 comments
Open
1 task done

Error saving visual effect #4196

toonystank opened this issue Jul 16, 2021 · 5 comments
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. needs testing Needs testing to determine current status or issue validity, or for WIP feature pulls. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.

Comments

@toonystank
Copy link

toonystank commented Jul 16, 2021

Skript/Server Version

[15:58:50 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[15:58:50 INFO]: [Skript] Skript's documentation can be found here: https://skriptlang.github.io/Skript
[15:58:50 INFO]: [Skript] Server Version: git-Purpur-1271 (MC: 1.17.1)
[15:58:50 INFO]: [Skript] Skript Version: 2.6-beta2
[15:58:50 INFO]: [Skript] Installed Skript Addons:
[15:58:50 INFO]: [Skript] - skript-placeholders v1.5 (https://github.com/APickledWalrus/skript-placeholders)
[15:58:50 INFO]: [Skript] - skRayFall v1.9.26 (https://sk.rayfall.net/)
[15:58:50 INFO]: [Skript] - SkQuery v4.1.5
[15:58:50 INFO]: [Skript] - SkBee v1.11.2 (https://github.com/ShaneBeee/SkBee)

Bug Description

Error on using virtual effect as command argument type

Expected Behavior

Argument to work without error

Steps to Reproduce

command /test [] []

Errors or Screenshots

java.lang.NoClassDefFoundError: ch/njol/skript/util/VisualEffect
at net.rayfall.eyesniper2.skrayfall.effectlibsupport.EffEffectLibText.execute(EffEffectLibText.kt:54) ~[?:?]
at ch.njol.skript.lang.Effect.run(Effect.java:51) ~[?:?]
at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:60) ~[?:?]
at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88) ~[?:?]
at ch.njol.skript.lang.Trigger.execute(Trigger.java:56) ~[?:?]
at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:289) ~[?:?]
at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:250) ~[?:?]
at ch.njol.skript.command.Commands.handleCommand(Commands.java:258) ~[?:?]
at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:175) ~[?:?]
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[patched_1.17.1.jar:git-Purpur-1271]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.17.1.jar:git-Purpur-1271]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Purpur-1271]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.1.jar:git-Purpur-1271]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2293) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2112) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2093) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:6) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Purpur-1271]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1422) ~[patched_1.17.1.jar:git-Purpur-1271]
at net.minecraft.server.MinecraftServer.shouldRun(MinecraftServer.java:190) ~[patched_1.17.1.jar:git-Purpur-1271]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1400) ~[patched_1.17.1.jar:git-Purpur-1271]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1393) ~[patched_1.17.1.jar:git-Purpur-1271]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1369) ~[patched_1.17.1.jar:git-Purpur-1271]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1280) ~[patched_1.17.1.jar:git-Purpur-1271]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Purpur-1271]
at java.lang.Thread.run(Thread.java:831) [?:?]
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! [Skript] Severe Error:
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! Something went horribly wrong with Skript.
[15:54:32 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[15:54:32 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[15:54:32 ERROR]: #!#! Here is full list of them:
[15:54:32 ERROR]: #!#! skript-placeholders v1.5 (https://github.com/APickledWalrus/skript-placeholders) skRayFall v1.9.26 (https://sk.rayfall.net/) SkBee v1.11.2 (https://github.com/ShaneBeee/SkBee) SkQuery v4.1.5 DiscordSRV v1.23.0 (https://github.com/DiscordSRV/DiscordSRV)
[15:54:32 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[15:54:32 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[15:54:32 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[15:54:32 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[15:54:32 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[15:54:32 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! Stack trace:
[15:54:32 ERROR]: #!#! java.io.NotSerializableException: ch.njol.skript.util.visual.VisualEffectType
[15:54:32 ERROR]: #!#! at ch.njol.yggdrasil.YggdrasilOutputStream.writeGenericObject(YggdrasilOutputStream.java:174)
[15:54:32 ERROR]: #!#! at ch.njol.yggdrasil.YggdrasilOutputStream.writeObject(YggdrasilOutputStream.java:249)
[15:54:32 ERROR]: #!#! at ch.njol.yggdrasil.YggdrasilOutputStream.writeGenericObject(YggdrasilOutputStream.java:199)
[15:54:32 ERROR]: #!#! at ch.njol.yggdrasil.YggdrasilOutputStream.writeObject(YggdrasilOutputStream.java:249)
[15:54:32 ERROR]: #!#! at ch.njol.skript.registrations.Classes.serialize(Classes.java:730)
[15:54:32 ERROR]: #!#! at ch.njol.skript.variables.Variables.serialize(Variables.java:527)
[15:54:32 ERROR]: #!#! at ch.njol.skript.variables.Variables.serialize(Variables.java:521)
[15:54:32 ERROR]: #!#! at ch.njol.skript.variables.Variables.saveVariableChange(Variables.java:531)
[15:54:32 ERROR]: #!#! at ch.njol.skript.variables.Variables.setVariable(Variables.java:364)
[15:54:32 ERROR]: #!#! at ch.njol.skript.variables.Variables.setVariable(Variables.java:355)
[15:54:32 ERROR]: #!#! at ch.njol.skript.lang.Variable.set(Variable.java:441)
[15:54:32 ERROR]: #!#! at ch.njol.skript.lang.Variable.change(Variable.java:497)
[15:54:32 ERROR]: #!#! at ch.njol.skript.effects.EffChange.execute(EffChange.java:282)
[15:54:32 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:51)
[15:54:32 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:60)
[15:54:32 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
[15:54:32 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
[15:54:32 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:289)
[15:54:32 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:250)
[15:54:32 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:194)
[15:54:32 ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[15:54:32 ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:172)
[15:54:32 ERROR]: #!#! at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:821)
[15:54:32 ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.handleCommand(PlayerConnection.java:2301)
[15:54:32 ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2112)
[15:54:32 ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2093)
[15:54:32 ERROR]: #!#! at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46)
[15:54:32 ERROR]: #!#! at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:6)
[15:54:32 ERROR]: #!#! at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:56)
[15:54:32 ERROR]: #!#! at net.minecraft.server.TickTask.run(TickTask.java:18)
[15:54:32 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:149)
[15:54:32 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(IAsyncTaskHandlerReentrant.java:23)
[15:54:32 ERROR]: #!#! at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:1422)
[15:54:32 ERROR]: #!#! at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:190)
[15:54:32 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:122)
[15:54:32 ERROR]: #!#! at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1400)
[15:54:32 ERROR]: #!#! at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1393)
[15:54:32 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:132)
[15:54:32 ERROR]: #!#! at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1369)
[15:54:32 ERROR]: #!#! at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1280)
[15:54:32 ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[15:54:32 ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:831)
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! Version Information:
[15:54:32 ERROR]: #!#! Skript: 2.6-beta2 (latest)
[15:54:32 ERROR]: #!#! Flavor: skriptlang-github
[15:54:32 ERROR]: #!#! Date: 08:57:41.422360
[15:54:32 ERROR]: #!#! Bukkit: 1.17.1-R0.1-SNAPSHOT
[15:54:32 ERROR]: #!#! Minecraft: 1.17.1
[15:54:32 ERROR]: #!#! Java: 16.0.1 (OpenJDK 64-Bit Server VM 16.0.1+9-24)
[15:54:32 ERROR]: #!#! OS: Linux amd64 5.8.0-1036-azure
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! Server platform: Paper
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! Current node: null
[15:54:32 ERROR]: #!#! Current item: null
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! Thread: Server thread
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! Language: english
[15:54:32 ERROR]: #!#! Link parse mode: DISABLED
[15:54:32 ERROR]: #!#!
[15:54:32 ERROR]: #!#! End of Error.
[15:54:32 ERROR]: #!#!

Other

No response

Agreement

  • I have read the guidelines above and confirm I am following them with this report.
@TPGamesNL
Copy link
Member

Can you send the code that caused this error (the command)?

@TPGamesNL TPGamesNL added the waiting for reply The report needs a response from the reporter to determine course of action. label Jul 16, 2021
@toonystank
Copy link
Author

toonystank commented Jul 16, 2021

it works fine on other versions but here you go

command /particletext [<text>] [<text>] [<text>] [<visual effect>] [<text>]:

@TPGamesNL
Copy link
Member

Probably fixed by #4123

@TPGamesNL TPGamesNL added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. PR available Issues which have a yet-to-be merged PR resolving it priority: low Issues that are not harmful to the experience but are related to useful changes or additions. and removed waiting for reply The report needs a response from the reporter to determine course of action. labels Jul 16, 2021
@TPGamesNL TPGamesNL changed the title Error on virtual effect command argument type Error saving visual effect Jul 16, 2021
@UsainSrht
Copy link

Continues on 1.18-1.19

@TheLimeGlass TheLimeGlass added completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it labels Mar 11, 2023
@TheLimeGlass TheLimeGlass added needs testing Needs testing to determine current status or issue validity, or for WIP feature pulls. and removed completed The issue has been fully resolved and the change will be in the next Skript update. labels Aug 2, 2023
@TheLimeGlass TheLimeGlass reopened this Aug 2, 2023
@aRandomMenno
Copy link

Continues in 1.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. needs testing Needs testing to determine current status or issue validity, or for WIP feature pulls. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.
Projects
None yet
Development

No branches or pull requests

5 participants