com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: empty String |

GitHub | aerickson | 1 month 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

    Gson .JsonSyntaxException - java.lang.NumberFormatException: Invalid double: ""

    Stack Overflow | 3 years ago | Artem Shevchenko
    com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Invalid double: ""
  2. 0

    Nest login broken?

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

    GitHub comment 145#235124964

    GitHub | 7 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

    GitHub comment 145#236003592

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

    GitHub comment 318#269520402

    GitHub | 2 months ago | Trevor-Austin
    com.google.gson.JsonSyntaxException: Expected a com.g oogle.gson.JsonObject but was com.google.gson.JsonPrimitive
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

    java.lang.NumberFormatException: empty String |

    at com.google.gson.internal.bind.TypeAdapters$7.read()
  2. Gson
    Gson.fromJson
    1. com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:249)
    2. com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:239)
    3. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:116)
    4. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:216)
    5. com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
    6. com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72)
    7. com.google.gson.Gson.fromJson(Gson.java:879)
    8. com.google.gson.Gson.fromJson(Gson.java:844)
    9. com.google.gson.Gson.fromJson(Gson.java:793)
    10. com.google.gson.Gson.fromJson(Gson.java:765)
    10 frames
  3. com.bwssystems.HABridge
    HueMulator.lambda$21
    1. com.bwssystems.HABridge.hue.HueMulator.changeState(HueMulator.java:750)
    2. com.bwssystems.HABridge.hue.HueMulator.lambda$21(HueMulator.java:260)
    2 frames
  4. Spark
    JettyHandler.doHandle
    1. spark.RouteImpl$1.handle(RouteImpl.java:58)
    2. spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:162)
    3. spark.webserver.JettyHandler.doHandle(JettyHandler.java:61)
    3 frames
  5. Jetty
    SelectChannelEndPoint$2.run
    1. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
    2. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    3. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
    4. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    5. org.eclipse.jetty.server.Server.handle(Server.java:517)
    6. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:302)
    7. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
    8. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
    9. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    10. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    10 frames
  6. org.eclipse.jetty
    ExecuteProduceConsume.run
    1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    2 frames
  7. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    2 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame