java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $

GitHub | belfedia | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Json problem :/

    GitHub | 2 months ago | belfedia
    java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
  2. 0

    BungeeCoord dont update skin

    GitHub | 4 months ago | FabioZumbi12
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
  3. 0

    Tried converting player name to uuid from third-party api

    GitHub | 2 months ago | ziceptor
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Gson - Json list to Java List
    Stack Overflow | 3 years ago | arielmolina
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
  6. 0

    How to convert json String to java List?

    wenda.io | 2 years ago
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2
    1. nasimk 1 times, last 4 months ago
    2. serious2monkeys 1 times, last 5 months ago
    3. Stefan Braune 1 times, last 8 months ago
    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

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

      at com.google.gson.stream.JsonReader.beginArray()
    2. Gson
      Gson.fromJson
      1. com.google.gson.stream.JsonReader.beginArray(JsonReader.java:350)
      2. com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:70)
      3. com.google.gson.Gson.fromJson(Gson.java:810)
      4. com.google.gson.Gson.fromJson(Gson.java:775)
      5. com.google.gson.Gson.fromJson(Gson.java:724)
      6. com.google.gson.Gson.fromJson(Gson.java:696)
      6 frames
    3. com.github.games647
      NameResolver.run
      1. com.github.games647.changeskin.core.MojangSkinApi.getUUIDFromAPI(MojangSkinApi.java:101)
      2. com.github.games647.changeskin.core.MojangSkinApi.getUUID(MojangSkinApi.java:59)
      3. com.github.games647.changeskin.bungee.tasks.NameResolver.run(NameResolver.java:47)
      3 frames
    4. net.md_5.bungee
      BungeeTask.run
      1. net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames