-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
kapt plugin throwing error with kotlinx.coroutines 1.7.x #7854
Comments
github-actions
bot
added
Encryption:Off
Frequency:Always
Repro:Always
SDK-Use:Local
labels
Oct 25, 2023
ElegyD
changed the title
kapt plugin throwing error with kotlinx-coroutines-android:1.7.x
kapt plugin throwing error with kotlinx.coroutines 1.7.x
Oct 25, 2023
I'm having the same issue!! |
I have the same error. I tried kotlinx-coroutines-core:1.7.x, 1.8.0 |
Also have the same issue |
this solves the issue:
|
@ElegyD did you find a solution? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How frequently does the bug occur?
Always
Description
I have updated my app dependencies and some now depend on
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1
andorg.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1
.Before, they were version 1.6.4.
When building the project now, Realm throws an error
Field "xyz" of type "@org.jetbrains.annotations.Nullable byte[]" is not supported
.Field
xyz
being a variable of aRealmObject
implemented in Kotlin (var xyz: ByteArray? = null
).I tried updating both to the latest version (as of now 1.7.3) but the issue remains.
When explicitly downgrading to version 1.6.4 it works again:
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4!!")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4!!")
The release notes of kotlinx-coroutines 1.7.0 list some breaking changes, but I haven't been able to find more details.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
org.jetbrains.kotlinx:kotlinx-coroutines-core
and/ororg.jetbrains.kotlinx:kotlinx-coroutines-android
dependency with a version >= 1.7.0:implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
ByteArray?
and a default value ofnull
:var foo: ByteArray? = null
Version
10.17.0
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Android 14, SDK 34
Build environment
Android Studio version: Giraffe 2022.3.1 Patch 2
Android Build Tools version: 33.0.1
Gradle version: 8.0
Kotlin & kapt version: 1.9.0
The text was updated successfully, but these errors were encountered: