[HELP] Console errors on CraftEvents while using skript.

Discussion in 'Skript' started by mark22padre, Apr 16, 2017.

  1. I have my plugin RareItemHunter installed and it works pretty well, but when I use Skript it sends me console errors everytime I place an item on the crafting table.
    My Skript plugins are: Skellet, SkQuery, skRayFall, Skript 2.2, skUtilities and WildSkript.
    The error only happens when I use the skript plugins. I really need help, I have tried to compile my plugin adding the Skript APIs but it still throws the error. I think the error is caused by WildSkript but I donĀ“t know how to fix it. Here is the error:
    Code (Text):
    [09:32:40 ERROR]: Could not pass event PrepareItemCraftEvent to RareItemHunter v1.6.11
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.dzikoysk.wildskript.objects.recipe.ResultEvent.onInventoryClick(ResultEvent.java:49) [WildSkript.jar:?]
            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [spigot.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1657) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-PaperSpigot-"8b18730"]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [spigot.jar:git-PaperSpigot-"8b18730"]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
    Caused by: java.lang.NullPointerException
            at com.ne0nx3r0.rareitemhunter.recipe.RecipeManager.getRecipeResult(RecipeManager.java:504) ~[?:?]
            at com.ne0nx3r0.rareitemhunter.listener.RareItemHunterPlayerListener.onCraftItem(RareItemHunterPlayerListener.java:195) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            ... 25 more
    [09:32:40 ERROR]: Could not pass event PrepareItemCraftEvent to RareItemHunter v1.6.11
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.dzikoysk.wildskript.objects.recipe.ResultEvent.onInventoryClick(ResultEvent.java:49) [WildSkript.jar:?]
            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [spigot.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1657) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-PaperSpigot-"8b18730"]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [spigot.jar:git-PaperSpigot-"8b18730"]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
    Caused by: java.lang.NullPointerException
            at com.ne0nx3r0.rareitemhunter.recipe.RecipeManager.getRecipeResult(RecipeManager.java:504) ~[?:?]
            at com.ne0nx3r0.rareitemhunter.listener.RareItemHunterPlayerListener.onCraftItem(RareItemHunterPlayerListener.java:195) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            ... 25 more
    [09:32:40 ERROR]: Could not pass event PrepareItemCraftEvent to RareItemHunter v1.6.11
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.dzikoysk.wildskript.objects.recipe.ResultEvent.onInventoryClick(ResultEvent.java:49) [WildSkript.jar:?]
            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [spigot.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1657) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-PaperSpigot-"8b18730"]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [spigot.jar:git-PaperSpigot-"8b18730"]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
    Caused by: java.lang.NullPointerException
            at com.ne0nx3r0.rareitemhunter.recipe.RecipeManager.getRecipeResult(RecipeManager.java:504) ~[?:?]
            at com.ne0nx3r0.rareitemhunter.listener.RareItemHunterPlayerListener.onCraftItem(RareItemHunterPlayerListener.java:195) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            ... 25 more
    [09:32:40 ERROR]: Could not pass event PrepareItemCraftEvent to RareItemHunter v1.6.11
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.dzikoysk.wildskript.objects.recipe.ResultEvent.onInventoryClick(ResultEvent.java:49) [WildSkript.jar:?]
            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [spigot.jar:git-PaperSpigot-"8b18730"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot.jar:git-PaperSpigot-"8b18730"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1657) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-PaperSpigot-"8b18730"]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [spigot.jar:git-PaperSpigot-"8b18730"]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [spigot.jar:git-PaperSpigot-"8b18730"]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
    Caused by: java.lang.NullPointerException
            at com.ne0nx3r0.rareitemhunter.recipe.RecipeManager.getRecipeResult(RecipeManager.java:504) ~[?:?]
            at com.ne0nx3r0.rareitemhunter.listener.RareItemHunterPlayerListener.onCraftItem(RareItemHunterPlayerListener.java:195) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[spigot.jar:git-PaperSpigot-"8b18730"]
            ... 25 more
    Thank you a lot!
     
    #1 mark22padre, Apr 16, 2017
    Last edited: Apr 16, 2017
  2. I don't believe any of our active members know how to fix such things. I don't think that Wildskript is active or being updated, so, you probably won't receive any help from the owner(s). You could post help here on SkUnity, they are smarter! They think they are!