io.requery.sql.MissingKeyException: No key in provided entity

GitHub | vanniktech | 11 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 214#231313903

    GitHub | 11 months ago | vanniktech
    io.requery.sql.MissingKeyException: No key in provided entity
  2. 0

    GitHub comment 214#230530427

    GitHub | 11 months ago | vanniktech
    io.requery.sql.MissingKeyException: No key in provided entity

    Root Cause Analysis

    1. io.requery.sql.MissingKeyException

      No key in provided entity

      at io.requery.sql.EntityWriter.update()
    2. io.requery.sql
      EntityDataStore.upsert
      1. io.requery.sql.EntityWriter.update(EntityWriter.java:505)
      2. io.requery.sql.EntityWriter.upsert(EntityWriter.java:493)
      3. io.requery.sql.EntityDataStore.upsert(EntityDataStore.java:264)
      3 frames
    3. net.familo.android
      RequeryDatabaseTest.clearShouldKeepFeatureFlags
      1. net.familo.android.persistance.shiny.RequeryDatabase.upsert(RequeryDatabase.java:36)
      2. net.familo.android.persistance.shiny.RequeryDatabaseTest.clearShouldKeepFeatureFlags(RequeryDatabaseTest.java:119)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      5 frames
    6. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:251)
      2. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:188)
      3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
      3 frames
    7. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      5 frames
    8. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:152)
      1 frame
    9. JUnit
      JUnitCore.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      2 frames
    10. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    11. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    13. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame