This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      I am trying to implement support for querying on lists of primitive types in Java

      public class Person extends RealmObject {
       public RealmList<String> names;
      }
      
      // Query objects with predicate on list elements
      RealmResults<Person> results = realm.where(Person.class).equalTo("names", "John").findAll();
      

      This was previously guarded in Java. After I have removed the existing guard, it seems like I succeed in performing the query lower down the stack with:
      realm_query->equal(ColKey(col_key_arr[0]), value2, is_case_sensitive);
      but the `findAll()` will cause an assert:
      E/REALM: ../src/realm/array_blobs_small.cpp:176: [realm-core-10.0.0-beta.1] Assertion failed: begin <= sz && end <= sz && begin <= end [0, 1, 100, 1, 0, 100]

              Assignee:
              James Stone
              Reporter:
              Claus Rørbech (Inactive)
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Resolved:
                Archived: