Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by belfedia
, 1 year ago
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
via Stack Overflow by Vichit
, 10 months ago
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
via GitHub by JakeWharton
, 1 year ago
Expected BEGIN_ARRAY but was STRING at line 1 column 1 path $
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