Open GoogleCodeExporter opened 9 years ago
Correction: The above stack trace is for 2.3. The stack trace for 2.3.1 is:
Exception in thread "main" java.lang.IllegalArgumentException: JSON forbids NaN
and infinities: NaN
at com.google.gson.internal.bind.JsonTreeWriter.value(JsonTreeWriter.java:183)
at com.google.gson.internal.bind.TypeAdapters$10.write(TypeAdapters.java:298)
at com.google.gson.internal.bind.TypeAdapters$10.write(TypeAdapters.java:287)
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
at com.google.gson.TypeAdapter.toJsonTree(TypeAdapter.java:230)
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(MapTypeAdapterFactory.java:219)
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(MapTypeAdapterFactory.java:145)
at com.google.gson.Gson.toJson(Gson.java:600)
at com.google.gson.Gson.toJson(Gson.java:579)
at com.google.gson.Gson.toJson(Gson.java:534)
at com.google.gson.Gson.toJson(Gson.java:514)
Original comment by kaspar.thommen@gmail.com
on 13 May 2015 at 1:38
Original issue reported on code.google.com by
kaspar.thommen@gmail.com
on 13 May 2015 at 1:35