Advertisement
Guest User

Untitled

a guest
Feb 28th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. Exception in thread "main" java.lang.IllegalArgumentException: Unable to create converter for class de.beatbrot.deezer.api.model.Album
  2. for method DeezerApi.getAlbum
  3. at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:752)
  4. at retrofit2.ServiceMethod$Builder.createResponseConverter(ServiceMethod.java:738)
  5. at retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:169)
  6. at retrofit2.Retrofit.loadServiceMethod(Retrofit.java:170)
  7. at retrofit2.Retrofit$1.invoke(Retrofit.java:147)
  8. at com.sun.proxy.$Proxy4.getAlbum(Unknown Source)
  9. at de.beatbrot.deezer.api.model.AlternativeKt.main(Alternative.kt:26)
  10. Caused by: java.lang.IllegalArgumentException: Expected a Class, ParameterizedType, or GenericArrayType, but <null> is of type null
  11. at com.squareup.moshi.Types.getRawType(Types.java:167)
  12. at com.squareup.moshi.ClassJsonAdapter$1.createFieldBindings(ClassJsonAdapter.java:83)
  13. at com.squareup.moshi.ClassJsonAdapter$1.create(ClassJsonAdapter.java:75)
  14. at com.squareup.moshi.Moshi.adapter(Moshi.java:100)
  15. at com.squareup.moshi.Moshi.adapter(Moshi.java:58)
  16. at com.squareup.moshi.CollectionJsonAdapter.newArrayListAdapter(CollectionJsonAdapter.java:52)
  17. at com.squareup.moshi.CollectionJsonAdapter$1.create(CollectionJsonAdapter.java:36)
  18. at com.squareup.moshi.Moshi.adapter(Moshi.java:100)
  19. at com.squareup.moshi.KotlinJsonAdapterFactory.create(KotlinJsonAdapter.kt:184)
  20. at com.squareup.moshi.Moshi.adapter(Moshi.java:100)
  21. at com.squareup.moshi.AdapterMethodsFactory$3.bind(AdapterMethodsFactory.java:176)
  22. at com.squareup.moshi.AdapterMethodsFactory.create(AdapterMethodsFactory.java:59)
  23. at com.squareup.moshi.Moshi.adapter(Moshi.java:100)
  24. at com.squareup.moshi.KotlinJsonAdapterFactory.create(KotlinJsonAdapter.kt:184)
  25. at com.squareup.moshi.Moshi.adapter(Moshi.java:100)
  26. at retrofit2.converter.moshi.MoshiConverterFactory.responseBodyConverter(MoshiConverterFactory.java:91)
  27. at retrofit2.Retrofit.nextResponseBodyConverter(Retrofit.java:330)
  28. at retrofit2.Retrofit.responseBodyConverter(Retrofit.java:313)
  29. at retrofit2.ServiceMethod$Builder.createResponseConverter(ServiceMethod.java:736)
  30. ... 5 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement