skRayFall

skRayFall

297k Downloads

Error: Set ID based score

TheTonyk opened this issue ยท 4 comments

commented

Hi,

I obtain this error when i try to set an ID based score, can you help me ?

java.lang.NullPointerException
net.rayfall.eyesniper2.skRayFall.Scoreboard.EffSetIDBasedScore.execute(EffSetIDBasedScore.java:55)

Thanks !

commented

Can you please post the full error and the code you are trying to use.

commented
[19:16:39] [Server thread/ERROR]: #!#! 
[19:16:39] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[19:16:39] [Server thread/ERROR]: #!#! 
[19:16:39] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[19:16:39] [Server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[19:16:39] [Server thread/ERROR]: #!#! and check whether this error has already been reported.
[19:16:39] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[19:16:39] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[19:16:39] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[19:16:39] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[19:16:39] [Server thread/ERROR]: #!#! 
[19:16:39] [Server thread/ERROR]: #!#! Stack trace:
[19:16:39] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[19:16:39] [Server thread/ERROR]: #!#!     at net.rayfall.eyesniper2.skRayFall.Scoreboard.EffSetIDBasedScore.execute(EffSetIDBasedScore.java:55)
[19:16:39] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:54)
[19:16:39] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[19:16:39] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[19:16:39] [Server thread/ERROR]: #!#!     at ch.njol.skript.effects.Delay$1.run(Delay.java:84)
[19:16:39] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[19:16:39] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[19:16:39] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
[19:16:39] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
[19:16:39] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[19:16:39] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[19:16:39] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Thread.java:745)
[19:16:39] [Server thread/ERROR]: #!#! 
[19:16:39] [Server thread/ERROR]: #!#! Version Information:
[19:16:39] [Server thread/ERROR]: #!#!   Skript: 2.2-SNAPSHOT
[19:16:39] [Server thread/ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
[19:16:39] [Server thread/ERROR]: #!#!   Minecraft: 1.8.8
[19:16:39] [Server thread/ERROR]: #!#!   Java: 1.8.0_66 (Java HotSpot(TM) 64-Bit Server VM 25.66-b17)
[19:16:39] [Server thread/ERROR]: #!#!   OS: Linux amd64 3.14.32-xxxx-grs-ipv6-64
[19:16:39] [Server thread/ERROR]: #!#! 
[19:16:39] [Server thread/ERROR]: #!#! Running CraftBukkit: false
[19:16:39] [Server thread/ERROR]: #!#! 
[19:16:39] [Server thread/ERROR]: #!#! Current node: null
[19:16:39] [Server thread/ERROR]: #!#! Current item: null
[19:16:39] [Server thread/ERROR]: #!#! 
[19:16:39] [Server thread/ERROR]: #!#! Thread: Server thread
[19:16:39] [Server thread/ERROR]: #!#! 
[19:16:39] [Server thread/ERROR]: #!#! End of Error.
[19:16:39] [Server thread/ERROR]: #!#! 

But i find why, i try to apply same ID to differents scores.

Btw, thanks for this awesome addon. If you want ideas for new features: apply effects without particles (like/effect minecraft:effect 30 2 true in vanilla)

commented

Could you please also post the skript code you are trying to use. This is so I can replicate the issue on my end and fix it.

commented

Since it has been over a month since the last replay and there has been an large update I will be closing this ticket. Please have a look at the update and then repost the report with the information requested above if the issue continues.

Happy Skripting!