G
G
gibsonen2017-05-04 20:01:50
Android
gibsonen, 2017-05-04 20:01:50

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

1 answer(s)
D
Denis Zagaevsky, 2017-05-04
@zagayevskiy

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 question

Ask a Question

731 491 924 answers to any question