nick bauman created JBRULES-3641:
------------------------------------
Summary: UnknownDescriptionException: Descr ( class
org.drools.lang.descr.MVELExprDescr ) is unknown to drools verifier.
Key: JBRULES-3641
URL:
https://issues.jboss.org/browse/JBRULES-3641
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-verifier
Affects Versions: 5.4.0.Final
Environment: OSX 10.7.4 Apple Java 1.6.0_35
Reporter: nick bauman
Assignee: Mark Proctor
When the verifier encounters a rule such as:
rule "Contrived Example"
when
$pitem : PresentedItem(sequenceNumber > 0)
$receipt : Receipt(items contains $pitem.id)
$item : ReceiptItem(plan == foo.Plan.NULL_PLAN) from $receipt.items
then
log.info("Contrived Example ran");
end
It prints this exception to standard error and swallows the exception (as seen in
VerifierImpl.java line 93):
org.drools.verifier.visitor.UnknownDescriptionException: Descr ( class
org.drools.lang.descr.MVELExprDescr ) is unknown to drools verifier.
at
org.drools.verifier.visitor.DeclarativeInvokerDescrVisitor.visit(DeclarativeInvokerDescrVisitor.java:58)
at org.drools.verifier.visitor.PatternDescrVisitor.visit(PatternDescrVisitor.java:297)
...
It seems to be choking on the token $receipt.items in the rule. Not sure if this is a bug
or an accidental bit of debug code using stack traces that snuck into a release. I'd
like to know which, at least. Thank you.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira