[JBoss JIRA] (DROOLS-5316) Test Scenario: wrong management of null values with simple types in DMN scenarios
by Daniele Zonca (Jira)
Daniele Zonca created DROOLS-5316:
-------------------------------------
Summary: Test Scenario: wrong management of null values with simple types in DMN scenarios
Key: DROOLS-5316
URL: https://issues.redhat.com/browse/DROOLS-5316
Project: Drools
Issue Type: Bug
Components: Scenario Simulation and Testing
Reporter: Daniele Zonca
Assignee: Daniele Zonca
Attachments: dmn-sandbox-master.zip, image-2020-05-11-15-28-33-925.png, image-2020-05-11-15-28-55-186.png
See reproducer [^dmn-sandbox-master.zip]
Test Scenario
!image-2020-05-11-15-28-33-925.png|thumbnail!
DMN
!image-2020-05-11-15-28-55-186.png|thumbnail!
{{11:45:04,120 ERROR [org.kie.dmn.core.ast.DMNDTExpressionEvaluator] (default task-60) Contract Type='{}' does not match any of the valid values null for decision table 'Contract Identification'.}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5315) "Contains" is not null-safe with executable model
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-5315?page=com.atlassian.jira.plug... ]
Mario Fusco updated DROOLS-5315:
--------------------------------
Sprint: 2020 Week 19-21 (from May 4)
> "Contains" is not null-safe with executable model
> -------------------------------------------------
>
> Key: DROOLS-5315
> URL: https://issues.redhat.com/browse/DROOLS-5315
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.37.0.Final
> Reporter: Matteo Casalino
> Assignee: Mario Fusco
> Priority: Major
> Attachments: null-contains-exec-model.zip
>
>
> When executing rules with executable model, _contains_ constraints are not null-safe, whereas they are in DRL mode
> Example of DRL that exhibits the behavior:
> {noformat}
> rule "contains constraint"
> when Pojo(integerList contains 3)
> then
> end
> {noformat}
> Error:
> {noformat}
> java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
>
> at org.drools.modelcompiler.constraints.ConstraintEvaluator.evaluate(ConstraintEvaluator.java:95)
> at org.drools.modelcompiler.constraints.LambdaConstraint.isAllowed(LambdaConstraint.java:132)
> at org.drools.core.reteoo.AlphaNode.assertObject(AlphaNode.java:139)
> at org.drools.core.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:70)
> at org.drools.core.reteoo.ObjectTypeNode.propagateAssert(ObjectTypeNode.java:329)
> ...
> {noformat}
> The example works fine when running without executable model.
> The documentation is not explicit about whether _contains_ should be null safe or not, so we are unsure whether this is to be considered or not a regression.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-2254) Automate .proto files rebuild in pom.xml
by Michael Biarnes Kiefer (Jira)
[ https://issues.redhat.com/browse/DROOLS-2254?page=com.atlassian.jira.plug... ]
Michael Biarnes Kiefer updated DROOLS-2254:
-------------------------------------------
Fix Version/s: 7.38.0.Final
(was: 7.37.0.Final)
> Automate .proto files rebuild in pom.xml
> ----------------------------------------
>
> Key: DROOLS-2254
> URL: https://issues.redhat.com/browse/DROOLS-2254
> Project: Drools
> Issue Type: Task
> Components: tools
> Affects Versions: 7.5.0.Final
> Reporter: Dmitry Volodin
> Assignee: Dmitry Volodin
> Priority: Minor
> Fix For: 7.38.0.Final
>
>
> According to contribution guide, any .proto file or protobuf version changes it's necessary to download protoc utility and regenerate Java classes based on .proto files.
> This will add automation for downloading protoc utility and Java classes generation based on Maven Protocol Buffers Plugin. There is no timestamps and other build related info inside generated Java files and no changes will be added on each new build.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months