Skip to content
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

Kotlin 2.1.0 support #1857

Open
iXPert12 opened this issue Nov 28, 2024 · 11 comments
Open

Kotlin 2.1.0 support #1857

iXPert12 opened this issue Nov 28, 2024 · 11 comments

Comments

@iXPert12
Copy link

How frequently does the bug occur?

Always

Description

After update to kotlin 2.1.0, my project doesn't compile.

Stacktrace & log output

Caused by: java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.fir.types.ConeKotlinType org.jetbrains.kotlin.fir.types.FirResolvedTypeRef.getType()'
	at io.realm.kotlin.compiler.IrUtilsKt.isBaseRealmObject(IrUtils.kt:229)
	at io.realm.kotlin.compiler.fir.model.CompanionExtension.getNestedClassifiersNames(CompanionExtension.kt:45)
	at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedMemberDeclarationsStorage.getClassifierStorage$providers(FirGeneratedScopes.kt:170)
	at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedClassNestedClassifierScope$Companion.create(FirGeneratedScopes.kt:126)

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

2.3.0

What Atlas App Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

Macos Sequoia 15.1

Build environment

Android Studio version: 2024.2.1
Android Build Tools version: ...
Gradle version: 8.10.2

@izadiegizabal
Copy link

same here :(

@Supereuro
Copy link

same here!

@promanowicz
Copy link

Bump, version 3.0.0 has the same issue

@hendydanakini
Copy link

same here with gradle 8.11.1 and agp 8.7.3

@vovan888
Copy link

vovan888 commented Dec 7, 2024

The same with realm-kotlin 3.0.0

@shalva97
Copy link

same issue here. Any plans to fix this?

@p-romanowicz
Copy link

p-romanowicz commented Dec 11, 2024

same issue here. Any plans to fix this?

Maybe @nhachicha would give an answer?

@Akshar062
Copy link

Guys, i have been using room for very small requirements but wanted to try realm is it worth it as it's documentation is very bad and it is not supporting kotlin 2.0 or higher

@vovan888
Copy link

vovan888 commented Dec 14, 2024

Looks like realm is not maintained anymore - #1852 (comment)

@shalva97
Copy link

shalva97 commented Dec 14, 2024

it is not supporting kotlin 2.0 or higher

it does support or at least works for me on Kotlin 2.0.21

Looks like realm is not maintained anymore

they say that it is minimum maintenance, maybe there are still some hopes? I'd rather switch to Room than maintain fork of realm

@abdou-gh549
Copy link

it doesn't work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants