Answer the question
In order to leave comments, you need to log in
Retrofit2 yandexsdk request failed. Attempt to invoke virtual method error?
Here a request is formed to send (in the Yandex documentation it is written that the path and from parameters must have the url format, I wrote it manually:
Answer the question
In order to leave comments, you need to log in
And what does Yandex have to do with it, actually? An error in your code, specifically in the sendException method, in the IODialogRetainedFragment class, on line 32. You did not attach the code, but there is a Handler and you pull the post method from it, although it is null.
Magic, right? Learn to read stack traces.
PS Your fragment is leaking (memory leak) along with the activity because of this asynctask.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question