Uploaded image for project: 'Realm Dart SDK'
  1. Realm Dart SDK
  2. RDART-1011

Realm error after updating to 2.1

      What happened?

      First time to open, everything syncs.
      Closing and opening the app and the Realm gives error:

       ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 490775493808: Start read 57979: 38 ref 1946728)'
      

      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query find all: '(state == 3 or state == 6)', limit = -1)'
      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 491546152112: End transaction 60329)'
      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query found: 1, Duration: 24 us)'
      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query find all: 'state == 6', limit = -1)'
      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query found: 0, Duration: 16 us)'
      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 490775493808: End transaction 57979)'
      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 491546152112: Start read 58929: 38 ref 1946728)'
      [ +198 ms] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 490775493808: Start frozen 64129: 38 ref 1946728)'
      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query find all: '(state == 3 or state == 6)', limit = -1)'
      [ ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query found: 1, Duration: 14 us)'
      [ +3 ms] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 490775493808: End transaction 64129)'
      [ +3 ms] I/flutter (18286): Realm log message: '(category: Realm.SDK, level: LogLevel.error, message: Sync Error: error)'

      Repro steps

      1.Open a sync realm
      2.Close the app.

      1. Open again
      2. Gives error

      Version

      2.1

      What Atlas Services are you using?

      Atlas Device Sync

      What type of application is this?

      Flutter Application

      Client OS and version

      Android and iOS

      Code snippets

      No response

      Stacktrace of the exception/crash you're getting

      No response

      Relevant 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
      ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 490775493808: Start read 57979: 38 ref 1946728)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query find all: '(state == 3 or state == 6)', limit = -1)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 491546152112: End transaction 60329)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query found: 1, Duration: 24 us)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query find all: 'state == 6', limit = -1)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query found: 0, Duration: 16 us)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 490775493808: End transaction 57979)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 491546152112: Start read 58929: 38 ref 1946728)'
      [ +198 ms] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 490775493808: Start frozen 64129: 38 ref 1946728)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query find all: '(state == 3 or state == 6)', limit = -1)'
      [        ] I/flutter (18286): Realm log message: '(category: Realm.Storage.Query, level: LogLevel.debug, message: DB: 8565 Thread 490775493808: Query found: 1, Duration: 14 us)'
      [   +3 ms] I/flutter (18286): Realm log message: '(category: Realm.Storage.Transaction, level: LogLevel.trace, message: DB: 8565 Thread 490775493808: End transaction 64129)'
      [   +3 ms] I/flutter (18286): Realm log message: '(category: Realm.SDK, level: LogLevel.error, message: Sync Error: error)'
      

            Assignee:
            kasper.nielsen@mongodb.com Kasper Nielsen (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: