[jboss-jira] [JBoss JIRA] (DROOLS-4672) Executable model compilation fails with function call and large input array
Martin Weiler (Jira)
issues at jboss.org
Mon Oct 21 16:54:00 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Weiler updated DROOLS-4672:
----------------------------------
Git Pull Request: https://github.com/kiegroup/drools/pull/2602
> Executable model compilation fails with function call and large input array
> ---------------------------------------------------------------------------
>
> Key: DROOLS-4672
> URL: https://issues.jboss.org/browse/DROOLS-4672
> Project: Drools
> Issue Type: Bug
> Components: core engine, executable model
> Affects Versions: 7.28.0.Final
> Reporter: Martin Weiler
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
>
> A rule with the following RHS fails to compile in the executable model:
> {noformat}
> $input.setNo12Count(functions.sumOf(new Object[]{$no1Count_1, $no2Count_1, $no3Count_1, $no4Count_1, $no5Count_1, $no6Count_1, $no7Count_1, $no8Count_1, $no9Count_1, $no10Count_1, $no11Count_1}).intValue());
> {noformat}
> Failure:
> {noformat}
> text=cannot find symbol
> symbol: method execute((drools,$n[...]t); })
> {noformat}
> Compilation is successful if one of the input parameters (eg. {{$no11Count_1}}) is removed.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list