[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2054) XOR Split not working properly inside CompositeNode
Kris Verlaenen (JIRA)
jira-events at lists.jboss.org
Thu May 14 00:11:46 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kris Verlaenen resolved JBRULES-2054.
-------------------------------------
Fix Version/s: 5.0.0.GA
Resolution: Done
Fixed generation of rules for nested nodes
> XOR Split not working properly inside CompositeNode
> ---------------------------------------------------
>
> Key: JBRULES-2054
> URL: https://jira.jboss.org/jira/browse/JBRULES-2054
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core (flow)
> Affects Versions: 5.0.0.M5, 5.0.0.CR1
> Environment: java.version = 1.6.0_11
> java.vm.name = Java HotSpot(TM) Client VM
> Windows Vista Service Pack 1
> Reporter: Marko Strukelj
> Assignee: Kris Verlaenen
> Fix For: 5.0.0.GA
>
> Attachments: drools-xor-bug.zip
>
>
> If XOR Split node is used inside CompositeNode the following exception occurs regardless of the fact that at least one outgoing condition _is_ fulfilled:
> java.lang.IllegalArgumentException: XOR split could not find at least one valid outgoing connection for split Split
> at org.drools.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:72)
> at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:111)
> at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:141)
> at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:128)
> at org.drools.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:62)
> at org.drools.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:58)
> at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:111)
> The accompanying attachment 'drools-xor-bug.zip' contains an example that reproduces the problem.
> Zip file contains the eclipse project - simply import it in Eclipse and run com.sample.RuleFlowTest.java.
> There are two .rf files. normalXOR.rf contains a working process, using XOR Split outside of CompositeNode. weirdXOR.rf contains the same XOR Split branching and outgoing constraints, but is positioned within CompositeNode.
> RuleFlowTest first successfully executes normalXOR flow, then fails while executing weirdXOR flow.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list