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

Encountered error after upgrading from 1.6.10-beta01 to 1.6.10-rc01 #4815

Open
Omico opened this issue May 15, 2024 · 5 comments
Open

Encountered error after upgrading from 1.6.10-beta01 to 1.6.10-rc01 #4815

Omico opened this issue May 15, 2024 · 5 comments
Labels
bug Something isn't working wait for reply Further information is requested

Comments

@Omico
Copy link
Contributor

Omico commented May 15, 2024

org.gradle.internal.snapshot.impl.IsolationException: Could not isolate value org.jetbrains.compose.internal.service.ConfigurationProblemReporterService$Parameters_Decorated@6e5b35b7 of type ConfigurationProblemReporterService.Parameters
	at org.gradle.internal.snapshot.impl.DefaultIsolatableFactory.isolate(DefaultIsolatableFactory.java:51)
	at org.gradle.api.services.internal.RegisteredBuildServiceProvider.instantiate(RegisteredBuildServiceProvider.java:128)
	at org.gradle.api.services.internal.RegisteredBuildServiceProvider.getInstance(RegisteredBuildServiceProvider.java:119)
	at org.gradle.api.services.internal.RegisteredBuildServiceProvider.calculateOwnValue(RegisteredBuildServiceProvider.java:112)
	at org.gradle.api.internal.provider.AbstractMinimalProvider.calculateOwnPresentValue(AbstractMinimalProvider.java:80)
	at org.gradle.api.internal.provider.AbstractMinimalProvider.get(AbstractMinimalProvider.java:100)
	at org.gradle.internal.build.event.DefaultBuildEventsListenerRegistry$ForwardingBuildEventConsumer.handle(DefaultBuildEventsListenerRegistry.java:261)
	at org.gradle.internal.build.event.DefaultBuildEventsListenerRegistry$ForwardingBuildEventConsumer.handle(DefaultBuildEventsListenerRegistry.java:238)
	at org.gradle.internal.build.event.DefaultBuildEventsListenerRegistry$AbstractListener.run(DefaultBuildEventsListenerRegistry.java:180)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
	at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: java.lang.IllegalStateException: BuildScopeServices has been closed.
	at org.gradle.internal.service.DefaultServiceRegistry.serviceRequested(DefaultServiceRegistry.java:291)
	at org.gradle.internal.service.DefaultServiceRegistry.getService(DefaultServiceRegistry.java:331)
	at org.gradle.internal.service.DefaultServiceRegistry.find(DefaultServiceRegistry.java:325)
	at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:310)
	at org.gradle.internal.instantiation.generator.ManagedObjectFactory.getObjectFactory(ManagedObjectFactory.java:140)
	at org.gradle.internal.instantiation.generator.ManagedObjectFactory.newInstance(ManagedObjectFactory.java:95)
	at org.jetbrains.compose.internal.service.ConfigurationProblemReporterService$Parameters_Decorated.getUnsupportedPluginWarningProviders(Unknown Source)
	at org.jetbrains.compose.internal.service.ConfigurationProblemReporterService$Parameters_Decorated.unpackState(Unknown Source)
	at org.gradle.internal.snapshot.impl.AbstractValueProcessor.processManaged(AbstractValueProcessor.java:127)
	at org.gradle.internal.snapshot.impl.AbstractValueProcessor.processValue(AbstractValueProcessor.java:98)
	at org.gradle.internal.snapshot.impl.DefaultIsolatableFactory.isolate(DefaultIsolatableFactory.java:49)
	... 10 more
@Omico Omico added bug Something isn't working submitted labels May 15, 2024
@eymar
Copy link
Collaborator

eymar commented May 16, 2024

Do you have a reproducer for this issue?


There is a template when you create a new issue. Please follow it. Especially the "Steps to reproduce" part

@eymar eymar added wait for reply Further information is requested and removed submitted labels May 16, 2024
@Omico
Copy link
Contributor Author

Omico commented May 17, 2024

@eymar It cannot be reproduced stably, but it will break my CI from time to time after upgrading. https://scans.gradle.com/s/43zyx7dja22yc

@igordmn
Copy link
Collaborator

igordmn commented May 17, 2024

Probably it is #4773. The solution is in the comments

@Omico
Copy link
Contributor Author

Omico commented May 17, 2024

Probably it is #4773. The solution is in the comments

Not sure what's going on.
https://scans.gradle.com/s/mmlzuzbvgolgo
https://scans.gradle.com/s/gqynlmhckpdbg
It took a long time to debug. Something wrong with 1.6.10-beta03.
v1.6.10-beta02...v1.6.10-beta03

@amir1376
Copy link
Contributor

amir1376 commented May 26, 2024

for me it seems when I add compose plugin using buildSrc this problem shows up
it's ok with jb-compose 1.6.2 with kotlin 1.9.23
but have error with jb-compose 1.6.10 with kotlin 2.0.0

it breaks CI .. because for the first time this happenes but after that its ok

steps to reproduce ...

cd projectDir
./gradlew clean
rm -rf .gradle
rm -rf buildSrc/.gradle
rm -rf buildSrc/build
./gradlew --stop 
./gradlew 

the problem happens here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wait for reply Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants