gitgabrio commented on PR #5647:
URL: 
https://github.com/apache/incubator-kie-drools/pull/5647#issuecomment-1887583834

   > @gitgabrio as I feared this is also causing a couple of compilation 
failues in Kogito. From the log:
   > 
   > ```
   > 2024-01-11T14:26:21.4348889Z [ERROR] 
/home/runner/work/incubator-kie-drools/incubator-kie-drools/apache_incubator-kie-kogito-runtimes/jbpm/jbpm-flow-builder/src/main/java/org/jbpm/assembler/DuplicateProcess.java:[34,9]
 constructor ConfigurableSeverityResult in class 
org.drools.compiler.compiler.ConfigurableSeverityResult cannot be applied to 
given types;
   > 2024-01-11T14:26:21.4353362Z [ERROR]   required: 
org.kie.api.io.Resource,org.kie.internal.builder.KnowledgeBuilderConfiguration,java.lang.String
   > 2024-01-11T14:26:21.4355274Z [ERROR]   found:    
org.kie.api.io.Resource,org.kie.internal.builder.KnowledgeBuilderConfiguration
   > 2024-01-11T14:26:21.4356507Z [ERROR]   reason: actual and formal argument 
lists differ in length
   > 2024-01-11T14:26:21.4360369Z [ERROR] 
/home/runner/work/incubator-kie-drools/incubator-kie-drools/apache_incubator-kie-kogito-runtimes/jbpm/jbpm-flow-builder/src/main/java/org/jbpm/assembler/DuplicateProcess.java:[39,19]
 getMessage() in org.jbpm.assembler.DuplicateProcess cannot override 
getMessage() in org.drools.drl.parser.BaseKnowledgeBuilderResultImpl
   > 2024-01-11T14:26:21.4363298Z [ERROR]   overridden method is final
   > 2024-01-11T14:26:21.4366121Z [ERROR] 
/home/runner/work/incubator-kie-drools/incubator-kie-drools/apache_incubator-kie-kogito-runtimes/jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/ProcessLoadError.java:[34,15]
 incompatible types: org.kie.api.io.Resource cannot be converted to 
java.lang.String
   > 2024-01-11T14:26:21.4371716Z [ERROR] 
/home/runner/work/incubator-kie-drools/incubator-kie-drools/apache_incubator-kie-kogito-runtimes/jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/ProcessLoadError.java:[43,19]
 getMessage() in org.jbpm.compiler.ProcessLoadError cannot override 
getMessage() in org.drools.drl.parser.BaseKnowledgeBuilderResultImpl
   > 2024-01-11T14:26:21.4374485Z [ERROR]   overridden method is final
   > ```
   > 
   > ```
   > 2024-01-11T14:26:21.4458198Z [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) 
on project kogito-codegen-rules: Compilation failure: Compilation failure: 
   > 2024-01-11T14:26:21.4462236Z [ERROR] 
/home/runner/work/incubator-kie-drools/incubator-kie-drools/apache_incubator-kie-kogito-runtimes/kogito-codegen-modules/kogito-codegen-rules/src/main/java/org/kie/kogito/codegen/rules/QueryGenerator.java:[214,49]
 no suitable constructor found for DroolsError(no arguments)
   > 2024-01-11T14:26:21.4465415Z [ERROR]     constructor 
org.drools.drl.parser.DroolsError.DroolsError(java.lang.String) is not 
applicable
   > 2024-01-11T14:26:21.4466650Z [ERROR]       (actual and formal argument 
lists differ in length)
   > 2024-01-11T14:26:21.4468071Z [ERROR]     constructor 
org.drools.drl.parser.DroolsError.DroolsError(org.kie.api.io.Resource,java.lang.String)
 is not applicable
   > 2024-01-11T14:26:21.4469605Z [ERROR]       (actual and formal argument 
lists differ in length)
   > 2024-01-11T14:26:21.4473934Z [ERROR] 
/home/runner/work/incubator-kie-drools/incubator-kie-drools/apache_incubator-kie-kogito-runtimes/kogito-codegen-modules/kogito-codegen-rules/src/main/java/org/kie/kogito/codegen/rules/QueryGenerator.java:[219,23]
 getMessage() in org.kie.kogito.codegen.rules.QueryGenerator.NoBindingQuery 
cannot override getMessage() in 
org.drools.drl.parser.BaseKnowledgeBuilderResultImpl
   > 2024-01-11T14:26:21.4477364Z [ERROR]   overridden method is final
   > ```
   
   Yup, I'm fixing them....


-- 
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]

Reply via email to