Skip to content

Quarkus issue with quarkus-confluent-registry-avro and smallrye-config-jasypt #49788

@akoufa

Description

@akoufa

Describe the bug

We have the following setup:

Quarkus 3.25.4/3.26.0
Kotlin 2.2
Gradle with Kotlin Script
Ktlint

After upgrading to Quarkus 3.25.4 (same for 3.26.0) I am getting the following issue when running gradle checks like ktlint:

* What went wrong:
Execution failed for task ':quarkusGenerateCode'.
> There was a failure while executing work items
   > A failure occurred while executing io.quarkus.gradle.tasks.worker.CodeGenWorker
      > Failed to generate sources in the QuarkusGenerateCode task for org.acme:code-with-quarkus:1.0.0-SNAPSHOT due to java.lang.reflect.InvocationTargetException

After analysing the issue I came to the conclusion that it's being produced by the combination of the following dependencies:

    implementation("io.smallrye.config:smallrye-config-jasypt")
    implementation("io.quarkus:quarkus-confluent-registry-avro")

How to Reproduce?

Feel free to use the following reproducer project: https://github.com/akoufa/quarkus-issues

Just run:
./gradlew ktlintFormat

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions