Uploaded image for project: 'Realm Java SDK'
  1. Realm Java SDK
  2. RJAVA-1213

Fatal Exception: java.lang.IncompatibleClassChangeError

      How frequently does the bug occur?

      Sometimes

      Description

      Hi guys,

      we released a newer version of our app and we are receiving some strange crash on crashlytics.

      I can't understand which is the problem and - of course - it's not replicable, so i'm writing you to asking which one could be the cause of it

      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.IncompatibleClassChangeError: The method 'java.lang.Class java.lang.Object.getClass()' was expected to be of type interface but instead was found to be of type virtual (declaration of 'io.realm.DefaultRealmModuleMediator' appears in /data/app/com.dolomitisuperski.skiapp-zbIU4xyAjlUuv8QKsfTx3g==/base.apk:classes4.dex)
             at io.realm.DefaultRealmModuleMediator.copyOrUpdate(DefaultRealmModuleMediator.java:1190)
             at io.realm.Realm.copyOrUpdate(Realm.java:1844)
             at io.realm.Realm.copyToRealmOrUpdate(Realm.java:1433)
             at it.intesys.dolomitisuperski.common.persistency.PersistencyManager.clearTableAndSave$lambda-8$lambda-7(PersistencyManager.kt:79)
             at it.intesys.dolomitisuperski.common.persistency.PersistencyManager.$r8$lambda$Ge5sZIMPsuVe462oP_wnuR1kruI()
             at it.intesys.dolomitisuperski.common.persistency.PersistencyManager$$ExternalSyntheticLambda2.execute(:4)
             at io.realm.Realm.executeTransaction(Realm.java:1633)
             at it.intesys.dolomitisuperski.common.persistency.PersistencyManager.clearTableAndSave(PersistencyManager.kt:77)
             at it.intesys.dolomitisuperski.common.persistency.SeasonPersistencyManager$DefaultImpls.saveSeasons(SeasonPersistencyManager.kt:30)
             at it.intesys.dolomitisuperski.common.persistency.PersistencyManager.saveSeasons(PersistencyManager.kt:12)
      

      Can you reproduce the bug?

      No

      Reproduction Steps

      No response

      Version

      io.realm:realm-gradle-plugin:10.11.1"

      What Atlas App Services are you using?

      Local Database only

      Are you using encryption?

      No

      Platform OS and version(s)

      Android 8.0.0

      Build environment

      Android Studio version: Android Studio Electric Eel | 2022.1.1 Patch
      Android Build Tools version: 34-rc4
      Gradle version: 7.2.0

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

              Created:
              Updated:
              Resolved: