ramram wrote:
Hi All,
I have found the exception in the fluent API. that is causing the below
exception I think it is better to be fixed in the next release :
Exception in thread "main" java.lang.ClassCastException:
org.drools.workflow.core.node.ActionNode cannot be cast to
org.drools.workflow.core.node.WorkItemNode
at
org.drools.ruleflow.core.factory.WorkItemNodeFactory.getWorkItemNode(WorkItemNodeFactory.java:52)
at
org.drools.ruleflow.core.factory.WorkItemNodeFactory.workName(WorkItemNodeFactory.java:76)
at
com.fp.scenarios.CreateProcess.createProcessRami(CreateProcess.java:183)
at com.fp.scenarios.CreateProcess.main(CreateProcess.java:30)
The error is in line 48 inside WorkItemNodeFactory
the method createNode must be
protected Node createNode()
{
return new WorkItemNode();
}
--
View this message in context:
http://n3.nabble.com/Problem-when-uploading-a-rule-file-with-XOR-into-Guv...
Sent from the Drools - User mailing list archive at
Nabble.com.