Uploaded image for project: 'mUzima'
  1. mUzima
  2. MUZIMA-67

Sync process from the dashboard throwing exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Labels:

      Description

      Syncing cohort from the cohort landing page will throw exception and make the apps showing the message that it's stop working with the following stacktrace:

      07-10 06:31:40.986    4138-4172/com.muzima E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[DataSyncService]
          java.util.ConcurrentModificationException
                  at java.util.AbstractList$SubAbstractList.size(AbstractList.java:360)
                  at com.muzima.utils.StringUtils.getCommaSeparatedStringFromList(StringUtils.java:18)
                  at com.muzima.controller.EncounterController.downloadEncountersByPatientUuids(EncounterController.java:44)
                  at com.muzima.service.MuzimaSyncService.downloadEncountersForPatientsByPatientUUIDs(MuzimaSyncService.java:408)
                  at com.muzima.service.MuzimaSyncService.downloadEncountersForPatientsByCohortUUIDs(MuzimaSyncService.java:393)
                  at com.muzima.service.DataSyncService.downloadObservationsAndEncounters(DataSyncService.java:158)
                  at com.muzima.service.DataSyncService.onHandleIntent(DataSyncService.java:94)
                  at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
                  at android.os.Handler.dispatchMessage(Handler.java:99)
                  at android.os.Looper.loop(Looper.java:137)
                  at android.os.HandlerThread.run(HandlerThread.java:60)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              nribeka Nyoman Ribeka
              Reporter:
              nribeka Nyoman Ribeka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: