java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object io.requery.util.function.Supplier.get()' on a null object reference

GitHub | dabx | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    OneToOne - Couldn't find referenced element

    GitHub | 8 months ago | dabx
    java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object io.requery.util.function.Supplier.get()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'java.lang.Object io.requery.util.function.Supplier.get()' on a null object reference

      at io.requery.sql.Attributes.get()
    2. io.requery.sql
      EntityUpdateOperation$1.evaluate
      1. io.requery.sql.Attributes.get(Attributes.java:38)
      2. io.requery.sql.EntityWriter.bindParameters(EntityWriter.java:352)
      3. io.requery.sql.EntityUpdateOperation$1.evaluate(EntityUpdateOperation.java:67)
      4. io.requery.sql.EntityUpdateOperation$1.evaluate(EntityUpdateOperation.java:55)
      4 frames
    3. io.requery.query
      BaseScalar.value
      1. io.requery.query.BaseScalar.value(BaseScalar.java:49)
      1 frame
    4. io.requery.sql
      EntityDataStore.insert
      1. io.requery.sql.EntityWriter.insert(EntityWriter.java:452)
      2. io.requery.sql.EntityWriter.cascadeWrite(EntityWriter.java:926)
      3. io.requery.sql.EntityWriter.updateInverseAssociation(EntityWriter.java:782)
      4. io.requery.sql.EntityWriter.updateAssociations(EntityWriter.java:665)
      5. io.requery.sql.EntityWriter.insert(EntityWriter.java:454)
      6. io.requery.sql.EntityWriter.insert(EntityWriter.java:410)
      7. io.requery.sql.EntityDataStore.insert(EntityDataStore.java:209)
      8. io.requery.sql.EntityDataStore.insert(EntityDataStore.java:199)
      8 frames
    5. io.requery.rx
      SingleOnSubscribeFromSupplier.call
      1. io.requery.rx.SingleEntityStoreFromBlocking$1.get(SingleEntityStoreFromBlocking.java:87)
      2. io.requery.rx.SingleOnSubscribeFromSupplier.call(SingleOnSubscribeFromSupplier.java:34)
      3. io.requery.rx.SingleOnSubscribeFromSupplier.call(SingleOnSubscribeFromSupplier.java:23)
      3 frames
    6. rxjava
      ExecutorScheduler$ExecutorSchedulerWorker.run
      1. rx.Single$1.call(Single.java:94)
      2. rx.Single$1.call(Single.java:74)
      3. rx.Single.subscribe(Single.java:1822)
      4. rx.Single.subscribe(Single.java:1899)
      5. rx.Single$19$1.call(Single.java:1954)
      6. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
      7. rx.internal.schedulers.ExecutorScheduler$ExecutorSchedulerWorker.run(ExecutorScheduler.java:104)
      7 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames