java.lang.Class

com.ilepez.weatherapp.data.model.CityArrayList. Forgot to register a type adapter?

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web11

  • com.ilepez.weatherapp.data.model.CityArrayList. Forgot to register a type adapter?
  • com.ilepez.weatherapp.data.model.CityArrayList. Forgot to register a type adapter?
  • com.bar.baz.MyPojo. Forgot to register a type adapter?
  • Stack trace

    • java.lang.Class: com.ilepez.weatherapp.data.model.CityArrayList. Forgot to register a type adapter? at com.google.gson.internal.bind.TypeAdapters$1.write(TypeAdapters.java:76) at com.google.gson.internal.bind.TypeAdapters$1.write(TypeAdapters.java:69) at com.google.gson.Gson.toJson(Gson.java:669) at com.google.gson.Gson.toJson(Gson.java:648) at com.google.gson.Gson.toJson(Gson.java:603) at com.google.gson.Gson.toJson(Gson.java:583) at com.ilepez.weatherapp.utils.TinyDB.putObject(TinyDB.java:462) at com.ilepez.weatherapp.activity.SearchActivity.onItemClick(SearchActivity.java:67) at android.widget.AutoCompleteTextView.performCompletion(AutoCompleteTextView.java:928) at android.widget.AutoCompleteTextView.access$500(AutoCompleteTextView.java:93) at android.widget.AutoCompleteTextView$DropDownItemClickListener.onItemClick(AutoCompleteTextView.java:1230) at android.widget.AdapterView.performItemClick(AdapterView.java:345) at android.widget.AbsListView.performItemClick(AbsListView.java:1547) at android.widget.AbsListView$PerformClick.run(AbsListView.java:3821) at android.widget.AbsListView$3.run(AbsListView.java:5841) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

    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

    You’re the first here who have seen this exception.