Skip to content

An unexpected error occurred with Skript #205

Description

@GamersOr

Skript/Server Version
[19:13:58] [Server thread/ERROR]: #!#! Skript: 2.10.2 (latest)
[19:13:58] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
[19:13:58] [Server thread/ERROR]: #!#! Date: 13:26:22.247586600
[19:13:58] [Server thread/ERROR]: #!#! Bukkit: 1.21.4-R0.1-SNAPSHOT
[19:13:58] [Server thread/ERROR]: #!#! Minecraft: 1.21.4
[19:13:58] [Server thread/ERROR]: #!#! Java: 21.0.2 (Java HotSpot(TM) 64-Bit Server VM 21.0.2+13-LTS-58)
[19:13:58] [Server thread/ERROR]: #!#! OS: Linux amd64 4.19.0-27-amd64

[19:13:58] [Server thread/ERROR]: #!#! Full list of addons:
[19:13:58] [Server thread/ERROR]: #!#! PoaSk v4.12.4 (https://github.com/Ekpoa/PoaSkRewritev2)
[19:13:58] [Server thread/ERROR]: #!#! SkBee v3.10.2 (https://github.com/ShaneBeee/SkBee)
[19:13:58] [Server thread/ERROR]: #!#! skript-reflect v2.6 (https://github.com/SkriptLang/skript-reflect)
[19:13:58] [Server thread/ERROR]: #!#! skRayFall v1.9.28 (https://sk.rayfall.net/)
[19:13:58] [Server thread/ERROR]: #!#! SkQuery v4.3.2
[19:13:58] [Server thread/ERROR]: #!#! ItemsAdder v4.0.9-hotfix-1 (devs.beer)
[19:13:58] [Server thread/ERROR]: #!#! skript-placeholders v1.7.0 (https://github.com/APickledWalrus/skript-placeholders)
Bug Description
[19:13:58] [Server thread/ERROR]: #!#!
[19:13:58] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[19:13:58] [Server thread/ERROR]: #!#!
[19:13:58] [Server thread/ERROR]: #!#! An unexpected error occurred with Skript. This issue is likely not your fault.
[19:13:58] [Server thread/ERROR]: #!#! You are using some plugins that alter how Skript works (addons).
[19:13:58] [Server thread/ERROR]: #!#! Full list of addons:
[19:13:58] [Server thread/ERROR]: #!#! PoaSk v4.12.4 (https://github.com/Ekpoa/PoaSkRewritev2)
[19:13:58] [Server thread/ERROR]: #!#! SkBee v3.10.2 (https://github.com/ShaneBeee/SkBee)
[19:13:58] [Server thread/ERROR]: #!#! skript-reflect v2.6 (https://github.com/SkriptLang/skript-reflect)
[19:13:58] [Server thread/ERROR]: #!#! skRayFall v1.9.28 (https://sk.rayfall.net/)
[19:13:58] [Server thread/ERROR]: #!#! SkQuery v4.3.2
[19:13:58] [Server thread/ERROR]: #!#! ItemsAdder v4.0.9-hotfix-1 (devs.beer)
[19:13:58] [Server thread/ERROR]: #!#! skript-placeholders v1.7.0 (https://github.com/APickledWalrus/skript-placeholders)
[19:13:58] [Server thread/ERROR]: #!#! We could not identify related addons, it might also be a Skript issue.
[19:13:58] [Server thread/ERROR]: #!#! Try temporarily removing the listed plugins one by one to identify the cause.
[19:13:58] [Server thread/ERROR]: #!#! If removing a plugin resolves the issue, please report the problem to the plugin developer.
[19:13:58] [Server thread/ERROR]: #!#!
[19:13:58] [Server thread/ERROR]: #!#! Stack trace:
[19:13:58] [Server thread/ERROR]: #!#! Caused by: java.lang.NullPointerException: Cannot invoke "ch.njol.skript.aliases.ItemType.hasBlock()" because the return value of "ch.njol.skript.lang.Expression.getSingle(org.bukkit.event.Event)" is null
[19:13:58] [Server thread/ERROR]: #!#! at SkQuery-4.3.2.jar//com.skquery.skquery.elements.conditions.CondIsBlock.check(CondIsBlock.java:35)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.lang.Condition.evaluate(Condition.java:78)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.lang.Condition.evaluate(Condition.java:23)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//org.skriptlang.skript.lang.condition.Conditional.evaluate(Conditional.java:45)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//org.skriptlang.skript.lang.condition.Conditional.evaluateAnd(Conditional.java:105)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//org.skriptlang.skript.lang.condition.CompoundConditional.evaluate(CompoundConditional.java:85)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//org.skriptlang.skript.lang.condition.CompoundConditional.evaluate(CompoundConditional.java:68)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.sections.SecConditional.checkConditions(SecConditional.java:400)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.sections.SecConditional.walk(SecConditional.java:288)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:67)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.lang.Trigger.execute(Trigger.java:33)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.SkriptEventHandler.lambda$execute$2(SkriptEventHandler.java:165)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.SkriptEventHandler.lambda$execute$3(SkriptEventHandler.java:176)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.util.Task.callSync(Task.java:147)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.util.Task.callSync(Task.java:131)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.SkriptEventHandler.execute(SkriptEventHandler.java:174)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:120)
[19:13:58] [Server thread/ERROR]: #!#! at Skript-2.10.2.jar//ch.njol.skript.SkriptEventHandler$PriorityListener.lambda$new$0(SkriptEventHandler.java:46)
[19:13:58] [Server thread/ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[19:13:58] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[19:13:58] [Server thread/ERROR]: #!#! at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[19:13:58] [Server thread/ERROR]: #!#! at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
[19:13:58] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.network.ServerGamePacketListenerImpl$2.performInteraction(ServerGamePacketListenerImpl.java:2766)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.network.ServerGamePacketListenerImpl$2.onInteraction(ServerGamePacketListenerImpl.java:2820)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.network.protocol.game.ServerboundInteractPacket$InteractionAtLocationAction.dispatch(ServerboundInteractPacket.java:179)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.network.protocol.game.ServerboundInteractPacket.dispatch(ServerboundInteractPacket.java:91)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.network.ServerGamePacketListenerImpl.handleInteract(ServerGamePacketListenerImpl.java:2756)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:78)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:14)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.TickTask.run(TickTask.java:18)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1379)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1387)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264)
[19:13:58] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310)
[19:13:58] [Server thread/ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:1583)
[19:13:58] [Server thread/ERROR]: #!#!
[19:13:58] [Server thread/ERROR]: #!#! Skript: 2.10.2 (latest)
[19:13:58] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
[19:13:58] [Server thread/ERROR]: #!#! Date: 13:26:22.247586600
[19:13:58] [Server thread/ERROR]: #!#! Bukkit: 1.21.4-R0.1-SNAPSHOT
[19:13:58] [Server thread/ERROR]: #!#! Minecraft: 1.21.4
[19:13:58] [Server thread/ERROR]: #!#! Java: 21.0.2 (Java HotSpot(TM) 64-Bit Server VM 21.0.2+13-LTS-58)
[19:13:58] [Server thread/ERROR]: #!#! OS: Linux amd64 4.19.0-27-amd64
[19:13:58] [Server thread/ERROR]: #!#!
[19:13:58] [Server thread/ERROR]: #!#! Server platform: Paper
[19:13:58] [Server thread/ERROR]: #!#!
[19:13:58] [Server thread/ERROR]: #!#! Current node: null
[19:13:58] [Server thread/ERROR]: #!#! Current item: if (the clicked block >> ch.njol.skript.lang.util.ConvertedExpression$$Lambda/0x00007f5bfa777178@790cdc09: ConverterInfo{from=interface org.bukkit.block.Block,to=class ch.njol.skript.aliases.ItemType,converter=ch.njol.skript.classes.data.DefaultConverters$$Lambda/0x00007f5bfa012158@2d07878d,flags=9}) is block
[19:13:58] [Server thread/ERROR]: #!#! Current trigger: click (click) (Zaidimai/kur-avis.sk, line 83)
[19:13:58] [Server thread/ERROR]: #!#! Thread: Server thread
[19:13:58] [Server thread/ERROR]: #!#! Language: english
[19:13:58] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[19:13:58] [Server thread/ERROR]: #!#! End of Error.
[19:13:58] [Server thread/ERROR]: #!#!

Expected Behavior
I amnt sure

Steps to Reproduce
All was AFK

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions