-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Sync] Internal error in file lowering: java.lang.NoSuchMethodError with Kotlin 1.9.20 #1566
Comments
Hi @ammerzon. Thanks for the report. It indeed seems like the |
@nhachicha any updates on this one? I'm unable to use realm-sync in my app |
I'll link this here as its connected #1500 (comment) . id("io.realm.kotlin") version "1.12.0" When I try and instantiate an App in a repository like: Details: Internal error in file lowering: java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.ir.expressions.IrConst org.jetbrains.kotlin.ir.interpreter.IrTreeBuildUtilsKt.toIrConstOrNull(java.lang.Object, org.jetbrains.kotlin.ir.types.IrType, int, int)' at io.realm.kotlin.compiler.SyncLowering$transformer$1.visitCall(SyncLoweringExtension.kt:150) |
This is fixed in |
what's the repo for you SNAPSHOTS, I tried changing the version numbers for the plugin and main realm deps, but to no avail..? |
It requires a slightly different Gradle setup. You can read more here: https://github.com/realm/realm-kotlin#using-snapshots |
Also happens with kolitn |
How frequently does the bug occur?
Always
Description
After updating the Kotlin version from 1.9.10 to 1.9.20, the build fails with an error. This may be similar to #1346 and could be based on changes in the Kotlin compiler API.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
1.12.0
What Atlas App Services are you using?
Both Atlas Device Sync and Atlas App Services
Are you using encryption?
No
Platform OS and version(s)
macOS 14.0
Build environment
Android Studio version: 2022.3.1 Patch 3
Android Build Tools version: 8.1.3
Gradle version: 8.4
The text was updated successfully, but these errors were encountered: