You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tkobayas (via GitHub)" <gi...@apache.org> on 2024/11/01 07:49:28 UTC
[PR] [DO-NOT-MERGE] Experiment a special prefix for Custom Operator [incubator-kie-drools]
tkobayas opened a new pull request, #6140:
URL: https://github.com/apache/incubator-kie-drools/pull/6140
Experiment to use `##` as a prefix for Custom Operator.
This PR sets profile `enableNewParser` as activeByDefault.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [DO-NOT-MERGE] Experiment a special prefix for Custom Operator [incubator-kie-drools]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #6140:
URL: https://github.com/apache/incubator-kie-drools/pull/6140#issuecomment-2451649820
**PR job** `#2` was: **UNSTABLE**
Possible explanation: This should be test failures
<details>
<summary><b>Reproducer</b></summary>
build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-drools -u https://github.com/apache/incubator-kie-drools/pull/6140 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
</details>
Please look here: https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/display/redirect
**Test results:**
- PASSED: 22480
- FAILED: 30
Those are the test failures:
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/LegacyTraitTest/traitWithMixedInterfacesExtendingEachOther(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.LegacyTraitTest.traitWithMixedInterfacesExtendingEachOther(VirtualPropertyMode)[1]</a></summary>
[1,423]: no viable alternative at input 'this isA'<br/>[1,436]: mismatched input ',' expecting {'(', '.'}<br/>[1,451]: no viable alternative at input 'isA Foo2'<br/>[1,461]: missing '(' at ')'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/LegacyTraitTest/traitWithMixedInterfacesExtendingEachOther(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.LegacyTraitTest.traitWithMixedInterfacesExtendingEachOther(VirtualPropertyMode)[2]</a></summary>
[1,423]: no viable alternative at input 'this isA'<br/>[1,436]: mismatched input ',' expecting {'(', '.'}<br/>[1,451]: no viable alternative at input 'isA Foo2'<br/>[1,461]: missing '(' at ')'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate10(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate10(VirtualPropertyMode)[1]</a></summary>
[63,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate10(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate10(VirtualPropertyMode)[2]</a></summary>
[63,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitTwoParentOneChild(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitTwoParentOneChild(VirtualPropertyMode)[1]</a></summary>
[78,26]: no viable alternative at input 'this isA'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitTwoParentOneChild(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitTwoParentOneChild(VirtualPropertyMode)[2]</a></summary>
[78,26]: no viable alternative at input 'this isA'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate1(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate1(VirtualPropertyMode)[1]</a></summary>
[56,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate1(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate1(VirtualPropertyMode)[2]</a></summary>
[56,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate2(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate2(VirtualPropertyMode)[1]</a></summary>
[66,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate2(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate2(VirtualPropertyMode)[2]</a></summary>
[66,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate3(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate3(VirtualPropertyMode)[1]</a></summary>
[65,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate3(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate3(VirtualPropertyMode)[2]</a></summary>
[65,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate4(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate4(VirtualPropertyMode)[1]</a></summary>
[Message [id=1, kieBase=defaultKieBase, level=ERROR, path=file0.drl, line=48, column=0<br/> text=mismatched input 'list.add' expecting ':'], Message [id=2, kieBase=defaultKieBase, level=ERROR, path=file0.drl, line=0, column=0<br/> text=Parser returned a null Package]]
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate4(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate4(VirtualPropertyMode)[2]</a></summary>
[Message [id=1, kieBase=defaultKieBase, level=ERROR, path=file0.drl, line=48, column=0<br/> text=mismatched input 'list.add' expecting ':'], Message [id=2, kieBase=defaultKieBase, level=ERROR, path=file0.drl, line=0, column=0<br/> text=Parser returned a null Package]]
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate5(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate5(VirtualPropertyMode)[1]</a></summary>
[51,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate5(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate5(VirtualPropertyMode)[2]</a></summary>
[51,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate6(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate6(VirtualPropertyMode)[1]</a></summary>
[59,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate6(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate6(VirtualPropertyMode)[2]</a></summary>
[59,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate7(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate7(VirtualPropertyMode)[1]</a></summary>
[57,0]: no viable alternative at input '@position(0)\nend\ndeclare trait ChildTrait\n@Trait( logical = true ) \n@propertyReactive\n name : String = "child"\n gender : String\nend\ndeclare Parent\n@Traitable( logical=true ) \n@propertyReactive\nend\ndeclare Child\n@Traitable( logical=true ) \n@propertyReactive\nend\n\nrule "Init" \n\nwhen\n \nthen\n Child c = new Child();\n Parent p = new Parent( "parent", c );\n insert(c); insert(p);\nend\n\nrule "trait parent" \n\nwhen\n $p : Parent( name == "parent" )\nthen\n ParentTrait p = don ( $p , ParentTrait.class );\nend\n\nrule "test parent and child traits" \n\nwhen\n $p : ParentTrait( child isA ChildTrait )\nthen\n list.add("correct");\nend\n\n\n'<br/>[13,28]: mismatched input '(' expecting ':'<br/>[15,8]: missing ':' at 'trait'<br/>[16,0]: mismatched input '@' expecting ':'<br/>[16,6]: extraneous input '(' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end',
'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super',
'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[16,16]: mismatched input '=' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect'
, 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', '[', ';', '.', '=', '<', '@', IDENTIFIER}<br/>[53,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate7(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate7(VirtualPropertyMode)[2]</a></summary>
[57,0]: no viable alternative at input '@position(0)\nend\ndeclare trait ChildTrait\n@Trait( logical = true ) \n@propertyReactive\n name : String = "child"\n gender : String\nend\ndeclare Parent\n@Traitable( logical=true ) \n@propertyReactive\nend\ndeclare Child\n@Traitable( logical=true ) \n@propertyReactive\nend\n\nrule "Init" \n\nwhen\n \nthen\n Child c = new Child();\n Parent p = new Parent( "parent", c );\n insert(c); insert(p);\nend\n\nrule "trait parent" \n\nwhen\n $p : Parent( name == "parent" )\nthen\n ParentTrait p = don ( $p , ParentTrait.class );\nend\n\nrule "test parent and child traits" \n\nwhen\n $p : ParentTrait( child isA ChildTrait )\nthen\n list.add("correct");\nend\n\n\n'<br/>[13,28]: mismatched input '(' expecting ':'<br/>[15,8]: missing ':' at 'trait'<br/>[16,0]: mismatched input '@' expecting ':'<br/>[16,6]: extraneous input '(' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end',
'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super',
'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[16,16]: mismatched input '=' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect'
, 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', '[', ';', '.', '=', '<', '@', IDENTIFIER}<br/>[53,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate8(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate8(VirtualPropertyMode)[1]</a></summary>
[50,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate8(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate8(VirtualPropertyMode)[2]</a></summary>
[50,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate9(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate9(VirtualPropertyMode)[1]</a></summary>
[48,42]: no viable alternative at input 'gender == "male", this not isA'<br/>[48,46]: no viable alternative at input 'isA ChildTrait'<br/>[49,21]: no viable alternative at input 'this isA'<br/>[59,28]: no viable alternative at input 'child isA'<br/>[59,48]: mismatched input ',' expecting {'(', '.'}<br/>[59,63]: mismatched input '==' expecting {'(', '.'}<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate9(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate9(VirtualPropertyMode)[2]</a></summary>
[48,42]: no viable alternative at input 'gender == "male", this not isA'<br/>[48,46]: no viable alternative at input 'isA ChildTrait'<br/>[49,21]: no viable alternative at input 'this isA'<br/>[59,28]: no viable alternative at input 'child isA'<br/>[59,48]: mismatched input ',' expecting {'(', '.'}<br/>[59,63]: mismatched input '==' expecting {'(', '.'}<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitMapCoreTest/testDrools216/">org.drools.traits.compiler.factmodel.traits.TraitMapCoreTest.testDrools216</a></summary>
[71,0]: no viable alternative at input '@Traitable(logical=true) end \n\ndeclare trait Citizen\n@traitable\n citizenship : String = "Unknown"\nend\n\ndeclare trait Student extends Citizen\n@propertyReactive\n ID : String = "412314" @Alias("personID")\n GPA : Double = 3.99\nend\n\ndeclare Person\n@Traitable\n personID : String\n isStudent : boolean\nend\n\ndeclare trait Worker\n@propertyReactive\n hasBenefits : Boolean = true\nend\n\n\nrule "1"\nsalience 1\nno-loop\nwhen\nthen\n Person p = new Person("1020",true);\n Map map = new HashMap();\n map.put("isEmpty",true);\n insert(p);\n insert(map);\n list.add("initialized");\nend\n\nrule "2"\nsalience 1\nno-loop\nwhen\n $stu : Person(isStudent == true)\n $map : Map(this["isEmpty"] == true)\nthen\n Student s = don( $stu , Student.class );\n $map.put("worker" , s);\n $map.put("isEmpty" , false);\n update($map);\n list.add("student is donned");\nend\n\nrule "3"\nsalience 1\nno-loop\nw
hen\n $map : Map($stu : this["worker"] isA Student.class)\nthen\n Object obj = don( $map , Worker.class );\n list.add("worker is donned");\nend\n'<br/>[10,26]: mismatched input '(' expecting ':'<br/>[10,39]: extraneous input ')' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean',
'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[68,4]: mismatched input 'Object' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitMapCoreTest/testDrools217/">org.drools.traits.compiler.factmodel.traits.TraitMapCoreTest.testDrools217</a></summary>
[69,0]: no viable alternative at input '@Traitable(logical=true) end \n\ndeclare trait Citizen\n@traitable\n citizenship : String = "Unknown"\nend\n\ndeclare trait Student extends Citizen\n@propertyReactive\n ID : String = "412314" @Alias("personID")\n GPA : Double = 3.99\nend\n\ndeclare Person\n@Traitable\n personID : String\n isStudent : boolean\nend\n\ndeclare trait Worker\n@propertyReactive\n hasBenefits : Boolean = true\nend\n\n\nrule "1"\nsalience 1\nno-loop\nwhen\nthen\n Person p = new Person("1020",true);\n Map map = new HashMap();\n map.put("isEmpty",true);\n insert(p);\n insert(map);\n list.add("initialized");\nend\n\nrule "2"\nsalience 1\nno-loop\nwhen\n $stu : Person(isStudent == true)\n $map : Map(this["isEmpty"] == true)\nthen\n Student s = don( $stu , Student.class );\n $map.put("worker" , s);\n $map.put("isEmpty" , false);\n update($map);\n list.add("student is donned");\nend\n\nrule "3"\nsalience 1\nno-loop\nw
hen\n $map : Map($stu : this["worker"], $stu isA Student.class)\nthen\n Object obj = don( $map , Worker.class );\n list.add("worker is donned");\nend\n'<br/>[8,26]: mismatched input '(' expecting ':'<br/>[8,39]: extraneous input ')' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolea
n', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[66,4]: mismatched input 'Object' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitMapCoreTest/testDrools218/">org.drools.traits.compiler.factmodel.traits.TraitMapCoreTest.testDrools218</a></summary>
[97,0]: no viable alternative at input '@Traitable(logical=true) end \ndeclare trait Student extends Citizen\n@propertyReactive\n ID : String = "412314" @Alias("personID")\n GPA : Double = 3.99\nend\n\ndeclare Person\n@Traitable\n personID : String\n isStudent : boolean\nend\n\ndeclare trait Worker\n@propertyReactive\n //customer : Citizen\n hasBenefits : Boolean = true\nend\n\ndeclare trait StudentWorker extends Worker\n@propertyReactive\n //currentStudent : Citizen @Alias("customer")\n tuitionWaiver : Boolean @Alias("hasBenefits")\nend\n\nrule "1"\nsalience 1\nno-loop\nwhen\nthen\n Person p = new Person("1020",true);\n Map map = new HashMap();\n map.put("isEmpty",true);\n insert(p);\n insert(map);\n list.add("initialized");\nend\n\nrule "2"\nsalience 1\nno-loop\nwhen\n $stu : Person(isStudent == true)\n $map : Map(this["isEmpty"] == true)\nthen\n Student s = don( $stu , Student.class );\n $map.put("worker" , s);\n $map.put("
isEmpty" , false);\n $map.put("hasBenefits",null);\n update($map);\n list.add("student is donned");\nend\n\nrule "3"\nsalience 1\nno-loop\nwhen\n $map : Map($stu : this["worker"])\n Map($stu isA Student.class, this == $map)\nthen\n Object obj = don( $map , Worker.class );\n list.add("worker is donned");\nend\n\nrule "4"\nsalience 1\nno-loop\nwhen\n $stu : Student()\nthen\n Object obj = don( $stu , StudentWorker.class );\n list.add("studentworker is donned");\nend\n\nrule "5"\nsalience 1\nno-loop\nwhen\n StudentWorker(tuitionWaiver == true)\nthen\n list.add("tuitionWaiver is true");\nend\n\n'<br/>[14,26]: mismatched input '(' expecting ':'<br/>[14,39]: extraneous input ')' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'mem
berOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'prov
ides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[94,4]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.factmodel.traits/TraitMapCoreTest/testMapCore2/">org.drools.traits.compiler.factmodel.traits.TraitMapCoreTest.testMapCore2</a></summary>
[75,21]: no viable alternative at input 'this not isA'<br/>[75,25]: no viable alternative at input 'isA StudentMap'<br/>[75,42]: missing '(' at ')'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.drools.traits.compiler.integrationtests/TraitTypeGenerationTest/testIsAWith2KContainers/">org.drools.traits.compiler.integrationtests.TraitTypeGenerationTest.testIsAWith2KContainers</a></summary>
<br/>Expecting empty but was: [Message [id=1, kieBase=defaultKieBase, level=ERROR, path=isA.drl, line=11, column=0<br/> text=no viable alternative at input 'age < 26, this not isA'],<br/> Message [id=2, kieBase=defaultKieBase, level=ERROR, path=isA.drl, line=11, column=0<br/> text=no viable alternative at input 'isA Student'],<br/> Message [id=3, kieBase=defaultKieBase, level=ERROR, path=isA.drl, line=21, column=0<br/> text=no viable alternative at input 'this isA'],<br/> Message [id=4, kieBase=defaultKieBase, level=ERROR, path=isA.drl, line=0, column=0<br/> text=Parser returned a null Package]]
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/2/testReport/org.kie.maven.plugin.it/kie-maven-plugin-test-kjar-11-default/kie_maven_plugin_test_kjar_11_default/">org.kie.maven.plugin.it.kie-maven-plugin-test-kjar-11-default.kie-maven-plugin-test-kjar-11-default</a></summary>
The build exited with code 143. See /home/jenkins/jenkins-agent/workspace/llrequest_jobs_drools-pr_PR-6140@2/kogito-pipelines/bc/apache_incubator-kie-drools/kie-maven-plugin/target/it/kie-maven-plugin-test-kjar-11-default/build.log for details.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [DO-NOT-MERGE] Experiment a special prefix for Custom Operator [incubator-kie-drools]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #6140:
URL: https://github.com/apache/incubator-kie-drools/pull/6140#issuecomment-2451579604
**PR job** `#1` was: **UNSTABLE**
Possible explanation: This should be test failures
<details>
<summary><b>Reproducer</b></summary>
build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-drools -u https://github.com/apache/incubator-kie-drools/pull/6140 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
</details>
Please look here: https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/display/redirect
**Test results:**
- PASSED: 22677
- FAILED: 33
Those are the test failures:
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/LegacyTraitTest/traitWithMixedInterfacesExtendingEachOther(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.LegacyTraitTest.traitWithMixedInterfacesExtendingEachOther(VirtualPropertyMode)[1]</a></summary>
[1,423]: no viable alternative at input 'this isA'<br/>[1,436]: mismatched input ',' expecting {'(', '.'}<br/>[1,451]: no viable alternative at input 'isA Foo2'<br/>[1,461]: missing '(' at ')'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/LegacyTraitTest/traitWithMixedInterfacesExtendingEachOther(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.LegacyTraitTest.traitWithMixedInterfacesExtendingEachOther(VirtualPropertyMode)[2]</a></summary>
[1,423]: no viable alternative at input 'this isA'<br/>[1,436]: mismatched input ',' expecting {'(', '.'}<br/>[1,451]: no viable alternative at input 'isA Foo2'<br/>[1,461]: missing '(' at ')'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate10(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate10(VirtualPropertyMode)[1]</a></summary>
[63,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate10(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate10(VirtualPropertyMode)[2]</a></summary>
[63,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitTwoParentOneChild(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitTwoParentOneChild(VirtualPropertyMode)[1]</a></summary>
[78,26]: no viable alternative at input 'this isA'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitTwoParentOneChild(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitTwoParentOneChild(VirtualPropertyMode)[2]</a></summary>
[78,26]: no viable alternative at input 'this isA'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate1(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate1(VirtualPropertyMode)[1]</a></summary>
[56,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate1(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate1(VirtualPropertyMode)[2]</a></summary>
[56,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate2(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate2(VirtualPropertyMode)[1]</a></summary>
[66,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate2(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate2(VirtualPropertyMode)[2]</a></summary>
[66,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate3(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate3(VirtualPropertyMode)[1]</a></summary>
[65,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate3(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate3(VirtualPropertyMode)[2]</a></summary>
[65,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate4(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate4(VirtualPropertyMode)[1]</a></summary>
[Message [id=1, kieBase=defaultKieBase, level=ERROR, path=file0.drl, line=48, column=0<br/> text=mismatched input 'list.add' expecting ':'], Message [id=2, kieBase=defaultKieBase, level=ERROR, path=file0.drl, line=0, column=0<br/> text=Parser returned a null Package]]
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate4(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate4(VirtualPropertyMode)[2]</a></summary>
[Message [id=1, kieBase=defaultKieBase, level=ERROR, path=file0.drl, line=48, column=0<br/> text=mismatched input 'list.add' expecting ':'], Message [id=2, kieBase=defaultKieBase, level=ERROR, path=file0.drl, line=0, column=0<br/> text=Parser returned a null Package]]
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate5(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate5(VirtualPropertyMode)[1]</a></summary>
[51,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate5(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate5(VirtualPropertyMode)[2]</a></summary>
[51,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate6(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate6(VirtualPropertyMode)[1]</a></summary>
[59,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate6(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate6(VirtualPropertyMode)[2]</a></summary>
[59,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate7(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate7(VirtualPropertyMode)[1]</a></summary>
[57,0]: no viable alternative at input '@position(0)\nend\ndeclare trait ChildTrait\n@Trait( logical = true ) \n@propertyReactive\n name : String = "child"\n gender : String\nend\ndeclare Parent\n@Traitable( logical=true ) \n@propertyReactive\nend\ndeclare Child\n@Traitable( logical=true ) \n@propertyReactive\nend\n\nrule "Init" \n\nwhen\n \nthen\n Child c = new Child();\n Parent p = new Parent( "parent", c );\n insert(c); insert(p);\nend\n\nrule "trait parent" \n\nwhen\n $p : Parent( name == "parent" )\nthen\n ParentTrait p = don ( $p , ParentTrait.class );\nend\n\nrule "test parent and child traits" \n\nwhen\n $p : ParentTrait( child isA ChildTrait )\nthen\n list.add("correct");\nend\n\n\n'<br/>[13,28]: mismatched input '(' expecting ':'<br/>[15,8]: missing ':' at 'trait'<br/>[16,0]: mismatched input '@' expecting ':'<br/>[16,6]: extraneous input '(' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end',
'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super',
'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[16,16]: mismatched input '=' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect'
, 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', '[', ';', '.', '=', '<', '@', IDENTIFIER}<br/>[53,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate7(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate7(VirtualPropertyMode)[2]</a></summary>
[57,0]: no viable alternative at input '@position(0)\nend\ndeclare trait ChildTrait\n@Trait( logical = true ) \n@propertyReactive\n name : String = "child"\n gender : String\nend\ndeclare Parent\n@Traitable( logical=true ) \n@propertyReactive\nend\ndeclare Child\n@Traitable( logical=true ) \n@propertyReactive\nend\n\nrule "Init" \n\nwhen\n \nthen\n Child c = new Child();\n Parent p = new Parent( "parent", c );\n insert(c); insert(p);\nend\n\nrule "trait parent" \n\nwhen\n $p : Parent( name == "parent" )\nthen\n ParentTrait p = don ( $p , ParentTrait.class );\nend\n\nrule "test parent and child traits" \n\nwhen\n $p : ParentTrait( child isA ChildTrait )\nthen\n list.add("correct");\nend\n\n\n'<br/>[13,28]: mismatched input '(' expecting ':'<br/>[15,8]: missing ':' at 'trait'<br/>[16,0]: mismatched input '@' expecting ':'<br/>[16,6]: extraneous input '(' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end',
'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super',
'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[16,16]: mismatched input '=' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect'
, 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', '[', ';', '.', '=', '<', '@', IDENTIFIER}<br/>[53,3]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate8(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate8(VirtualPropertyMode)[1]</a></summary>
[50,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate8(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate8(VirtualPropertyMode)[2]</a></summary>
[50,3]: mismatched input '//shed ( $p , ParentTrait.class );' expecting ':'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate9(VirtualPropertyMode)[1]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate9(VirtualPropertyMode)[1]</a></summary>
[48,42]: no viable alternative at input 'gender == "male", this not isA'<br/>[48,46]: no viable alternative at input 'isA ChildTrait'<br/>[49,21]: no viable alternative at input 'this isA'<br/>[59,28]: no viable alternative at input 'child isA'<br/>[59,48]: mismatched input ',' expecting {'(', '.'}<br/>[59,63]: mismatched input '==' expecting {'(', '.'}<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitFieldsAndLegacyClassesTest/testTraitFieldUpdate9(VirtualPropertyMode)[2]/">org.drools.traits.compiler.factmodel.traits.TraitFieldsAndLegacyClassesTest.testTraitFieldUpdate9(VirtualPropertyMode)[2]</a></summary>
[48,42]: no viable alternative at input 'gender == "male", this not isA'<br/>[48,46]: no viable alternative at input 'isA ChildTrait'<br/>[49,21]: no viable alternative at input 'this isA'<br/>[59,28]: no viable alternative at input 'child isA'<br/>[59,48]: mismatched input ',' expecting {'(', '.'}<br/>[59,63]: mismatched input '==' expecting {'(', '.'}<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitMapCoreTest/testDrools216/">org.drools.traits.compiler.factmodel.traits.TraitMapCoreTest.testDrools216</a></summary>
[71,0]: no viable alternative at input '@Traitable(logical=true) end \n\ndeclare trait Citizen\n@traitable\n citizenship : String = "Unknown"\nend\n\ndeclare trait Student extends Citizen\n@propertyReactive\n ID : String = "412314" @Alias("personID")\n GPA : Double = 3.99\nend\n\ndeclare Person\n@Traitable\n personID : String\n isStudent : boolean\nend\n\ndeclare trait Worker\n@propertyReactive\n hasBenefits : Boolean = true\nend\n\n\nrule "1"\nsalience 1\nno-loop\nwhen\nthen\n Person p = new Person("1020",true);\n Map map = new HashMap();\n map.put("isEmpty",true);\n insert(p);\n insert(map);\n list.add("initialized");\nend\n\nrule "2"\nsalience 1\nno-loop\nwhen\n $stu : Person(isStudent == true)\n $map : Map(this["isEmpty"] == true)\nthen\n Student s = don( $stu , Student.class );\n $map.put("worker" , s);\n $map.put("isEmpty" , false);\n update($map);\n list.add("student is donned");\nend\n\nrule "3"\nsalience 1\nno-loop\nw
hen\n $map : Map($stu : this["worker"] isA Student.class)\nthen\n Object obj = don( $map , Worker.class );\n list.add("worker is donned");\nend\n'<br/>[10,26]: mismatched input '(' expecting ':'<br/>[10,39]: extraneous input ')' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean',
'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[68,4]: mismatched input 'Object' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitMapCoreTest/testDrools217/">org.drools.traits.compiler.factmodel.traits.TraitMapCoreTest.testDrools217</a></summary>
[69,0]: no viable alternative at input '@Traitable(logical=true) end \n\ndeclare trait Citizen\n@traitable\n citizenship : String = "Unknown"\nend\n\ndeclare trait Student extends Citizen\n@propertyReactive\n ID : String = "412314" @Alias("personID")\n GPA : Double = 3.99\nend\n\ndeclare Person\n@Traitable\n personID : String\n isStudent : boolean\nend\n\ndeclare trait Worker\n@propertyReactive\n hasBenefits : Boolean = true\nend\n\n\nrule "1"\nsalience 1\nno-loop\nwhen\nthen\n Person p = new Person("1020",true);\n Map map = new HashMap();\n map.put("isEmpty",true);\n insert(p);\n insert(map);\n list.add("initialized");\nend\n\nrule "2"\nsalience 1\nno-loop\nwhen\n $stu : Person(isStudent == true)\n $map : Map(this["isEmpty"] == true)\nthen\n Student s = don( $stu , Student.class );\n $map.put("worker" , s);\n $map.put("isEmpty" , false);\n update($map);\n list.add("student is donned");\nend\n\nrule "3"\nsalience 1\nno-loop\nw
hen\n $map : Map($stu : this["worker"], $stu isA Student.class)\nthen\n Object obj = don( $map , Worker.class );\n list.add("worker is donned");\nend\n'<br/>[8,26]: mismatched input '(' expecting ':'<br/>[8,39]: extraneous input ')' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'memberOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolea
n', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'provides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[66,4]: mismatched input 'Object' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitMapCoreTest/testDrools218/">org.drools.traits.compiler.factmodel.traits.TraitMapCoreTest.testDrools218</a></summary>
[97,0]: no viable alternative at input '@Traitable(logical=true) end \ndeclare trait Student extends Citizen\n@propertyReactive\n ID : String = "412314" @Alias("personID")\n GPA : Double = 3.99\nend\n\ndeclare Person\n@Traitable\n personID : String\n isStudent : boolean\nend\n\ndeclare trait Worker\n@propertyReactive\n //customer : Citizen\n hasBenefits : Boolean = true\nend\n\ndeclare trait StudentWorker extends Worker\n@propertyReactive\n //currentStudent : Citizen @Alias("customer")\n tuitionWaiver : Boolean @Alias("hasBenefits")\nend\n\nrule "1"\nsalience 1\nno-loop\nwhen\nthen\n Person p = new Person("1020",true);\n Map map = new HashMap();\n map.put("isEmpty",true);\n insert(p);\n insert(map);\n list.add("initialized");\nend\n\nrule "2"\nsalience 1\nno-loop\nwhen\n $stu : Person(isStudent == true)\n $map : Map(this["isEmpty"] == true)\nthen\n Student s = don( $stu , Student.class );\n $map.put("worker" , s);\n $map.put("
isEmpty" , false);\n $map.put("hasBenefits",null);\n update($map);\n list.add("student is donned");\nend\n\nrule "3"\nsalience 1\nno-loop\nwhen\n $map : Map($stu : this["worker"])\n Map($stu isA Student.class, this == $map)\nthen\n Object obj = don( $map , Worker.class );\n list.add("worker is donned");\nend\n\nrule "4"\nsalience 1\nno-loop\nwhen\n $stu : Student()\nthen\n Object obj = don( $stu , StudentWorker.class );\n list.add("studentworker is donned");\nend\n\nrule "5"\nsalience 1\nno-loop\nwhen\n StudentWorker(tuitionWaiver == true)\nthen\n list.add("tuitionWaiver is true");\nend\n\n'<br/>[14,26]: mismatched input '(' expecting ':'<br/>[14,39]: extraneous input ')' expecting {'unit', 'function', 'global', 'declare', 'trait', 'type', 'rule', 'query', 'when', 'then', 'end', 'and', 'or', 'exists', 'not', 'in', 'from', 'collect', 'accumulate', 'acc', 'init', 'action', 'reverse', 'result', 'entry-point', 'eval', 'forall', 'over', 'matches', 'mem
berOf', 'contains', 'excludes', 'soundslike', 'str', 'after', 'before', 'coincides', 'during', 'includes', 'finishes', 'finishedby', 'meets', 'metby', 'overlaps', 'overlappedby', 'starts', 'startedby', 'window', 'attributes', 'salience', 'enabled', 'no-loop', 'auto-focus', 'lock-on-active', 'refract', 'direct', 'agenda-group', 'activation-group', 'ruleflow-group', 'date-effective', 'date-expires', 'dialect', 'calendars', 'timer', 'duration', 'abstract', 'assert', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extends', 'final', 'finally', 'float', 'for', 'if', 'goto', 'implements', 'import', 'instanceof', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'try', 'void', 'volatile', 'while', 'module', 'open', 'requires', 'exports', 'opens', 'to', 'uses', 'prov
ides', 'with', 'transitive', 'var', 'yield', 'record', 'sealed', 'permits', 'non-sealed', IDENTIFIER}<br/>[94,4]: mismatched input 'list.add' expecting ':'<br/>[0,0]: Cannot invoke "org.drools.drl.parser.antlr4.DRLParser$DrlQualifiedNameContext.getText()" because "ctx.name" is null<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.factmodel.traits/TraitMapCoreTest/testMapCore2/">org.drools.traits.compiler.factmodel.traits.TraitMapCoreTest.testMapCore2</a></summary>
[75,21]: no viable alternative at input 'this not isA'<br/>[75,25]: no viable alternative at input 'isA StudentMap'<br/>[75,42]: missing '(' at ')'<br/>[0,0]: Parser returned a null Package<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.integrationtests/TraitTypeGenerationTest/testNeeds/">org.drools.traits.compiler.integrationtests.TraitTypeGenerationTest.testNeeds</a></summary>
Exception executing consequence for rule "Main" in org.drools.abductive.test: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Constructor.newInstance(Object[])" because "konst" is null
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.integrationtests/TraitTypeGenerationTest/testMvelJittingWithTraitProxies/">org.drools.traits.compiler.integrationtests.TraitTypeGenerationTest.testMvelJittingWithTraitProxies</a></summary>
Exception executing consequence for rule "In1" in org.drools.test: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Constructor.newInstance(Object[])" because "konst" is null
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.integrationtests/TraitTypeGenerationTest/testIsAWith2KContainers/">org.drools.traits.compiler.integrationtests.TraitTypeGenerationTest.testIsAWith2KContainers</a></summary>
<br/>Expecting empty but was: [Message [id=1, kieBase=defaultKieBase, level=ERROR, path=isA.drl, line=11, column=0<br/> text=no viable alternative at input 'age < 26, this not isA'],<br/> Message [id=2, kieBase=defaultKieBase, level=ERROR, path=isA.drl, line=11, column=0<br/> text=no viable alternative at input 'isA Student'],<br/> Message [id=3, kieBase=defaultKieBase, level=ERROR, path=isA.drl, line=21, column=0<br/> text=no viable alternative at input 'this isA'],<br/> Message [id=4, kieBase=defaultKieBase, level=ERROR, path=isA.drl, line=0, column=0<br/> text=Parser returned a null Package]]
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.integrationtests/TraitTypeGenerationTest/testWithDeclaredTypeAndTraitInDifferentPackages/">org.drools.traits.compiler.integrationtests.TraitTypeGenerationTest.testWithDeclaredTypeAndTraitInDifferentPackages</a></summary>
Exception executing consequence for rule "R" in org.pkg3: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Constructor.newInstance(Object[])" because "konst" is null
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-6140/1/testReport/org.drools.traits.compiler.integrationtests/TraitTypeGenerationTest/testWithBeanAndTraitInDifferentPackages/">org.drools.traits.compiler.integrationtests.TraitTypeGenerationTest.testWithBeanAndTraitInDifferentPackages</a></summary>
Exception executing consequence for rule "R" in org.drools.test: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Constructor.newInstance(Object[])" because "konst" is null
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [DO-NOT-MERGE] Experiment a special prefix for Custom Operator [incubator-kie-drools]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on PR #6140:
URL: https://github.com/apache/incubator-kie-drools/pull/6140#issuecomment-2594620605
Will test with a new PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [DO-NOT-MERGE] Experiment a special prefix for Custom Operator [incubator-kie-drools]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas closed pull request #6140: [DO-NOT-MERGE] Experiment a special prefix for Custom Operator
URL: https://github.com/apache/incubator-kie-drools/pull/6140
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org