You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
Every time I call the method notifyError(new Error("Error")) in a UseCase class I'm getting a null pointer exception. It seems that when I create the " .onError(new OnErrorCallback() {...}" in the presenter something goes wrong."I have tried with two different devices using Marshmallow version and in both cases the result is:
java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.karumi.rosie.domain.usecase.error.OnErrorCallback.onError(java.lang.Error)' on a null object reference at com.karumi.rosie.domain.usecase.RosieUseCase.notifyError(RosieUseCase.java:77)
Versions under Marshmallow works perfectly. Any tip about what is causing this error?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Every time I call the method notifyError(new Error("Error")) in a UseCase class I'm getting a null pointer exception. It seems that when I create the " .onError(new OnErrorCallback() {...}" in the presenter something goes wrong."I have tried with two different devices using Marshmallow version and in both cases the result is:
java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.karumi.rosie.domain.usecase.error.OnErrorCallback.onError(java.lang.Error)' on a null object reference at com.karumi.rosie.domain.usecase.RosieUseCase.notifyError(RosieUseCase.java:77)
Versions under Marshmallow works perfectly. Any tip about what is causing this error?
Thanks in advance
The text was updated successfully, but these errors were encountered: