[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1479) Exception compiling rules
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Fri Feb 22 17:42:43 EST 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1479?page=all ]
Edson Tirelli closed JBRULES-1479.
----------------------------------
Fix Version/s: 4.0.5
5.0.0-M1
Resolution: Done
> Exception compiling rules
> -------------------------
>
> Key: JBRULES-1479
> URL: http://jira.jboss.com/jira/browse/JBRULES-1479
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0.4
> Reporter: Jan Boboli
> Assigned To: Edson Tirelli
> Fix For: 4.0.5, 5.0.0-M1
>
>
> i updated the 4.0.x branch from svn.
> When compiling the rules i get the following exception:
> org.drools.rule.AbstractCompositeConstraint.addConstraint(AbstractCompositeConstraint.java:88)
> at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:328)
> at org.drools.rule.builder.PatternBuilder.buildConstraint(PatternBuilder.java:193)
> at org.drools.rule.builder.PatternBuilder.buildConstraint(PatternBuilder.java:218)
> at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:162)
> at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:87)
> at org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:69)
> at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:53)
> at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:446)
> at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:304)
> at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:167)
> at pl.outbox.tools.BinaryPackageBuilder.processFile(BinaryPackageBuilder.java:191)
> at pl.outbox.tools.BinaryPackageBuilder.access$000(BinaryPackageBuilder.java:37)
>
> I think it's related to MultiRestrictionFieldConstraint which extends MutableTypeConstraint.
> in method getType() it returns Constraint.ConstraintType.UNKNOWN, and AbstractCompositeConstraint.addConstraint expects ALPHA or BETA type.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list