Kogito processes build failing - enum mismatch

281 views Asked by At

Using Quarkus version 2.7.3.Final, the build is failing because of the 2 different enums value field clashing.

Java 11

Error details:

Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step org.kie.kogito.quarkus.processes.deployment.ProcessesAssetsProcessor#postGenerationProcessing threw an exception: org.infinispan.protostream.DescriptorParserException: Enum value org.kie.kogito.app.Level.value clashes with enum value org.kie.kogito.app.Error422Code.value

Is it a known issue? Is there any workaround to use the enums?

1

There are 1 answers

5
Cristiano Nicolai On

I managed to easily reproduce the issue and created the following JIRA to track: https://issues.redhat.com/browse/KOGITO-7063