Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6994

KieContainer.verify() doesn't work with exec-model without drools-mvel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.33.0.Final
    • 7.70.0.Final, 8.29.0.Final
    • executable model
    • None
    • 2022 Week 20-22 (from May 16), 2022 Week 23-25 (from Jun 6), 2022 Week 26-28 (from Jun 27), 2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8), 2022 Week 38-40 (from Sept 19), 2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12)
    • 3
    • NEW
    • NEW
    • ---
    • ---

      KieContainer.verify() doesn't work with exec-model without drools-mvel.

      [ERROR] testVerify(org.drools.compiler.integrationtests.nomvel.VerifyTest)  Time elapsed: 1.192 s  <<< ERROR!
      org.drools.core.common.MissingDependencyException: You're trying to compile a Drools asset without mvel. Please add the module org.drools:drools-mvel to your classpath.
      	at org.drools.core.base.CoreComponentsBuilder.throwExceptionForMissingMvel(CoreComponentsBuilder.java:34)
      	at org.drools.compiler.compiler.Dialect$DummyDialect.getConsequenceBuilder(Dialect.java:259)
      	at org.drools.compiler.rule.builder.RuleBuilder.build(RuleBuilder.java:112)
      	at org.drools.compiler.builder.impl.processors.RuleCompiler.internalAddRule(RuleCompiler.java:425)
      	at org.drools.compiler.builder.impl.processors.RuleCompiler.addRule(RuleCompiler.java:419)
      	at org.drools.compiler.builder.impl.processors.RuleCompiler.compileRulesLevel(RuleCompiler.java:359)
      	at org.drools.compiler.builder.impl.processors.RuleCompiler.process(RuleCompiler.java:81)
      	at java.base/java.util.Arrays$ArrayList.forEach(Arrays.java:4390)
      	at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.compileKnowledgePackages(KnowledgeBuilderImpl.java:643)
      	at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.buildRules(KnowledgeBuilderImpl.java:1211)
      	at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.doFirstBuildStep(KnowledgeBuilderImpl.java:1185)
      	at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:109)
      	at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:99)
      	at org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:270)
      	at org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:216)
      	at org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:80)
      	at org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:68)
      	at org.drools.compiler.kie.builder.impl.KieContainerImpl.verify(KieContainerImpl.java:424)
      	at org.drools.compiler.integrationtests.nomvel.VerifyTest.testVerify(VerifyTest.java:41)
      

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: