[rules-users] Re: Problem loading drl with dsl

Chris Mathrusse christopher.mathrusse at sybase.com
Fri Jun 8 14:40:38 EDT 2007


Chris Mathrusse <christopher.mathrusse <at> sybase.com> writes:

After stepping through the code a bit I learned that the Spring class
LocalRuleExecutionSetProviderImpl is looking for the key dsl in the properties
object that is passed in and that it expects the value object in the hash table
to be either a java.io.Reader or a String object containing the contents of the
dsl file. So I modified my configuration to pass in an instance of Reader for
the dsl file. Now when I load the application and it check for validity of the
rules I receive the following error:

Caused by: 
org.drools.rule.InvalidRulePackage:
org.drools.lang.ExpanderException
@993028org.drools.lang.ExpanderException
@128b33aorg.drools.lang.ExpanderException
@10ea988org.drools.lang.ExpanderException
@19c4844org.drools.lang.ExpanderException
@14c8f24org.drools.lang.ExpanderException
@1498526org.drools.lang.ExpanderException
@1c4a760org.drools.lang.ExpanderException
@1c8ce14org.drools.lang.ExpanderException
@51b326org.drools.lang.ExpanderException
@1c8997eorg.drools.lang.ExpanderException
@d54d3forg.drools.lang.ExpanderException
@1c26386org.drools.lang.ExpanderException
@1140cf6org.drools.lang.ExpanderException
@15efa6aorg.drools.lang.ExpanderException
@8a750aorg.drools.lang.ExpanderException
@9e6e0org.drools.lang.ExpanderException at 14b389
	at org.drools.rule.Package.checkValidity(Package.java:368)


Any ideas as to what might be causing this?

Thanks for the help...




More information about the rules-users mailing list