when trying to simply stop the replicator on destroy activity I saw this NullPointerException as well:
04-25 18:06:29.343: E/AndroidRuntime(3262): Caused by: java.lang.NullPointerException 04-25 18:06:29.343: E/AndroidRuntime(3262): at com.couchbase.lite.replicator.Replication.stop(Replication.java:440) 04-25 18:06:29.343: E/AndroidRuntime(3262): at com.couchbase.lite.replicator.Puller.stop(Puller.java:100) 04-25 18:06:29.343: E/AndroidRuntime(3262): at com.company.data.synchronization.Syncer.stopSync(Syncer.java:334) 04-25 18:06:29.343: E/AndroidRuntime(3262): at com.company.MainActivity.onDestroy(MainActivity.java:282) 04-25 18:06:29.343: E/AndroidRuntime(3262): at android.app.Activity.performDestroy(Activity.java:4629) 04-25 18:06:29.343: E/AndroidRuntime(3262): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1079) 04-25 18:06:29.343: E/AndroidRuntime(3262): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3099) 04-25 18:06:29.343: E/AndroidRuntime(3262): ... 11 more -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/0b5ec285-c111-4a22-93bf-208a651eaf7e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
