title: Room library won't accept byte array
body: <p>I am using Room library for Android to make a database. It has one simple table with id, date, title, text, address and image.<br>
  The problem appears when I try to insert byte array into the table (I am using test entries through for loop for test). I am converting the image to <code>byte[]</code>. It works ok when I put simple string instead of image.</p>
  
  <p>Here is the error:  </p>
  
  <pre><code>Failed to read row 0, column 0 from a CursorWindow which has 0 rows, 6 columns.
  
  FATAL EXCEPTION: AsyncTask #1
  Process: com.database.test.app, PID: 18552
  java.lang.RuntimeException: An error occurred while executing doInBackground()
  at android.os.AsyncTask$3.done(AsyncTask.java:309)
  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:234)
  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:818)
  Caused by: 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.AbstractWindowedCursor.getLong(AbstractWindowedCursor.java:75)
  at com.database.test.app.EntryDao_Impl.getAllEntries(EntryDao_Impl.java:183)
  at com.database.test.app.MainActivity$CreateAndExportBase.doInBackground(MainActivity.java:191)
  at com.database.test.app.MainActivity$CreateAndExportBase.doInBackground(MainActivity.java:151)
  at android.os.AsyncTask$2.call(AsyncTask.java:295)
  at java.util.concurrent.FutureTask.run(FutureTask.java:237)
  at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) 
  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:818) 
  </code></pre>