com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive

GitHub | marcfon | 3 months ago
  1. 0

    GitHub comment 145#235124964

    GitHub | 4 months ago | seanford
    com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive
  2. 0

    GitHub comment 145#236003592

    GitHub | 4 months ago | seanford
    com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive
  3. 0

    GitHub comment 161#245275338

    GitHub | 3 months ago | seanford
    com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Nest login broken?

    GitHub | 3 months ago | marcfon
    com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive
  6. 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

  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. com.google.gson.JsonSyntaxException

    Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive

    at com.google.gson.internal.bind.TypeAdapters$35$1.read()
  2. Gson
    Gson.fromJson
    1. com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:917)
    2. com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
    3. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82)
    4. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
    5. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116)
    6. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216)
    7. com.google.gson.Gson.fromJson(Gson.java:879)
    8. com.google.gson.Gson.fromJson(Gson.java:944)
    9. com.google.gson.Gson.fromJson(Gson.java:917)
    9 frames
  3. com.bwssystems.nest
    StructureDeserializer.deserialize
    1. com.bwssystems.nest.protocol.status.StructureDeserializer.deserialize(StructureDeserializer.java:23)
    2. com.bwssystems.nest.protocol.status.StructureDeserializer.deserialize(StructureDeserializer.java:14)
    2 frames
  4. Gson
    Gson.fromJson
    1. com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58)
    2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116)
    3. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216)
    4. com.google.gson.Gson.fromJson(Gson.java:879)
    5. com.google.gson.Gson.fromJson(Gson.java:844)
    6. com.google.gson.Gson.fromJson(Gson.java:793)
    7. com.google.gson.Gson.fromJson(Gson.java:765)
    7 frames
  5. com.bwssystems.nest
    Nest.<init>
    1. com.bwssystems.nest.controller.Nest._getStatus(Nest.java:54)
    2. com.bwssystems.nest.controller.Nest.<init>(Nest.java:45)
    2 frames
  6. com.bwssystems.NestBridge
    NestHome.<init>
    1. com.bwssystems.NestBridge.NestHome.<init>(NestHome.java:38)
    1 frame
  7. com.bwssystems.HABridge
    HABridge.main
    1. com.bwssystems.HABridge.HABridge.main(HABridge.java:68)
    1 frame