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.

Error with JSON message.

Discussion in 'Skript' started by lucasmooon, Jun 15, 2017.

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

    lucasmooon Member

    Joined:
    Feb 4, 2017
    Messages:
    16
    Likes Received:
    0
    Hello.
    Recently, I've changed my spigot from 1.8 to 1.8.8 so I could use another version of Skript.

    However, I'm getting a JSON message error related to SkQuery. I've tried downloading another version of SkQuery but I haven't found any other but the Unofficial version which also does not work.

    EDIT: the reason why I updated my spigot is because I had to do a loop which wasn't working on the previous version. So I updated and it worked. But I got another error (json).

    This is the error I get:


    Code (Skript):
    1. [21:44:34 ERROR]: #!#! Stack trace:
    2. [21:44:34 ERROR]: #!#! java.lang.RuntimeException: java.lang.ClassNotFoundExcept
    3. ion: net.minecraft.server.v1_8_R3.ChatSerializer
    4. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.util.Reflection.nmsClass(Re
    5. flection.java:35)
    6. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.util.minecraft.JSONMessage.
    7. <init>(JSONMessage.java:20)
    8. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    9. onMessage.convert(ExprJsonMessage.java:18)
    10. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    11. onMessage.convert(ExprJsonMessage.java:8)
    12. [21:44:34 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convert(Co
    13. nverters.java:305)
    14. [21:44:34 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convertUns
    15. afe(Converters.java:296)
    16. [21:44:34 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression
    17. .get(PropertyExpression.java:105)
    18. [21:44:34 ERROR]: #!#!     at ch.njol.skript.expressions.base.SimplePropertyExpr
    19. ession.get(SimplePropertyExpression.java:56)
    20. [21:44:34 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression
    21. .get(PropertyExpression.java:76)
    22. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray
    23. (SimpleExpression.java:103)
    24. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingl
    25. e(SimpleExpression.java:61)
    26. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    27. onMessageTooltip.get(ExprJsonMessageTooltip.java:21)
    28. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    29. onMessageTooltip.get(ExprJsonMessageTooltip.java:13)
    30. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray
    31. (SimpleExpression.java:103)
    32. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingl
    33. e(SimpleExpression.java:61)
    34. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    35. onMessageCommand.get(ExprJsonMessageCommand.java:23)
    36. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    37. onMessageCommand.get(ExprJsonMessageCommand.java:13)
    38. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray
    39. (SimpleExpression.java:103)
    40. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingl
    41. e(SimpleExpression.java:61)
    42. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.effects.EffSendJso
    43. n.execute(EffSendJson.java:21)
    44. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:54)
    45. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.j
    46. ava:63)
    47. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.j
    48. ava:91)
    49. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:5
    50. 3)
    51. [21:44:34 ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute2(Scri
    52. ptCommand.java:222)
    53. [21:44:34 ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(Scrip
    54. tCommand.java:184)
    55. [21:44:34 ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Comm
    56. ands.java:270)
    57. [21:44:34 ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(
    58. Commands.java:165)
    59. [21:44:34 ERROR]: #!#!     at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ
    60. e Method)
    61. [21:44:34 ERROR]: #!#!     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow
    62. n Source)
    63. [21:44:34 ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un
    64. known Source)
    65. [21:44:34 ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
    66. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(
    67. JavaPluginLoader.java:306)
    68. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(Reg
    69. isteredListener.java:62)
    70. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(Si
    71. mplePluginManager.java:502)
    72. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(Si
    73. mplePluginManager.java:487)
    74. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnection.hand
    75. leCommand(PlayerConnection.java:1154)
    76. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnection.a(Pl
    77. ayerConnection.java:997)
    78. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(Pa
    79. cketPlayInChat.java:45)
    80. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(Pa
    81. cketPlayInChat.java:1)
    82. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnectionUtils
    83. $1.run(SourceFile:13)
    84. [21:44:34 ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.cal
    85. l(Unknown Source)
    86. [21:44:34 ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source
    87. )
    88. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceF
    89. ile:44)
    90. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(Min
    91. ecraftServer.java:715)
    92. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(Ded
    93. icatedServer.java:374)
    94. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(Min
    95. ecraftServer.java:654)
    96. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(M
    97. inecraftServer.java:557)
    98. [21:44:34 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
    99. [21:44:34 ERROR]: #!#! Caused by: java.lang.ClassNotFoundException: net.minecraf
    100. t.server.v1_8_R3.ChatSerializer
    101. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.java.PluginClassLoader.findClass
    102. (PluginClassLoader.java:91)
    103. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.java.PluginClassLoader.findClass
    104. (PluginClassLoader.java:86)
    105. [21:44:34 ERROR]: #!#!     at java.lang.ClassLoader.loadClass(Unknown Source)
    106. [21:44:34 ERROR]: #!#!     at java.lang.ClassLoader.loadClass(Unknown Source)
    107. [21:44:34 ERROR]: #!#!     at java.lang.Class.forName0(Native Method)
    108. [21:44:34 ERROR]: #!#!     at java.lang.Class.forName(Unknown Source)
    109. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.util.Reflection.nmsClass(Re
    110. flection.java:33)
    111. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.util.minecraft.JSONMessage.
    112. <init>(JSONMessage.java:20)
    113. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    114. onMessage.convert(ExprJsonMessage.java:18)
    115. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    116. onMessage.convert(ExprJsonMessage.java:8)
    117. [21:44:34 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convert(Co
    118. nverters.java:305)
    119. [21:44:34 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convertUns
    120. afe(Converters.java:296)
    121. [21:44:34 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression
    122. .get(PropertyExpression.java:105)
    123. [21:44:34 ERROR]: #!#!     at ch.njol.skript.expressions.base.SimplePropertyExpr
    124. ession.get(SimplePropertyExpression.java:56)
    125. [21:44:34 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression
    126. .get(PropertyExpression.java:76)
    127. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray
    128. (SimpleExpression.java:103)
    129. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingl
    130. e(SimpleExpression.java:61)
    131. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    132. onMessageTooltip.get(ExprJsonMessageTooltip.java:21)
    133. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    134. onMessageTooltip.get(ExprJsonMessageTooltip.java:13)
    135. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray
    136. (SimpleExpression.java:103)
    137. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingl
    138. e(SimpleExpression.java:61)
    139. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    140. onMessageCommand.get(ExprJsonMessageCommand.java:23)
    141. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprJs
    142. onMessageCommand.get(ExprJsonMessageCommand.java:13)
    143. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray
    144. (SimpleExpression.java:103)
    145. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingl
    146. e(SimpleExpression.java:61)
    147. [21:44:34 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.effects.EffSendJso
    148. n.execute(EffSendJson.java:21)
    149. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:54)
    150. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.j
    151. ava:63)
    152. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.j
    153. ava:91)
    154. [21:44:34 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:5
    155. 3)
    156. [21:44:34 ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute2(Scri
    157. ptCommand.java:222)
    158. [21:44:34 ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(Scrip
    159. tCommand.java:184)
    160. [21:44:34 ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Comm
    161. ands.java:270)
    162. [21:44:34 ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(
    163. Commands.java:165)
    164. [21:44:34 ERROR]: #!#!     at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ
    165. e Method)
    166. [21:44:34 ERROR]: #!#!     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow
    167. n Source)
    168. [21:44:34 ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un
    169. known Source)
    170. [21:44:34 ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
    171. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(
    172. JavaPluginLoader.java:306)
    173. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(Reg
    174. isteredListener.java:62)
    175. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(Si
    176. mplePluginManager.java:502)
    177. [21:44:34 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(Si
    178. mplePluginManager.java:487)
    179. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnection.hand
    180. leCommand(PlayerConnection.java:1154)
    181. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnection.a(Pl
    182. ayerConnection.java:997)
    183. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(Pa
    184. cketPlayInChat.java:45)
    185. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(Pa
    186. cketPlayInChat.java:1)
    187. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerConnectionUtils
    188. $1.run(SourceFile:13)
    189. [21:44:34 ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.cal
    190. l(Unknown Source)
    191. [21:44:34 ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source
    192. )
    193. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceF
    194. ile:44)
    195. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(Min
    196. ecraftServer.java:715)
    197. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(Ded
    198. icatedServer.java:374)
    199. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(Min
    200. ecraftServer.java:654)
    201. [21:44:34 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(M
    202. inecraftServer.java:557)
    203. [21:44:34 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
    204. [21:44:34 ERROR]: #!#!
    205. [21:44:34 ERROR]: #!#! Version Information:
    206. [21:44:34 ERROR]: #!#!   Skript: 2.2-Fixes-V9b
    207. [21:44:34 ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT
    208. [21:44:34 ERROR]: #!#!   Minecraft: 1.8.8
    209. [21:44:34 ERROR]: #!#!   Java: 1.8.0_121 (Java HotSpot(TM) 64-Bit Server VM 25.1
    210. 21-b13)
    211. [21:44:34 ERROR]: #!#!   OS: Windows 7 amd64 6.1
    212. [21:44:34 ERROR]: #!#!
    213. [21:44:34 ERROR]: #!#! Running CraftBukkit: false
    214. [21:44:34 ERROR]: #!#!
    215. [21:44:34 ERROR]: #!#! Current node: null
    216. [21:44:34 ERROR]: #!#! Current item: json
    217. [21:44:34 ERROR]: #!#!
    218. [21:44:34 ERROR]: #!#! Thread: Server thread
    219. [21:44:34 ERROR]: #!#!
    220. [21:44:34 ERROR]: #!#! End of Error.
    221. [21:44:34 ERROR]: #!#!
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Skquery json has not worked since 1.8.3, these days people use json.sk
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Thanks man appreciate it
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Mark Pikachu's post as best answer then.
     
Thread Status:
Not open for further replies.
Loading...