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

CollectorTransformer execution failed with Plugin 2.2.x #1851

Open
ahus1 opened this issue Dec 20, 2024 · 0 comments
Open

CollectorTransformer execution failed with Plugin 2.2.x #1851

ahus1 opened this issue Dec 20, 2024 · 0 comments
Labels

Comments

@ahus1
Copy link

ahus1 commented Dec 20, 2024

What happened?

I want to upgrade from plugin version 2.1.0 to 2.2.x, and now the build fails with a compile error most likely due to the transformer failure.

Updating the Grazie professional plugin to com.intellij.grazie.pro:0.3.354 doesn't help, it is the same error message.

What makes it difficult to fix/reproduce: The exception of the transformer happens only on the first run, as the transformed output is kept. On the next run, it fails with only the compile error as the classes from the Grazie plugin are not available in the compile class path. The same exception occurs only if I clean the gradle caches.

Relevant log output or stack trace

[org.jetbrains.intellij.platform] org.jetbrains.intellij.platform.gradle.artifacts.transform.CollectorTransformer$Inject1 execution failed.
org.gradle.api.GradleException: Unknown input: /home/aschwart/.gradle/caches/transforms-4/c4bbb37430a2fc123dc9a2c3426f631b/transformed/com.intellij.grazie.pro-0.3.354
        at org.jetbrains.intellij.platform.gradle.artifacts.transform.CollectorTransformer.transform(CollectorTransformer.kt:103)
        at org.gradle.api.internal.artifacts.transform.DefaultTransform.transform(DefaultTransform.java:276)
        at org.gradle.api.internal.artifacts.transform.AbstractTransformExecution$2.call(AbstractTransformExecution.java:143)
        at org.gradle.api.internal.artifacts.transform.AbstractTransformExecution$2.call(AbstractTransformExecution.java:137)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
        at org.gradle.api.internal.artifacts.transform.AbstractTransformExecution.executeWithinTransformerListener(AbstractTransformExecution.java:137)
        at org.gradle.api.internal.artifacts.transform.AbstractTransformExecution.execute(AbstractTransformExecution.java:130)
        at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105)
        at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59)
        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)

Steps to reproduce

See PR asciidoctor/asciidoctor-intellij-plugin#1742

Run ./gradlew check

Gradle IntelliJ Plugin version

2.2.1

Gradle version

8.7

Operating System

Linux

Link to build, i.e. failing GitHub Action job

https://github.com/asciidoctor/asciidoctor-intellij-plugin/actions/runs/12432349243/job/34711561885

@ahus1 ahus1 added the bug label Dec 20, 2024
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

1 participant