Search code examples
androidrealm-mobile-platform

Android updating Realm 5.12 to 5.15 throws exception


Recently I updated Realm plugin version 5.12 to 5.15.1, installing as a fresh app will work correctly but upgrading the old app that was using Realm 5.12.0 to 5.15 when the app launches it's throwing an exception even thought I did not change any of the database models. I'm using Synced Realm default configuration and this is the exception:

E/UncaughtException: java.lang.IllegalStateException: The following changes cannot be made in additive-only schema mode:

  • Property '__ResultSets.updated_at' has been made required.
  • Property '__ResultSets.updated_at' has been made required.

Does anybody is experiencing this problem.


Solution

  • Realm team just updated the SDK and now the bug is fixed:

    #6619