tkobayas opened a new issue, #6706:
URL: https://github.com/apache/incubator-kie-drools/issues/6706

   More than 10 rules cause parallel build. If the rules have Inline 
Accumulate, it causes a build error
   ```
   [ERROR] Failures: 
   [ERROR]   
ParallelBuildInlineAccumulateTest.buildExecutableModelWithParallelInlineAccumulates:44->assertBuildDoesNotThrow:58
 Build attempt 1 should not throw an exception ==> Unexpected exception thrown: 
java.lang.RuntimeException: [Message [id=1, level=ERROR, 
path=src/main/java/org/drools/model/codegen/execmodel/RulesDE9C0B44B9BC8EB52ECA1B01C4B7DB97RuleMethods0.java,
 line=79, column=8716
      text=accumulate1Accumulate20 cannot be resolved to a type], Message 
[id=2, level=ERROR, 
path=src/main/java/org/drools/model/codegen/execmodel/RulesDE9C0B44B9BC8EB52ECA1B01C4B7DB97RuleMethods0.java,
 line=0, column=0
      text=Java source of 
src/main/java/org/drools/model/codegen/execmodel/RulesDE9C0B44B9BC8EB52ECA1B01C4B7DB97RuleMethods0.java
 in error:
   package org.drools.model.codegen.execmodel;
   
   import org.drools.modelcompiler.dsl.pattern.D;
   import org.drools.model.Index.ConstraintType;
   import org.drools.model.codegen.execmodel.domain.Person;
   import static 
org.drools.model.codegen.execmodel.RulesDE9C0B44B9BC8EB52ECA1B01C4B7DB97.*;
   import static 
org.drools.model.codegen.execmodel.RulesDE9C0B44B9BC8EB52ECA1B01C4B7DB97.*;
   
   public class RulesDE9C0B44B9BC8EB52ECA1B01C4B7DB97RuleMethods0 {
   ...
   ```
   
   Workaround: Disable parallel build. `-Ddrools.parallelRulesBuildThreshold=-1`


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