com.google.gson.JsonSyntaxException

Stack Overflow | Vinay | 4 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

    GSON Date Format - Handling null date in the JSON parsing

    Stack Overflow | 4 months ago | Vinay
    com.google.gson.JsonSyntaxException
  2. 0

    NPE and unparseable date exception

    GitHub | 3 years ago | afa888afa
    java.lang.reflect.InvocationTargetException
  3. 0

    GitHub comment 9#51571672

    GitHub | 3 years ago | afa888afa
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Bassiuz 1 times, last 10 months ago
  2. odd 1 times, last 2 weeks ago
  3. Casper 27 times, last 3 weeks ago
  4. Eric 2 times, last 1 month ago
  5. marcbouvierdav 1 times, last 1 month ago
27 more registered users
11 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.text.ParseException

    Unparseable date: ""

    at java.text.DateFormat.parse()
  2. Java RT
    DateFormat.parse
    1. java.text.DateFormat.parse(DateFormat.java:366)
    1 frame
  3. Gson
    Gson.fromJson
    1. com.google.gson.DefaultDateTypeAdapter.deserializeToDate(DefaultDateTypeAdapter.java:105)
    2. com.google.gson.DefaultDateTypeAdapter.deserialize(DefaultDateTypeAdapter.java:82)
    3. com.google.gson.DefaultDateTypeAdapter.deserialize(DefaultDateTypeAdapter.java:35)
    4. com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:59)
    5. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
    6. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
    7. com.google.gson.Gson.fromJson(Gson.java:755)
    8. com.google.gson.Gson.fromJson(Gson.java:721)
    9. com.google.gson.Gson.fromJson(Gson.java:670)
    10. com.google.gson.Gson.fromJson(Gson.java:642)
    10 frames
  4. Unknown
    JSONConverter.main
    1. JSONConverter.main(JSONConverter.java:15)
    1 frame