Uploaded image for project: 'Realm Kotlin'
  1. Realm Kotlin
  2. RKOTLIN-447

Evaluate Expression in Android Studio does not work correctly with Realm Objects

      Typing this in the Evaluate Expression window in the debugger in Android studio
      aRealmObject.someRealmList.first()
      throws a NoSuchElementException: List is empty, when the realm list really isn't empty.

      Android Studio Bumblebee | 2021.1.1 Patch 1
      Build #AI-211.7628.21.2111.8139111, built on February 2, 2022
      Runtime version: 11.0.11+0-b60-7590822 x86_64
      VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
      macOS 12.0.1
      GC: G1 Young Generation, G1 Old Generation
      Memory: 4096M
      Cores: 16
      Registry: external.system.auto.import.disabled=true
      Non-Bundled Plugins: com.chimerapps.proguard-retrace (1.0.1), com.cmgapps.intellij.proguard-retrace-unscambler (1.3.0), wu.seal.tool.jsontokotlin (3.7.2), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40)

      realm version 0.7.0 (we currently can't upgrade higher than this due to kotlin 1.6 issues.

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: