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

`NullPointerException` while waiting for the synchronization of a subscription.

      How frequently does the bug occur?

      Always

      Description

      While waiting for the synchronization of a subscription set a null pointer is thrown.

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Fatal Exception: java.lang.NullPointerException:
             at io.realm.kotlin.mongodb.internal.SubscriptionSetImpl.waitForSynchronization-VtjQ1oo(SubscriptionSetImpl.java:215)
             at io.realm.kotlin.mongodb.internal.SubscriptionSetImpl$waitForSynchronization$1.invokeSuspend(SubscriptionSetImpl.java:13)
             at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(BaseContinuationImpl.java:13)
             at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.java:111)
             at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.java:34)
             at kotlinx.coroutines.scheduling.TaskImpl.run(TaskImpl.java:2)
             at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.java:93)
             at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.java:93)
             at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.java:93)
             at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.java:93)
      

      Can you reproduce the bug?

      Always

      Reproduction Steps

      No response

      Version

      1.13.0

      What Atlas App Services are you using?

      Atlas Device Sync

      Are you using encryption?

      No

      Platform OS and version(s)

      Build environment

      No response

            Assignee:
            clemente.tort@mongodb.com Clemente Tort Barbero
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: