[jboss-jira] [JBoss JIRA] (DROOLS-809) NPE when using extend rules with or node and exists
Jonathan MERCIER (JIRA)
issues at jboss.org
Mon Jun 8 11:56:03 EDT 2015
Jonathan MERCIER created DROOLS-809:
---------------------------------------
Summary: NPE when using extend rules with or node and exists
Key: DROOLS-809
URL: https://issues.jboss.org/browse/DROOLS-809
Project: Drools
Issue Type: Bug
Reporter: Jonathan MERCIER
Assignee: Mark Proctor
Dear
In some case extended rule failed to find variable.
This occur when using "or", "exists" and "extends"
A minimal test case is available on [github|https://github.com/bioinfornatics/DROOLS_NPE_rule_extended]
In this [test case |https://github.com/bioinfornatics/DROOLS_NPE_rule_extended/blob/master/src/main/resources/fr.cea.test/rules.drl]:
if we comment line number 62 , any error are raised
if we uncomment line number 10 , any error are raised
if we remove all "exists" words, any error are raised
If the same rule is write using named consequence the test pass.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list