1.12.2 1.12.2 errors logs

Discussion in 'Spigot Plugin Development' started by blank826, Jun 18, 2020.

  1. [09:47:44 WARN]: [ServerJoiner] Plugin ServerJoiner v0.0.1 generated an exceptio
    n while executing task 41
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a
    string but was BEGIN_OBJECT at line 1 column 17 path $.description
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.re
    ad(ReflectiveTypeAdapterFactory.java:224) ~[Paper-1.12.2-b1618.jar:git-Paper-161
    8]
    at com.google.gson.Gson.fromJson(Gson.java:887) ~[Paper-1.12.2-b1618.jar
    :git-Paper-1618]
    at com.google.gson.Gson.fromJson(Gson.java:852) ~[Paper-1.12.2-b1618.jar
    :git-Paper-1618]
    at com.google.gson.Gson.fromJson(Gson.java:801) ~[Paper-1.12.2-b1618.jar
    :git-Paper-1618]
    at com.google.gson.Gson.fromJson(Gson.java:773) ~[Paper-1.12.2-b1618.jar
    :git-Paper-1618]
    at com.ejiamc.ayou.ServerJoiner.Status.QueryHandler.doStatusQuery(QueryH
    andler.java:45) ~[?:?]
    at com.ejiamc.ayou.ServerJoiner.Status.ServerListPing.updateStatus(Serve
    rListPing.java:17) ~[?:?]
    at com.ejiamc.ayou.ServerJoiner.Task.PingTask$1.run(PingTask.java:39) ~[
    ?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.jav
    a:64) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsy
    ncTask.java:52) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSch
    edulerReportingWrapper.java:22) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:
    1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?
    :1.8.0_251]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
    Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJE
    CT at line 1 column 17 path $.description
    at com.google.gson.stream.JsonReader.nextString(JsonReader.java:825) ~[P
    aper-1.12.2-b1618.jar:git-Paper-1618]
    at com.google.gson.internal.bind.TypeAdapters$16.read(TypeAdapters.java:
    418) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
    at com.google.gson.internal.bind.TypeAdapters$16.read(TypeAdapters.java:
    406) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(Ref
    lectiveTypeAdapterFactory.java:129) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.re
    ad(ReflectiveTypeAdapterFactory.java:220) ~[Paper-1.12.2-b1618.jar:git-Paper-161
    8]
    ... 13 more
     
  2. The problem come from the plugin "ServerJoiner", it is yours ?
     
  3. The probem come from "ServerJoiner",i using this plugin produced an error.