io.typefox.lsapi.services.json.InvalidMessageException: Could not parse response: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING

GitHub | mickaelistria | 4 months ago
  1. 0

    Cannot parse hover results

    GitHub | 4 months ago | mickaelistria
    io.typefox.lsapi.services.json.InvalidMessageException: Could not parse response: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING
  2. 0

    Adding an exec task throws an exception on the server

    GitHub | 4 months ago | rminchev1
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING
  3. 0

    Editing Config

    GitHub | 6 years ago | lmk-chris
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: invalid number or unquoted string near ?{ "colorMember": "G
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Retrofit - removing some invalid characters from response body before parsing it as json

    Stack Overflow | 2 years ago | pomber
    retrofit.RetrofitError: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
  6. 0

    Amy Mitchell - Google+

    google.com | 1 year ago
    com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 3.8 at line 1 column 200

  1. Indri Yunita 4 times, last 1 week ago
  2. nasimk 1 times, last 2 weeks ago
  3. Alexandru Popa 96 times, last 2 weeks ago
  4. iridic 6 times, last 3 weeks ago
  5. bmacedo 36 times, last 2 weeks ago
14 more registered users
52 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 STRING

    at com.google.gson.internal.bind.JsonTreeReader.expect()
  2. Gson
    Gson.fromJson
    1. com.google.gson.internal.bind.JsonTreeReader.expect(JsonTreeReader.java:139)
    2. com.google.gson.internal.bind.JsonTreeReader.beginArray(JsonTreeReader.java:58)
    3. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:80)
    4. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
    5. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:117)
    6. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:217)
    7. com.google.gson.Gson.fromJson(Gson.java:861)
    8. com.google.gson.Gson.fromJson(Gson.java:926)
    9. com.google.gson.Gson.fromJson(Gson.java:899)
    9 frames
  3. io.typefox.lsapi
    LanguageServerProtocol$IOHandler.run
    1. io.typefox.lsapi.services.json.MessageJsonHandler.parseResponse(MessageJsonHandler.xtend:188)
    2. io.typefox.lsapi.services.json.MessageJsonHandler.parseMessage(MessageJsonHandler.xtend:142)
    3. io.typefox.lsapi.services.json.MessageJsonHandler.parseMessage(MessageJsonHandler.xtend:131)
    4. io.typefox.lsapi.services.json.LanguageServerProtocol.handleMessage(LanguageServerProtocol.xtend:72)
    5. io.typefox.lsapi.services.json.LanguageServerProtocol$IOHandler.handleMessage(LanguageServerProtocol.xtend:267)
    6. io.typefox.lsapi.services.json.LanguageServerProtocol$IOHandler.run(LanguageServerProtocol.xtend:203)
    7. io.typefox.lsapi.services.json.LanguageServerProtocol$IOHandler.run(LanguageServerProtocol.xtend:163)
    7 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames