-
Bug
-
Resolution: Done
-
Critical
-
6.0.3
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