[JBoss JIRA] (DROOLS-5210) BRL Column support for GDST to XLS export
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5210?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5210:
--------------------------------
Attachment: SmartQuarantine.gdst
> BRL Column support for GDST to XLS export
> -----------------------------------------
>
> Key: DROOLS-5210
> URL: https://issues.redhat.com/browse/DROOLS-5210
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Decision Table Editor, XLS Decision Table Editor
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_covid19.zip, Screenshot from 2020-05-25 15-49-29.png, SmartQuarantine.gdst
>
>
> How good the support will end up being is still open. The goal is to have one column for each variable, but if this is doable or not will depend on the limitations of the XLS table.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months
[JBoss JIRA] (DROOLS-5332) [DMN Designer] Unable to open BKM editor
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5332?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5332:
--------------------------------
Description:
Using the referenced file:
https://kiegroup.github.io/kogito-online/?file=https://gist.githubusercon...
The User is unable to edit the Business Knowledge Model nodes for the following nodes:
- Risk Rating for Last Transaction Amount
- Risk Rating for last 24 hours Transactions
The {{kogito-tooling}} version reports the following to the console.
{code}
Error: JavaScriptException: (TypeError) : Cannot read property 'd' of null
at Xys (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:30330)
at tes.a6r [as FW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31966)
at Ist (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:27657)
at ntt.ptt [as yW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31973)
at Q4r (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:29779)
at roy.soy [as J7] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31999)
at _Vr (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:13043)
{code}
Sorry I have no debugged myself further.
h3. Acceptance criteria:
- Open BKM editor on business central
- VS Code
- Online editor
- Desktop app
- Github extension
was:
Using the referenced file:
https://kiegroup.github.io/kogito-online/?file=https://gist.githubusercon...
The User is unable to edit the Business Knowledge Model nodes for the following nodes:
- Risk Rating for Last Transaction Amount
- Risk Rating for last 24 hours Transactions
The {{kogito-tooling}} version reports the following to the console.
{code}
Error: JavaScriptException: (TypeError) : Cannot read property 'd' of null
at Xys (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:30330)
at tes.a6r [as FW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31966)
at Ist (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:27657)
at ntt.ptt [as yW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31973)
at Q4r (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:29779)
at roy.soy [as J7] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31999)
at _Vr (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:13043)
{code}
Sorry I have no debugged myself further.
> [DMN Designer] Unable to open BKM editor
> -----------------------------------------
>
> Key: DROOLS-5332
> URL: https://issues.redhat.com/browse/DROOLS-5332
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.38.0.Final
> Reporter: Michael Anstis
> Assignee: Valentino Pellegrino
> Priority: Major
> Labels: drools-tools, kogito-tooling
>
> Using the referenced file:
> https://kiegroup.github.io/kogito-online/?file=https://gist.githubusercon...
> The User is unable to edit the Business Knowledge Model nodes for the following nodes:
> - Risk Rating for Last Transaction Amount
> - Risk Rating for last 24 hours Transactions
> The {{kogito-tooling}} version reports the following to the console.
> {code}
> Error: JavaScriptException: (TypeError) : Cannot read property 'd' of null
> at Xys (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:30330)
> at tes.a6r [as FW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31966)
> at Ist (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:27657)
> at ntt.ptt [as yW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31973)
> at Q4r (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:29779)
> at roy.soy [as J7] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31999)
> at _Vr (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:13043)
> {code}
> Sorry I have no debugged myself further.
> h3. Acceptance criteria:
> - Open BKM editor on business central
> - VS Code
> - Online editor
> - Desktop app
> - Github extension
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months
[JBoss JIRA] (DROOLS-5332) [DMN Designer] Unable to open BKM editor
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5332?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5332:
--------------------------------
Labels: drools-tools kogito-tooling (was: drools-tools)
> [DMN Designer] Unable to open BKM editor
> -----------------------------------------
>
> Key: DROOLS-5332
> URL: https://issues.redhat.com/browse/DROOLS-5332
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.38.0.Final
> Reporter: Michael Anstis
> Assignee: Valentino Pellegrino
> Priority: Major
> Labels: drools-tools, kogito-tooling
>
> Using the referenced file:
> https://kiegroup.github.io/kogito-online/?file=https://gist.githubusercon...
> The User is unable to edit the Business Knowledge Model nodes for the following nodes:
> - Risk Rating for Last Transaction Amount
> - Risk Rating for last 24 hours Transactions
> The {{kogito-tooling}} version reports the following to the console.
> {code}
> Error: JavaScriptException: (TypeError) : Cannot read property 'd' of null
> at Xys (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:30330)
> at tes.a6r [as FW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31966)
> at Ist (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:27657)
> at ntt.ptt [as yW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31973)
> at Q4r (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:29779)
> at roy.soy [as J7] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31999)
> at _Vr (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:13043)
> {code}
> Sorry I have no debugged myself further.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months
[JBoss JIRA] (DROOLS-5332) [DMN Designer] Unable to open BKM editor
by Michael Anstis (Jira)
[ https://issues.redhat.com/browse/DROOLS-5332?page=com.atlassian.jira.plug... ]
Michael Anstis commented on DROOLS-5332:
----------------------------------------
[~vpellegr] That suggests something in the _client-side_ marshaller is not working correctly.
> [DMN Designer] Unable to open BKM editor
> -----------------------------------------
>
> Key: DROOLS-5332
> URL: https://issues.redhat.com/browse/DROOLS-5332
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.38.0.Final
> Reporter: Michael Anstis
> Assignee: Valentino Pellegrino
> Priority: Major
> Labels: drools-tools
>
> Using the referenced file:
> https://kiegroup.github.io/kogito-online/?file=https://gist.githubusercon...
> The User is unable to edit the Business Knowledge Model nodes for the following nodes:
> - Risk Rating for Last Transaction Amount
> - Risk Rating for last 24 hours Transactions
> The {{kogito-tooling}} version reports the following to the console.
> {code}
> Error: JavaScriptException: (TypeError) : Cannot read property 'd' of null
> at Xys (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:30330)
> at tes.a6r [as FW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31966)
> at Ist (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:27657)
> at ntt.ptt [as yW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31973)
> at Q4r (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:29779)
> at roy.soy [as J7] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31999)
> at _Vr (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:13043)
> {code}
> Sorry I have no debugged myself further.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months
[JBoss JIRA] (DROOLS-5332) [DMN Designer] Unable to open BKM editor
by Valentino Pellegrino (Jira)
[ https://issues.redhat.com/browse/DROOLS-5332?page=com.atlassian.jira.plug... ]
Valentino Pellegrino commented on DROOLS-5332:
----------------------------------------------
Just want to highlight that the issue it is Kogito specific. It is not reproducible on Business Central
> [DMN Designer] Unable to open BKM editor
> -----------------------------------------
>
> Key: DROOLS-5332
> URL: https://issues.redhat.com/browse/DROOLS-5332
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.38.0.Final
> Reporter: Michael Anstis
> Assignee: Valentino Pellegrino
> Priority: Major
> Labels: drools-tools
>
> Using the referenced file:
> https://kiegroup.github.io/kogito-online/?file=https://gist.githubusercon...
> The User is unable to edit the Business Knowledge Model nodes for the following nodes:
> - Risk Rating for Last Transaction Amount
> - Risk Rating for last 24 hours Transactions
> The {{kogito-tooling}} version reports the following to the console.
> {code}
> Error: JavaScriptException: (TypeError) : Cannot read property 'd' of null
> at Xys (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:30330)
> at tes.a6r [as FW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31966)
> at Ist (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:27657)
> at ntt.ptt [as yW] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31973)
> at Q4r (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:29779)
> at roy.soy [as J7] (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:31999)
> at _Vr (/kogito-online/org.kie.workbench.common.dmn.showcase.DMNKogitoRuntimeWebapp-0.js:13043)
> {code}
> Sorry I have no debugged myself further.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months
[JBoss JIRA] (DROOLS-5346) Enhance unit test to detect non-externalized lambda widely
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5346?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi commented on DROOLS-5346:
-------------------------------------------
For example, if you add the following code to BaseModelTest, you can easily check if unit tests generate non-externalized lambda or not.
{code:java}
public abstract class BaseModelTest {
static {
//System.setProperty("drools.externaliseCanonicalModelLambda", "true");
System.setProperty("drools.check.nonExternalisedLambda", "true");
}
{code}
> Enhance unit test to detect non-externalized lambda widely
> ----------------------------------------------------------
>
> Key: DROOLS-5346
> URL: https://issues.redhat.com/browse/DROOLS-5346
> Project: Drools
> Issue Type: Sub-task
> Components: executable model
> Affects Versions: 7.37.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
> Fix For: 7.38.0.Final
>
>
> Currently "lambda is not externalized" issue is not widely detected in unit tests. We need to write a specific assertion like this:
> {code:java}
> @Test
> public void testExternalizeBindingVariableLambda() throws Exception {
> String str =
> "package defaultpkg;\n" +
> "import " + Person.class.getCanonicalName() + ";" +
> "global java.util.List list;\n" +
> "rule R when\n" +
> " $p : Person($n : name == \"Mario\")\n" +
> "then\n" +
> " list.add($n);\n" +
> "end";
> KieModuleModel kieModuleModel = KieServices.get().newKieModuleModel();
> kieModuleModel.setConfigurationProperty("drools.externaliseCanonicalModelLambda", Boolean.TRUE.toString());
> KieSession ksession = getKieSession(kieModuleModel, str );
> final List<String> list = new ArrayList<>();
> ksession.setGlobal("list", list);
> if (testRunType == RUN_TYPE.FLOW_DSL || testRunType == RUN_TYPE.PATTERN_DSL) {
> RuleImpl rule = (RuleImpl)ksession.getKieBase().getRule("defaultpkg", "R");
> Pattern pattern = (Pattern)rule.getLhs().getChildren().get(0);
> Declaration declaration = pattern.getDeclarations().get("$n");
> LambdaReadAccessor lambdaReadAccessor = (LambdaReadAccessor)declaration.getExtractor();
> Field field = LambdaReadAccessor.class.getDeclaredField("lambda");
> field.setAccessible(true);
> Function1.Impl function1 = (Function1.Impl)field.get(lambdaReadAccessor);
> Object lambda = function1.getLambda();
> assertThat(lambda.getClass().getName(), containsString("LambdaExtractor")); // materialized Lambda
> }
> Person me = new Person( "Mario", 40 );
> ksession.insert( me );
> ksession.fireAllRules();
> Assertions.assertThat(list).containsExactlyInAnyOrder("Mario");
> }
> {code}
> This JIRA is to enhance unit tests to assert it widely.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months
[JBoss JIRA] (DROOLS-5386) Accumulate with static method with pettern bind variable
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5386?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5386:
--------------------------------------
Description:
This rule fails with PATTERN_DSL
{noformat}
rule R when
accumulate (
$p : Person(), $result : sum( MyUtil.add($p.getAge(), 10) ) )
then
insert($result);
end
{noformat}
It generates a lambda with duplicated parameters "_this" and "$p" which are the same Pattern input bind variable.
{code:java}
org.drools.model.Rule rule = D.rule("R").build(D.accumulate(D.pattern(var_$p).bind(var_C6D512FA5D3AACA24A83BF1EE132C0B2,
var_$p,
(_this, $p) -> MyUtil.add($p.getAge(),10)),
{code}
So fails at runtime
{noformat}
[ERROR] testAccumulateStaticMethodWithPatternBindVar[PATTERN_DSL](org.drools.modelcompiler.AccumulateTest) Time elapsed: 3.151 s <<< ERROR!
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
at org.drools.core.rule.SingleAccumulate.accumulate(SingleAccumulate.java:105)
at org.drools.core.phreak.PhreakAccumulateNode.addMatch(PhreakAccumulateNode.java:714)
at org.drools.core.phreak.PhreakAccumulateNode.doLeftInserts(PhreakAccumulateNode.java:168)
at org.drools.core.phreak.PhreakAccumulateNode.doNode(PhreakAccumulateNode.java:89)
at org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:583)
at org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:554)
at org.drools.core.phreak.RuleNetworkEvaluator.evalNode(RuleNetworkEvaluator.java:381)
at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:341)
at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:177)
at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:135)
at org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:213)
at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:88)
at org.drools.core.concurrent.AbstractRuleEvaluator.internalEvaluateAndFire(AbstractRuleEvaluator.java:33)
at org.drools.core.concurrent.SequentialRuleEvaluator.evaluateAndFire(SequentialRuleEvaluator.java:43)
at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1101)
at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:1048)
at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1040)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1336)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1327)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1311)
at org.drools.modelcompiler.AccumulateTest.testAccumulateStaticMethodWithPatternBindVar(AccumulateTest.java:2058)
...
Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
at org.drools.model.view.BindViewItem2.eval(BindViewItem2.java:89)
at org.drools.modelcompiler.constraints.BindingEvaluator.evaluate(BindingEvaluator.java:39)
at org.drools.modelcompiler.constraints.BindingEvaluator.evaluate(BindingEvaluator.java:35)
at org.drools.modelcompiler.constraints.LambdaAccumulator$BindingAcc.getAccumulatedObject(LambdaAccumulator.java:146)
at org.drools.modelcompiler.constraints.LambdaAccumulator.accumulate(LambdaAccumulator.java:86)
at org.drools.core.rule.SingleAccumulate.accumulate(SingleAccumulate.java:97)
... 53 more
{noformat}
was:
This rule fails with PATTERN_DSL
{noformat}
rule R when
accumulate (
$p : Person(), $result : sum( MyUtil.add($p.getAge(), 10) ) )
then
insert($result);
end
{noformat}
> Accumulate with static method with pettern bind variable
> --------------------------------------------------------
>
> Key: DROOLS-5386
> URL: https://issues.redhat.com/browse/DROOLS-5386
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.38.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> This rule fails with PATTERN_DSL
> {noformat}
> rule R when
> accumulate (
> $p : Person(), $result : sum( MyUtil.add($p.getAge(), 10) ) )
> then
> insert($result);
> end
> {noformat}
> It generates a lambda with duplicated parameters "_this" and "$p" which are the same Pattern input bind variable.
> {code:java}
> org.drools.model.Rule rule = D.rule("R").build(D.accumulate(D.pattern(var_$p).bind(var_C6D512FA5D3AACA24A83BF1EE132C0B2,
> var_$p,
> (_this, $p) -> MyUtil.add($p.getAge(),10)),
> {code}
> So fails at runtime
> {noformat}
> [ERROR] testAccumulateStaticMethodWithPatternBindVar[PATTERN_DSL](org.drools.modelcompiler.AccumulateTest) Time elapsed: 3.151 s <<< ERROR!
> java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
> at org.drools.core.rule.SingleAccumulate.accumulate(SingleAccumulate.java:105)
> at org.drools.core.phreak.PhreakAccumulateNode.addMatch(PhreakAccumulateNode.java:714)
> at org.drools.core.phreak.PhreakAccumulateNode.doLeftInserts(PhreakAccumulateNode.java:168)
> at org.drools.core.phreak.PhreakAccumulateNode.doNode(PhreakAccumulateNode.java:89)
> at org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:583)
> at org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:554)
> at org.drools.core.phreak.RuleNetworkEvaluator.evalNode(RuleNetworkEvaluator.java:381)
> at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:341)
> at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:177)
> at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:135)
> at org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:213)
> at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:88)
> at org.drools.core.concurrent.AbstractRuleEvaluator.internalEvaluateAndFire(AbstractRuleEvaluator.java:33)
> at org.drools.core.concurrent.SequentialRuleEvaluator.evaluateAndFire(SequentialRuleEvaluator.java:43)
> at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1101)
> at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:1048)
> at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1040)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1336)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1327)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1311)
> at org.drools.modelcompiler.AccumulateTest.testAccumulateStaticMethodWithPatternBindVar(AccumulateTest.java:2058)
> ...
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
> at org.drools.model.view.BindViewItem2.eval(BindViewItem2.java:89)
> at org.drools.modelcompiler.constraints.BindingEvaluator.evaluate(BindingEvaluator.java:39)
> at org.drools.modelcompiler.constraints.BindingEvaluator.evaluate(BindingEvaluator.java:35)
> at org.drools.modelcompiler.constraints.LambdaAccumulator$BindingAcc.getAccumulatedObject(LambdaAccumulator.java:146)
> at org.drools.modelcompiler.constraints.LambdaAccumulator.accumulate(LambdaAccumulator.java:86)
> at org.drools.core.rule.SingleAccumulate.accumulate(SingleAccumulate.java:97)
> ... 53 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 6 months