Bug 1191737
Summary: | NPE when used a bind variable of a pattern using the clause "from" in a next pattern, also using "from" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Alessandro Lazarotti <alazarot> | ||||||
Component: | Business Central | Assignee: | manstis | ||||||
Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.0.3 | CC: | kverlaen, rrajasek | ||||||
Target Milestone: | ER6 | ||||||||
Target Release: | 6.1.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2020-03-27 20:02:43 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 990648 [details]
kidRule.rdrl
|
Created attachment 990634 [details] model.jar Rules like this bellow generated NPE when business-central is parsing it: rule "ToyWithoutName " dialect "java" when $father: Father() $kid: Kid() from $father.kids $toy: Toy(name == null) from $kid.toys then System.out.println("blabla"); end Version-Release number of selected component (if applicable): 6.0.3 How reproducible: Steps to Reproduce: 1. add as dependency the attached jar in a project 2. push the attach role to the git repository where the project is 3. click on Project Authoring - business-central will try to parse the rule for verification and will generated the exception (actually hidden by the GenericPortableException ) Actual results: GenericPortableException Expected results: No exception, the rule should be opened