java.lang.NullPointerException: null


Solutions on the web2


Stack trace

java.lang.NullPointerException: null
	at com.google.gson.internal.$Gson$Preconditions.checkNotNull($Gson$Preconditions.java:39)[gson-2.7.jar:na]
	at com.google.gson.reflect.TypeToken.<init>(TypeToken.java:72)[gson-2.7.jar:na]
	at com.google.gson.reflect.TypeToken.get(TypeToken.java:296)[gson-2.7.jar:na]
	at com.google.gson.Gson.fromJson(Gson.java:885)[gson-2.7.jar:na]
	at com.google.gson.Gson.fromJson(Gson.java:952)[gson-2.7.jar:na]
	at com.google.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:162)[gson-2.7.jar:na]

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago