[
https://issues.jboss.org/browse/JBRULES-3093?page=com.atlassian.jira.plug...
]
Geoffrey De Smet commented on JBRULES-3093:
-------------------------------------------
It complains about these lines in the position.rf:
{code}
<split id="11" name="Take Action" x="340"
y="99" width="108" height="49" type="2" >
<constraints>
<constraint toNodeId="7" toType="DROOLS_DEFAULT"
name="Sell" priority="1" type="rule"
dialect="mvel" >PortfolioAction( action == Action.SELL ) </constraint>
<constraint toNodeId="13" toType="DROOLS_DEFAULT"
name="No action" priority="1" type="rule"
dialect="mvel" >PortfolioAction( action == Action.NOACTION )
</constraint>
<constraint toNodeId="6" toType="DROOLS_DEFAULT"
name="Buy" priority="1" type="rule" dialect="mvel"
>PortfolioAction( action == Action.BUY ) </constraint>
</constraints>
</split>
{code}
Drools Fusion broker example throws stacktraces in drools 5.2.0
---------------------------------------------------------------
Key: JBRULES-3093
URL:
https://issues.jboss.org/browse/JBRULES-3093
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Geoffrey De Smet
Assignee: Kris Verlaenen
Fix For: 5.2.0
{code}
=============================================================
Unexpected exception caught: Unexpected exception executing action
org.jbpm.process.instance.event.DefaultSignalManager$SignalAction@1eeba19
org.drools.RuntimeDroolsException: Unexpected exception executing action
org.jbpm.process.instance.event.DefaultSignalManager$SignalAction@1eeba19
at
org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:996)
at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1059)
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:733)
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:699)
at
org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:218)
at org.drools.examples.broker.Broker.receive(Broker.java:68)
at
org.drools.examples.broker.events.EventFeeder$FeedJob.execute(EventFeeder.java:85)
at
org.drools.time.impl.JDKTimerService$JDKCallableJob.call(JDKTimerService.java:146)
at
org.drools.time.impl.JDKTimerService$JDKCallableJob.call(JDKTimerService.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: XOR split could not find at least one
valid outgoing connection for split Take Action
at
org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:98)
at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
at
org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)
at
org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:162)
at
org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:143)
at
org.jbpm.workflow.instance.node.RuleSetNodeInstance.signalEvent(RuleSetNodeInstance.java:73)
at
org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:339)
at
org.jbpm.process.instance.event.DefaultSignalManager.internalSignalEvent(DefaultSignalManager.java:80)
at
org.jbpm.process.instance.event.DefaultSignalManager$SignalAction.execute(DefaultSignalManager.java:175)
at
org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:994)
... 15 more
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira