1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved skQuery spam error

Discussion in 'Skript' started by Adrihun, May 9, 2017.

Thread Status:
Not open for further replies.
  1. Adrihun

    Adrihun Member

    Joined:
    Feb 1, 2017
    Messages:
    368
    Likes Received:
    6
    When I kick a player with kick player due to "test"
    skQquery gives me a big error message in console (once).

    Also, when players get kicked for using world downloader, the same thing happens (i'm using AntiWDL plugin from spigot)


    Here is the error Message:
    Code (Skript):
    1. [17:07:25 ERROR]: Could not pass event PlayerQuitEvent to SkQuery v3.21.4
    2. org.bukkit.event.EventException
    3.         at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    4. va:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    5.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    6. a:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    7.         at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    8. ava:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
    9.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    10. ava:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
    11.         at net.minecraft.server.v1_8_R3.PlayerList.disconnect(PlayerList.java:34
    12. 8) [spigot.jar:git-Spigot-db6de12-18fbb24]
    13.         at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java
    14. :871) [spigot.jar:git-Spigot-db6de12-18fbb24]
    15.         at net.minecraft.server.v1_8_R3.PlayerConnection.disconnect(PlayerConnec
    16. tion.java:183) [spigot.jar:git-Spigot-db6de12-18fbb24]
    17.         at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.kickPlayer(CraftPla
    18. yer.java:217) [spigot.jar:git-Spigot-db6de12-18fbb24]
    19.         at ch.njol.skript.effects.EffKick.execute(EffKick.java:84) [SkSkript.jar
    20. :?]
    21.         at ch.njol.skript.lang.Effect.run(Effect.java:54) [SkSkript.jar:?]
    22.         at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65) [SkSkript.j
    23. ar:?]
    24.         at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93) [SkSkript.j
    25. ar:?]
    26.         at ch.njol.skript.lang.Trigger.execute(Trigger.java:53) [SkSkript.jar:?]
    27.  
    28.         at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:152)
    29. [SkSkript.jar:?]
    30.         at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:1
    31. 12) [SkSkript.jar:?]
    32.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    33. a:62) [spigot.jar:git-Spigot-db6de12-18fbb24]
    34.         at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    35. ava:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
    36.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    37. ava:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
    38.         at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:
    39. 298) [spigot.jar:git-Spigot-db6de12-18fbb24]
    40.         at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157) [spigo
    41. t.jar:git-Spigot-db6de12-18fbb24]
    42.         at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144)
    43. [spigot.jar:git-Spigot-db6de12-18fbb24]
    44.         at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [
    45. spigot.jar:git-Spigot-db6de12-18fbb24]
    46.         at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231
    47. ) [spigot.jar:git-Spigot-db6de12-18fbb24]
    48.         at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java
    49. :148) [spigot.jar:git-Spigot-db6de12-18fbb24]
    50.         at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:8
    51. 14) [spigot.jar:git-Spigot-db6de12-18fbb24]
    52.         at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:3
    53. 74) [spigot.jar:git-Spigot-db6de12-18fbb24]
    54.         at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:6
    55. 54) [spigot.jar:git-Spigot-db6de12-18fbb24]
    56.         at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java
    57. :557) [spigot.jar:git-Spigot-db6de12-18fbb24]
    58.         at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
    59. Caused by: java.lang.IllegalArgumentException: Attachment cannot be null
    60.         at org.bukkit.permissions.PermissibleBase.removeAttachment(PermissibleBa
    61. se.java:131) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    62.         at org.bukkit.craftbukkit.v1_8_R3.entity.CraftHumanEntity.removeAttachme
    63. nt(CraftHumanEntity.java:126) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    64.         at com.w00tmast3r.skquery.skript.PermissionsHandler.onQuit(PermissionsHa
    65. ndler.java:44) ~[?:?]
    66.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
    67. _131]
    68.         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
    69. _131]
    70.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    71. .8.0_131]
    72.         at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
    73.         at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    74. va:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    75.         ... 28 more
    76. [17:07:26 INFO]: lol[/127.0.0.1:52633] logged in with entity id 92 at ([world]-
    77. 47.5, 64.0, 254.5)
    I'm using Skript 2.2 dev 25, Spigot 1.8.9 (under bungee) if that helps.
    --- Double Post Merged, May 9, 2017, Original Post Date: May 9, 2017 ---
    SkQuery v3.21.4
    --- Double Post Merged, May 11, 2017 ---
    nvm Fixed it by downloading a plugin that removes selected error messages.
     
Thread Status:
Not open for further replies.
Loading...