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

Incremental Compilation lock contention issues #75

Open
natanfudge opened this issue Feb 7, 2025 · 1 comment
Open

Incremental Compilation lock contention issues #75

natanfudge opened this issue Feb 7, 2025 · 1 comment
Assignees
Labels

Comments

@natanfudge
Copy link

natanfudge commented Feb 7, 2025

Hey, thanks for developing this project. I have been looking for something like this for a long time, and I can see this one has a lot of dedication put into it!
Unfortunately, I am running into usability issues, so I will post about them in the upcoming issues.
I'll start with this one:

Incremental Compilation lock contention issues

Initially when I ran the hot reload process, it gave me errors about trying to use a jdk from the registry that doesn't exist. So I changed the JDK in the registry to be JBR-17, the same one I use as the project SDK.
Now, when I run hot reload via the runHot gradle task, I get the following error when hot reloading (I sometimes get it as soon as i launch in the IDE as well);

[KOTLIN] [IC] Incremental compilation was attempted but failed:

Full error:
https://gist.github.com/natanfudge/66174541e2d83437177ab75f12fbd7eb

The hot reloading does succeed at the end, but it only shows an indicator that it started reloading after this incremental process finishes to fail.

Gradle: 8.12.1
Hot Reload:1.0.0-dev-39
Kotlin: 2.1.20-Beta2
OS: Windows 11 Home 24H2
Example project: https://github.com/natanfudge/HotReloadBugs/tree/caches

@sellmair sellmair self-assigned this Feb 10, 2025
@natanfudge
Copy link
Author

Still running into this as of version 1.0.0-alpha01

https://gist.github.com/natanfudge/b232276542f175f9a16dc2ed5710bc13

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

No branches or pull requests

2 participants