jomarko opened a new issue, #1832: URL: https://github.com/apache/incubator-kie-issues/issues/1832
Adding a group [1] node to any diagram using a tooling as of 14th of February 2025 makes the DMN Model validation to fail with a message [2] #### Steps to reproduce 1. open some of `kogito-example` projects that contians a DMN diagram 2. run `mvn clean install` in such `kogito-example` project 3. it will pass 🟢 4. now open a DMN model of the selected project 5. add a GROUP node into that diagram [1] and save the DMN model 6. run `mvn clean install` 7. It will fail 🔴 as [2] [1]  [2] ``` [ERROR] Errors: [ERROR] TrafficViolationTest.testUtils » Runtime java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor#generateSources threw an exception: java.lang.RuntimeException: DMN Validation schema and model validation contained errors You may configure kogito.decisions.validation=IGNORE to ignore validation errors DMN Validation errors: Utils: DMN: Unable to resolve dmnElementRef '_63A1F27D-C488-42AA-B586-8EBC54B7E868' on '[unnamed DMNShape]' (The referenced element could not be resolved) at org.kie.kogito.codegen.decision.DecisionValidation.processMessagesHandleErrors(DecisionValidation.java:195) at org.kie.kogito.codegen.decision.DecisionValidation.dmnValidateResources(DecisionValidation.java:90) at org.kie.kogito.codegen.decision.DecisionCodegen.loadModelsAndValidate(DecisionCodegen.java:143) at org.kie.kogito.codegen.decision.DecisionCodegen.internalGenerate(DecisionCodegen.java:160) at org.kie.kogito.codegen.core.AbstractGenerator.generate(AbstractGenerator.java:72) at org.kie.kogito.codegen.core.ApplicationGenerator.lambda$generateComponents$1(ApplicationGenerator.java:101) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at org.kie.kogito.codegen.core.ApplicationGenerator.generateComponents(ApplicationGenerator.java:104) at org.kie.kogito.codegen.core.ApplicationGenerator.generate(ApplicationGenerator.java:78) at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateFiles(KogitoAssetsProcessor.java:291) at org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor.generateSources(KogitoAssetsProcessor.java:146) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856) at io.quarkus.builder.BuildContext.run(BuildContext.java:256) at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2516) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2495) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1521) at java.base/java.lang.Thread.run(Thread.java:840) at org.jboss.threads.JBossThread.run(JBossThread.java:483) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
