futurestudio/android-retrofit-video

response.body pointing to null

Closed this issue · 4 comments

When I run the app, I receive this error:

Process: io.futurestud.retrofit1, PID: 7044
java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
at android.widget.ArrayAdapter.getCount(ArrayAdapter.java:344)
at android.widget.ListView.setAdapter(ListView.java:493)
at io.futurestud.retrofit1.ui.MainActivity$1.onResponse(MainActivity.java:46)

Our organization's name changed from fs-opensource to futurestudio. If you change that in the code, it should work again.