[rules-users] Split, mvel
Femke De Backere
femmyke at gmail.com
Tue Mar 3 10:36:08 EST 2009
Hi,
I encountered the following error, trying to insert a Split node in my
ruleflow.
[8,0]: [ERR 103] Line 8:0 no viable alternative at input 'testType' in
rule "RuleFlow-Split-masterproef.ruleflows.sedation-4-9"
[16,5]: [ERR 103] Line 16:5 no viable alternative at input 'testType'
in rule "RuleFlow-Split-masterproef.ruleflows.sedation-4-5"
java.lang.IllegalArgumentException: Could not parse knowledge.
at
masterproef
.rulerunner.RuleFlowRunner.createKnowledgeBase(RuleFlowRunner.java:120)
at
masterproef
.rulerunner.RuleFlowRunner.createWorkingMemory(RuleFlowRunner.java:94)
at masterproef.rulerunner.RuleFlowRunner.<init>(RuleFlowRunner.java:81)
at masterproef.rulerunner.RuleFlowRunner.main(RuleFlowRunner.java:72)
The split node contains the folowing code:
Patient( testType : type )
not (testType == 'Korte sedatie')
My Patient-class contains a methode getType().
Does anyone know how I can solve the error?
Thx!
Femke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090303/3fca0a95/attachment.html
More information about the rules-users
mailing list