Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Mock Location Activity Sample #199

Open
dineshmm23 opened this issue Nov 29, 2018 · 1 comment
Open

[Bug] Mock Location Activity Sample #199

dineshmm23 opened this issue Nov 29, 2018 · 1 comment

Comments

@dineshmm23
Copy link

java.lang.NullPointerException: Attempt to invoke interface method 'void io.reactivex.disposables.Disposable.dispose()' on a null object reference
at pl.charmas.android.reactivelocation2.sample.MockLocationsActivity.setMockMode(MockLocationsActivity.java:141)
at pl.charmas.android.reactivelocation2.sample.MockLocationsActivity.access$000(MockLocationsActivity.java:36)
at pl.charmas.android.reactivelocation2.sample.MockLocationsActivity$1.onCheckedChanged(MockLocationsActivity.java:77)
at android.widget.CompoundButton.setChecked(CompoundButton.java:154)
at android.widget.ToggleButton.setChecked(ToggleButton.java:73)
at android.widget.CompoundButton.toggle(CompoundButton.java:113)
at android.widget.CompoundButton.performClick(CompoundButton.java:118)
at android.view.View$PerformClick.run(View.java:20260)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5624)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

@dineshmm23
Copy link
Author

This happened on turning off mock location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant