Error when default variable was not saved in hints #5647
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
Skript/Server Version
Bug Description
error
Expected Behavior
not crash
Steps to Reproduce
nothink
Errors or Screenshots
Save New Duplicate & Edit Just Text Twitter
Uploaded on: 2023-04-26 19:39:14
Server name: elyprac.xyz
Server ID: b7d55c91-6c05-4049-a121-69c5d440a37e
Server node: R5(9)
Server Disk: 664.38MB
Server docker image: ghcr.io/pterodactyl/yolks:java_17
Server egg: Purpur
Server owner: milk (710)
[19:38:17 ERROR]: #!#! at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
[19:38:17 ERROR]: #!#! at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
[19:38:17 ERROR]: #!#! at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[19:38:17 ERROR]: #!#! at java.base/java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:637)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.sections.SecConditional.checkConditions(SecConditional.java:363)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.sections.SecConditional.walk(SecConditional.java:272)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:90)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Trigger.execute(Trigger.java:52)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:146)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.SkriptEventHandler.access$000(SkriptEventHandler.java:47)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.SkriptEventHandler$PriorityListener.lambda$new$0(SkriptEventHandler.java:60)
[19:38:17 ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[19:38:17 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[19:38:17 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:678)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.Skript.dispatchCommand(Skript.java:1526)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.effects.EffCommand.execute(EffCommand.java:82)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Effect.run(Effect.java:50)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:62)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:90)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Trigger.execute(Trigger.java:52)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:312)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.command.ScriptCommand.lambda$execute$0(ScriptCommand.java:277)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:282)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.command.Commands.handleCommand(Commands.java:193)
[19:38:17 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:152)
[19:38:17 ERROR]: #!#! at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40)
[19:38:17 ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[19:38:17 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[19:38:17 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:678)
[19:38:17 ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.b(PlayerConnection.java:2354)
[19:38:17 ERROR]: #!#! at net.minecraft.server.network.PlayerConnection.lambda$handleChatCommand$21(PlayerConnection.java:2340)
[19:38:17 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.b(IAsyncTaskHandler.java:59)
[19:38:17 ERROR]: #!#! at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[19:38:17 ERROR]: #!#! at net.minecraft.server.TickTask.run(TickTask.java:18)
[19:38:17 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[19:38:17 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[19:38:17 ERROR]: #!#! at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1368)
[19:38:17 ERROR]: #!#! at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185)
[19:38:17 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126)
[19:38:17 ERROR]: #!#! at net.minecraft.server.MinecraftServer.bh(MinecraftServer.java:1345)
[19:38:17 ERROR]: #!#! at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1338)
[19:38:17 ERROR]: #!#! at net.minecraft.util.thread.IAsyncTaskHandler.bq(IAsyncTaskHandler.java:114)
[19:38:17 ERROR]: #!#! at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1472)
[19:38:17 ERROR]: #!#! at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1194)
[19:38:17 ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:310)
[19:38:17 ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:833)
[19:38:17 ERROR]: #!#!
[19:38:17 ERROR]: #!#! Version Information:
[19:38:17 ERROR]: #!#! Skript: 2.7.0-beta2 (latest)
[19:38:17 ERROR]: #!#! Flavor: skriptlang-github
[19:38:17 ERROR]: #!#! Date: 23:34:46.821464600
[19:38:17 ERROR]: #!#! Bukkit: 1.19.2-R0.1-SNAPSHOT
[19:38:17 ERROR]: #!#! Minecraft: 1.19.2
[19:38:17 ERROR]: #!#! Java: 17.0.6 (OpenJDK 64-Bit Server VM 17.0.6+10)
[19:38:17 ERROR]: #!#! OS: Linux amd64 5.15.85-1-pve
[19:38:17 ERROR]: #!#!
[19:38:17 ERROR]: #!#! Server platform: Paper
[19:38:17 ERROR]: #!#!
[19:38:17 ERROR]: #!#! Current node: null
[19:38:17 ERROR]: #!#! Current item: if {vCheck.sprawdz::%the player%} (as java.lang.Object) is equal to [[boolean:true]] (comparator: null)
[19:38:17 ERROR]: #!#! Current trigger: command (command) (sprawdzanko.sk, line 124)
[19:38:17 ERROR]: #!#!
[19:38:17 ERROR]: #!#! Thread: Server thread
[19:38:17 ERROR]: #!#!
[19:38:17 ERROR]: #!#! Language: english
[19:38:17 ERROR]: #!#! Link parse mode: DISABLED
[19:38:17 ERROR]: #!#!
[19:38:17 ERROR]: #!#! End of Error.
[19:38:17 ERROR]: #!#!
[19:38:17 INFO]: [Essentials] CONSOLE issued server command: /warp lobby _Ny9
[19:38:21 WARN]: _Ny9 moved too quickly! 353.2643160902245,27.0,-410.3842896906092
[19:38:24 INFO]: MILKmilkus issued server command: /tp kolococta
[19:38:24 WARN]: MILKmilkus moved too quickly! 12.589511746431299,23.599335481080743,0.19999998807907104
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! [Skript] Severe Error:
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! Something went horribly wrong with Skript.
[19:38:24 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[19:38:24 ERROR]: #!#! You should report it at https://github.com/SkriptLang/Skript/issues. Please copy paste this report there (or use paste service).
[19:38:24 ERROR]: #!#! This ensures that your issue is noticed and will be fixed as soon as possible.
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! Stack trace:
[19:38:24 ERROR]: #!#! java.lang.NullPointerException: Cannot load from object array because the return value of "ch.njol.skript.structures.StructVariables$DefaultVariables.get(String)" is null
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.VariableString.getDefaultVariableNames(VariableString.java:607)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Variable.getRaw(Variable.java:326)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Variable.get(Variable.java:341)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Variable.getConverted(Variable.java:488)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Variable.getAll(Variable.java:710)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Variable.check(Variable.java:732)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.conditions.CondCompare.check(CondCompare.java:308)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.sections.SecConditional.lambda$checkConditions$1(SecConditional.java:363)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
[19:38:24 ERROR]: #!#! at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[19:38:24 ERROR]: #!#! at java.base/java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:637)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.sections.SecConditional.checkConditions(SecConditional.java:363)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.sections.SecConditional.walk(SecConditional.java:272)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:90)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Trigger.execute(Trigger.java:52)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:146)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.SkriptEventHandler.access$000(SkriptEventHandler.java:47)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.SkriptEventHandler$PriorityListener.lambda$new$0(SkriptEventHandler.java:60)
[19:38:24 ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[19:38:24 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[19:38:24 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:678)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.Skript.dispatchCommand(Skript.java:1526)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.effects.EffCommand.execute(EffCommand.java:82)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.Effect.run(Effect.java:50)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:62)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:90)
[19:38:24 ERROR]: #!#! at Skript-2.7.0-beta2 (1).jar//ch.njol.skript.effects.Delay.lambda$walk$0(Delay.java:107)
[19:38:24 ERROR]: #!#! at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101)
[19:38:24 ERROR]: #!#! at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[19:38:24 ERROR]: #!#! at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1500)
[19:38:24 ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:486)
[19:38:24 ERROR]: #!#! at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1424)
[19:38:24 ERROR]: #!#! at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1194)
[19:38:24 ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:310)
[19:38:24 ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:833)
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! Version Information:
[19:38:24 ERROR]: #!#! Skript: 2.7.0-beta2 (latest)
[19:38:24 ERROR]: #!#! Flavor: skriptlang-github
[19:38:24 ERROR]: #!#! Date: 23:34:46.821464600
[19:38:24 ERROR]: #!#! Bukkit: 1.19.2-R0.1-SNAPSHOT
[19:38:24 ERROR]: #!#! Minecraft: 1.19.2
[19:38:24 ERROR]: #!#! Java: 17.0.6 (OpenJDK 64-Bit Server VM 17.0.6+10)
[19:38:24 ERROR]: #!#! OS: Linux amd64 5.15.85-1-pve
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! Server platform: Paper
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! Current node: null
[19:38:24 ERROR]: #!#! Current item: if {vCheck.sprawdz::%the player%} (as java.lang.Object) is equal to [[boolean:true]] (comparator: null)
[19:38:24 ERROR]: #!#! Current trigger: command (command) (sprawdzanko.sk, line 124)
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! Thread: Server thread
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! Language: english
[19:38:24 ERROR]: #!#! Link parse mode: DISABLED
[19:38:24 ERROR]: #!#!
[19:38:24 ERROR]: #!#! End of Error.
[19:38:24 ERROR]: #!#!
[19:38:24 INFO]: [Essentials] CONSOLE issued server command: /tp _Ny9 35 291 -52
[19:38:24 INFO]: Teleportacja…
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: