gilbsgilbs / freemobilenetstat

This Android application monitors the Free Mobile network (a French mobile operator) and builds coverage statistics.
Apache License 2.0
3 stars 3 forks source link

Couldn't read row n, col 0 from CursorWindow on various devices #20

Open gilbsgilbs opened 8 years ago

gilbsgilbs commented 8 years ago
java.lang.RuntimeException: An error occurred while executing doInBackground()
    at android.os.AsyncTask$3.done(AsyncTask.java:321)
    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
    at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
    at java.util.concurrent.FutureTask.run(FutureTask.java:242)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    at java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalStateException: Couldn't read row 5324, col 0 from CursorWindow.  Make sure the Cursor is initialized correctly before accessing data from it.
    at android.database.CursorWindow.nativeGetLong(Native Method)
    at android.database.CursorWindow.getLong(CursorWindow.java:511)
    at android.database.AbstractWindowedCursor.getLong(AbstractWindowedCursor.java:75)
    at android.database.CursorWrapper.getLong(CursorWrapper.java:127)
    at org.pixmob.freemobile.netstat.ui.c.a(ExportTask.java:1170)
    at org.pixmob.freemobile.netstat.ui.c.doInBackground(ExportTask.java:45)
    at android.os.AsyncTask$2.call(AsyncTask.java:307)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    ... 4 more
java.lang.IllegalStateException: Couldn't read row 5324, col 0 from CursorWindow.  Make sure the Cursor is initialized correctly before accessing data from it.
    at android.database.CursorWindow.nativeGetLong(Native Method)
    at android.database.CursorWindow.getLong(CursorWindow.java:511)
    at android.database.AbstractWindowedCursor.getLong(AbstractWindowedCursor.java:75)
    at android.database.CursorWrapper.getLong(CursorWrapper.java:127)
    at org.pixmob.freemobile.netstat.ui.c.a(ExportTask.java:1170)
    at org.pixmob.freemobile.netstat.ui.c.doInBackground(ExportTask.java:45)
    at android.os.AsyncTask$2.call(AsyncTask.java:307)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    at java.lang.Thread.run(Thread.java:833)

This probably occurs trying to aggregate statistics.

image