EyeSeeTea / dhis2-android-trackercapture

DHIS 2 Tracker Capture application for Android
Other
0 stars 0 forks source link

crashlytics: Null pointer deleting event 22u #251

Open idelcano opened 6 years ago

idelcano commented 6 years ago

Caused by java.lang.NullPointerException at org.hisp.dhis.android.sdk.persistence.models.Event.isDeleted(Event.java:353) at org.hisp.dhis.android.sdk.synchronization.domain.event.EventSynchronizer.isDeletedAndOnlyLocalEvent(EventSynchronizer.java:159) at org.hisp.dhis.android.sdk.synchronization.domain.event.EventSynchronizer.sync(EventSynchronizer.java:42) at org.hisp.dhis.android.sdk.synchronization.domain.event.EventSynchronizer.syncOneByOne(EventSynchronizer.java:154) at org.hisp.dhis.android.sdk.synchronization.domain.event.EventSynchronizer.syncRemovedEvents(EventSynchronizer.java:128) at org.hisp.dhis.android.sdk.synchronization.domain.enrollment.EnrollmentSynchronizer.syncEvents(EnrollmentSynchronizer.java:105) at org.hisp.dhis.android.sdk.synchronization.domain.enrollment.EnrollmentSynchronizer.sync(EnrollmentSynchronizer.java:36) at org.hisp.dhis.android.sdk.synchronization.domain.enrollment.EnrollmentSynchronizer.sync(EnrollmentSynchronizer.java:62) at org.hisp.dhis.android.sdk.synchronization.domain.trackedentityinstance.TrackedEntityInstanceSynchronizer.syncEnrollments(TrackedEntityInstanceSynchronizer.java:139) at org.hisp.dhis.android.sdk.synchronization.domain.trackedentityinstance.TrackedEntityInstanceSynchronizer.syncSingleTei(TrackedEntityInstanceSynchronizer.java:85) at org.hisp.dhis.android.sdk.synchronization.domain.trackedentityinstance.TrackedEntityInstanceSynchronizer.syncOneByOne(TrackedEntityInstanceSynchronizer.java:123) at org.hisp.dhis.android.sdk.synchronization.domain.trackedentityinstance.TrackedEntityInstanceSynchronizer.syncTeis(TrackedEntityInstanceSynchronizer.java:117) at org.hisp.dhis.android.sdk.synchronization.domain.trackedentityinstance.TrackedEntityInstanceSynchronizer.sync(TrackedEntityInstanceSynchronizer.java:60) at org.hisp.dhis.android.sdk.synchronization.domain.app.SyncAppUseCase.execute(SyncAppUseCase.java:31) at org.hisp.dhis.android.sdk.controllers.DhisController.sendData(DhisController.java:167) at org.hisp.dhis.android.sdk.controllers.DhisController.synchronize(DhisController.java:135) at org.hisp.dhis.android.sdk.controllers.DhisService$8.execute(DhisService.java:176) at org.hisp.dhis.android.sdk.job.NetworkJob.inBackground(NetworkJob.java:51)

https://www.fabric.io/dhis2/android/apps/org.hisp.dhis.android.trackercapture/issues/59b2995dbe077a4dcc4eba56?time=last-ninety-days

1423 CRASHES 22 USERS

idelcano commented 6 years ago

I did not understand this problem...