io.requery.sql.RowCountException: Expected 1 row affected actual 0

GitHub | Rufim | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 155#230032160

    GitHub | 8 months ago | Rufim
    io.requery.sql.RowCountException: Expected 1 row affected actual 0

    Root Cause Analysis

    1. io.requery.sql.RowCountException

      Expected 1 row affected actual 0

      at io.requery.sql.EntityWriter.checkRowsAffected()
    2. io.requery.sql
      EntityDataStore.delete
      1. io.requery.sql.EntityWriter.checkRowsAffected(EntityWriter.java:167)
      2. io.requery.sql.EntityWriter.delete(EntityWriter.java:813)
      3. io.requery.sql.EntityWriter.cascadeRemove(EntityWriter.java:943)
      4. io.requery.sql.EntityWriter.clearAssociations(EntityWriter.java:849)
      5. io.requery.sql.EntityWriter.delete(EntityWriter.java:811)
      6. io.requery.sql.EntityWriter.cascadeRemove(EntityWriter.java:943)
      7. io.requery.sql.EntityWriter.clearAssociations(EntityWriter.java:849)
      8. io.requery.sql.EntityWriter.delete(EntityWriter.java:811)
      9. io.requery.sql.EntityDataStore.delete(EntityDataStore.java:336)
      9 frames
    3. ru.samlib.client
      ObservableService.deleteAuthor
      1. ru.samlib.client.service.ObservableService.doAction(ObservableService.java:70)
      2. ru.samlib.client.service.ObservableService.deleteAuthor(ObservableService.java:81)
      2 frames