Solved Null console error using certain code..

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Krazy

Member
Jan 26, 2017
68
4
8
22
Hi, I've been using Skript 2.2 v8b and have been getting:
code_language.skript:
13.02 18:22:07 [Server] ERROR #!#!
13.02 18:22:07 [Server] ERROR #!#! [Skript] Severe Error:
13.02 18:22:07 [Server] ERROR #!#! Could not load ebook.sk
13.02 18:22:07 [Server] ERROR #!#!
13.02 18:22:07 [Server] ERROR #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
13.02 18:22:07 [Server] ERROR #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
13.02 18:22:07 [Server] ERROR #!#! and check whether this error has already been reported.
13.02 18:22:07 [Server] ERROR #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
13.02 18:22:07 [Server] ERROR #!#! and describe what you did before it happened and/or what you think caused the error.
13.02 18:22:07 [Server] ERROR #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
13.02 18:22:07 [Server] ERROR #!#! By following this guide fixing the error should be easy and done fast.
13.02 18:22:07 [Server] ERROR #!#!
13.02 18:22:07 [Server] ERROR #!#! Stack trace:
13.02 18:22:07 [Server] ERROR #!#! ch.njol.skript.SkriptAPIException: No class info found for player'
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:242)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.getExprInfo(SkriptParser.java:1394)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1115)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:220)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:175)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:60)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:650)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:510)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:268)
13.02 18:22:07 [Server] ERROR #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:155)
13.02 18:22:07 [Server] ERROR #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
13.02 18:22:07 [Server] ERROR #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146)
13.02 18:22:07 [Server] ERROR #!#!     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1189)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
13.02 18:22:07 [Server] ERROR #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
13.02 18:22:07 [Server] ERROR #!#!     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713)
13.02 18:22:07 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616)
13.02 18:22:07 [Server] ERROR #!#!     at java.lang.Thread.run(Thread.java:745)
13.02 18:22:07 [Server] ERROR #!#!
13.02 18:22:07 [Server] ERROR #!#! Version Information:
13.02 18:22:07 [Server] ERROR #!#!   Skript: 2.2-Fixes-V8b
13.02 18:22:07 [Server] ERROR #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
13.02 18:22:07 [Server] ERROR #!#!   Minecraft: 1.8.8
13.02 18:22:07 [Server] ERROR #!#!   Java: 1.8.0_111 (OpenJDK 64-Bit Server VM 25.111-b15)
13.02 18:22:07 [Server] ERROR #!#!   OS: Linux amd64 3.10.0-327.36.3.el7.x86_64
13.02 18:22:07 [Server] ERROR #!#!
13.02 18:22:07 [Server] ERROR #!#! Running CraftBukkit: false
13.02 18:22:07 [Server] ERROR #!#!
13.02 18:22:07 [Server] ERROR #!#! Current node: set cursor-item of player to air (ebook.sk, line 2)
13.02 18:22:07 [Server] ERROR #!#! Current item: null
13.02 18:22:07 [Server] ERROR #!#!
13.02 18:22:07 [Server] ERROR #!#! Thread: Server thread
13.02 18:22:07 [Server] ERROR #!#!
13.02 18:22:07 [Server] ERROR #!#! End of Error.
13.02 18:22:07 [Server] WARN #!#!
13.02 18:22:07 [Server] WARN #!#! [Umbaska] List of plugins:
13.02 18:22:07 [Server] WARN #!#! NametagEdit - 3.0.2, VoxelSniper - 5.170.0-SNAPSHOT-jnks317-gitfcb8fe1, BossBarAPI - 2.4.1, EpicWorldGenerator - 7.2.9, ViaVersion - 1.0.4, AsyncWorldEditInjector - 2.2.2, WorldEdit - 6.1;no_git_id, HealthBar - 1.8.3, Skript - 2.2-Fixes-V8b, skDragon - 0.13.1, SkQuery - 3.22.1, WorldBorder - 1.8.5, BuycraftX - 10.1.4, Votifier - 1.8, Multiverse-Core - 2.4-b527, ProtocolLib - 3.7.0-BETA, SkStuff - 1.2.3, VPNGuard - 3.0, weeTrade - 1.5, AsyncWorldEdit - 2.2.2, ObsidianBreaker - 2.0 Bug Fix, WildSkript - 1.8, MundoSK - 1.6.3, PermissionsEx - 1.22.7-SNAPSHOT, skUtilities - 0.8.8, Vault - 1.5.6-b49, ExertSK - 0.1.3b, ExtrasSK - 1.1, HolographicDisplays - 2.1.12, SkAction - 2.2, WorldGuard - 6.1, SkMorkaz - 0.0.1, AuctionHouse - 3.3, RandomSK - 2.7.1, CustomTab - 1.1, Essentials - 2.0.1-b322, Citizens - 2.0.16-SNAPSHOT (build 1267), MergedMob - 8.6.2, EssentialsChat - 2.0.1-b322, PirateSK - 0.4.1, Factions - 1.6.9.5-U0.1.18-b302, skRayFall - 1.7.3, FactionsTop - 1.1.1, SkRambled - 1.9, EssentialsSpawn - 2.0.1-b322, FBasics - 2.1.8, SilkSpawners - 3.7.4, Skellett - 1.7.8, Umbaska - 2.0 Beta 5.5.1, TuSKe - 1.7
13.02 18:22:07 [Server] WARN #!#!
13.02 18:22:07 [Server] WARN #!#! [Umbaska] List of addons:
13.02 18:22:07 [Server] WARN #!#! Skellett v1.7.8skRayFall v1.7.3WildSkript v1.8MundoSK v1.6.3SkRambled v1.9PirateSK v0.4.1skDragon v0.13.1ExertSK v0.1.3bskUtilities v0.8.8Umbaska v2.0 Beta 5.5.1SkQuery v3.22.1ExtrasSK v1.1TuSKe v1.7RandomSK v2.7.1SkStuff v1.2.3SkMorkaz v0.0.1
13.02 18:22:07 [Server] WARN #!#!
13.02 18:22:07 [Server] ERROR #!#!
For different code, where "Current node" is will be where the code is, it worked on my older server ,just transferred the files and now it doesn't work.. doesn't load the skript and no in-game errors. It's really annoying since I can't do anything to know what causes or fix it..
 
I'm going to assume that's because an addon got a typo in the syntax, making this error come out every time you try to use the "cursor item of %player%" expression.

I see Skript complaining about player' (with the apostrophe) not being a type, so I'm assuming it's a kind of typo like "%player'%s cursor item" in the syntax.
Don't know from what addon this syntax is (Skellet/Umbaska?)

Could be wrong though.
 
I'm going to assume that's because an addon got a typo in the syntax, making this error come out every time you try to use the "cursor item of %player%" expression.

I see Skript complaining about player' (with the apostrophe) not being a type, so I'm assuming it's a kind of typo like "%player'%s cursor item" in the syntax.
Don't know from what addon this syntax is (Skellet/Umbaska?)

Could be wrong though.
SkMoraz, yes the actual syntax states it is cursor item of player, I tried both and got the same outcome. This also happens with ALL header/footer syntax, and other weird pieces of code, it happens with random addons and removing/updating doesn't fix. What I also find odd is that I literally moved VIA FTP the files, worked (exact code) on old server, same Skript ver, now it doesn't and produces errors. Same with header/footer, very strange and I hope there is a fix... or way to get around it.
[doublepost=1487114729,1487103883][/doublepost]Okay - very odd, uploaded the same versions of plugins from my old server and now the error isn't existent lol... if someone that knows java or what is going on here, please tell me because if this happens again I will die inside, for now this is solved as far as I know... If you have this problem just try going back older versions or updating plugins or looking in configs, it happens on random pieces of code from different addons, odd.
 
Someone earlier on Discord had the same issue, but with syntaxes from skRF.

I honestly have no idea what causes it since skRF syntaxes are okay.
 
Status
Not open for further replies.