Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalStateException: Couldn't read row 0, col 0 from CursorWindow #34

Closed
vulegend opened this issue Oct 31, 2017 · 2 comments
Assignees
Labels

Comments

@vulegend
Copy link

10-31 04:42:32.416 16248-17032/com.tapp.hookapp E/CursorWindow: Failed to read row 0, column 0 from a CursorWindow which has 0 rows, 22 columns.
10-31 04:42:32.417 16248-17032/com.tapp.hookapp E/JobStorage: could not load all jobs
java.lang.IllegalStateException: Couldn't read row 0, 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:524)
at android.database.CursorWindow.getInt(CursorWindow.java:591)
at android.database.AbstractWindowedCursor.getInt(AbstractWindowedCursor.java:69)
at com.evernote.android.job.JobStorage.getAllJobRequests(JobStorage.java:189)
at com.evernote.android.job.JobManager.getAllJobRequests(JobManager.java:289)
at com.evernote.android.job.JobRescheduleService.onHandleWork(JobRescheduleService.java:71)
at android.support.v4.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:386)
at android.support.v4.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:377)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)

I get this 2-4 seconds in after calling MediaManager.init function, and on every action through MediaManager. Any clue why this happens and how i could fix it. Thanks

@roeeba
Copy link

roeeba commented Nov 15, 2017

Hi @vulegend. Could you please share with us the following information:

  1. Your Init code.
  2. Your upload code.
  3. Which device are you using?
  4. Your Android version.
  5. Did you try running it on a different device?

This will help us reproduce the issue on our end. Thanks.

@roeeba
Copy link

roeeba commented Feb 19, 2018

Closing this issue due to the time elapsed. Please feel free to either re-open the issue, contact our support at http://support.cloudinary.com or create a new ticket if you have any additional issues.

@roeeba roeeba closed this as completed Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants