Uploaded image for project: 'Android Client'
  1. Android Client
  2. AC-90

Application crashes when tries to clear old data.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Labels:
    • Complexity:
      Undetermined
    • Sprint:
      AC Sprint 7
    • Development:

      Description

      exceptions

      2790-2790/org.openmrs.mobile E/OpenMRS﹕ #46 OpenMRSLogger$1.uncaughtException() : Uncaught exception is:
      android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 1802)
      at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
      at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:845)
      at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
      at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
      at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:144)
      at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:133)
      at android.content.ContentResolver.query(ContentResolver.java:480)
      at android.content.ContentResolver.query(ContentResolver.java:404)
      at org.openmrs.mobile.utilities.FormsLoaderUtil.saveOrUpdateForm(FormsLoaderUtil.java:97)
      at org.openmrs.mobile.net.FormsManger.writeResponseToFile(FormsManger.java:231)
      at org.openmrs.mobile.net.FormsManger.access$200(FormsManger.java:49)
      at org.openmrs.mobile.net.FormsManger$2.onResponse(FormsManger.java:96)
      at org.openmrs.mobile.net.FormsManger$2.onResponse(FormsManger.java:91)
      at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:60)
      at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:30)
      at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)
      at android.os.Handler.handleCallback(Handler.java:733)
      at android.os.Handler.dispatchMessage(Handler.java:95)
      at android.os.Looper.loop(Looper.java:136)
      at android.app.ActivityThread.main(ActivityThread.java:5017)
      at java.lang.reflect.Method.invokeNative(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:515)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      at dalvik.system.NativeStart.main(Native Method)

      TODO
      • directories should not be erased
      • ODK database tables should be dropped not deleted

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              smalecki Sebastian Malecki
              Reporter:
              kkalfas Kamil Kalfas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h