java.lang.IllegalStateException

Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $


Solutions on the web7986

Solution icon of stackoverflow
via Stack Overflow by Rana Osama
, 1 year ago
Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2

Solution icon of stackoverflow
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2

Solution icon of stackoverflow
Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2

Solution icon of web
via feed-the-beast.com by Unknown author, 1 year ago
Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2

Solution icon of web
via feed-the-beast.com by Unknown author, 1 year ago
Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2

Solution icon of web
via wenda.io by Unknown author, 1 year ago
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2

Solution icon of github
via GitHub by mycelo
, 1 year ago
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2

Solution icon of github
Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2

Solution icon of stackoverflow
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2

Solution icon of stackoverflow
via Stack Overflow by user3918954
, 1 year ago
Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2

Stack trace

  • java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ at com.google.gson.Gson.fromJson(Gson.java:822) at com.google.gson.Gson.fromJson(Gson.java:775) at com.google.gson.Gson.fromJson(Gson.java:724) at com.google.gson.Gson.fromJson(Gson.java:696) at com.github.games647.changeskin.core.MojangSkinApi.getUUIDFromAPI(MojangSkinApi.java:101) at com.github.games647.changeskin.core.MojangSkinApi.getUUID(MojangSkinApi.java:59) at com.github.games647.changeskin.bungee.tasks.NameResolver.run(NameResolver.java:47) at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:350) at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:70) at com.google.gson.Gson.fromJson(Gson.java:810) ... 10 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 8 months ago
Once, 9 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
15 more bugmates