java.lang.NumberFormatException: empty String |

Samebug tips2

Your json input might be invalid. Try checking it in a validator like

Your custom gson deserializer might have a bug. Try to write a unit test that checks proper deserialization of only that class by forging a json that contains a single field of that type.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web380

  • via Stack Overflow by avalon
    , 1 year ago
    java.lang.NumberFormatException: empty String
  • java.lang.NumberFormatException: empty String
  • java.lang.NumberFormatException: empty String
  • Stack trace

    • java.lang.NumberFormatException: empty String | at$ at$ at$ at$ at at at at at at at com.bwssystems.HABridge.hue.HueMulator.changeState( at com.bwssystems.HABridge.hue.HueMulator.lambda$21( at spark.RouteImpl$1.handle( at spark.webserver.MatcherFilter.doFilter( at spark.webserver.JettyHandler.doHandle( at org.eclipse.jetty.server.session.SessionHandler.doScope( at org.eclipse.jetty.server.handler.ScopedHandler.handle( at org.eclipse.jetty.server.handler.HandlerList.handle( at org.eclipse.jetty.server.handler.HandlerWrapper.handle( at org.eclipse.jetty.server.Server.handle( at org.eclipse.jetty.server.HttpChannel.handle( at org.eclipse.jetty.server.HttpConnection.onFillable( at$ReadCallback.succeeded( at at$ at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun( at at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( at org.eclipse.jetty.util.thread.QueuedThreadPool$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 2 weeks ago
    Once, 2 months ago
    Unknown user
    Once, 6 months ago
    4 times, 7 months ago
    5 times, 8 months ago
    15 more bugmates