[jboss-jira] [JBoss JIRA] (DROOLS-469) NoSuchMethodError at runtime while comparing org.joda.time.DateTime instances
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Aug 6 15:54:38 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990925#comment-12990925 ]
RH Bugzilla Integration commented on DROOLS-469:
------------------------------------------------
Rajesh Rajasekaran <rrajasek at redhat.com> changed the Status of [bug 1094397|https://bugzilla.redhat.com/show_bug.cgi?id=1094397] from VERIFIED to CLOSED
> NoSuchMethodError at runtime while comparing org.joda.time.DateTime instances
> -----------------------------------------------------------------------------
>
> Key: DROOLS-469
> URL: https://issues.jboss.org/browse/DROOLS-469
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.1.Final
> Environment: OS: Macosx 10.9.2
> Java version: 1.6.0_65, vendor: Apple Inc.
> Reporter: Davide Angelocola
> Assignee: Mario Fusco
> Fix For: 6.1.0.Beta4
>
>
> Given the following rule:
> ---
> import org.joda.time.DateTime;
> rule "in the past"
> when
> exists DateTime( this < new DateTime() )
> then
> System.out.println("in the past");
> end
> ---
> I obtain this exception at runtime while comparing a large number of DateTimes:
> // java.lang.NoSuchMethodError: org.joda.time.DateTime.compareTo(Lorg/joda/time/DateTime;)I
> // at ConditionEvaluatorc959ae5f82e8456f9e4f2d8b7e07b19d.evaluate(Unknown Source)
> // at org.drools.core.rule.constraint.MvelConstraint.evaluate(MvelConstraint.java:217)
> // at org.drools.core.rule.constraint.MvelConstraint.isAllowed(MvelConstraint.java:174)
> // at org.drools.core.phreak.PhreakFromNode.checkConstraintsAndPropagate(PhreakFromNode.java:298)
> // at org.drools.core.phreak.PhreakFromNode.doLeftInserts(PhreakFromNode.java:101)
> // at org.drools.core.phreak.PhreakFromNode.doNode(PhreakFromNode.java:49)
> // at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:348)
> // at org.drools.core.phreak.RuleNetworkEvaluator.doRiaNode(RuleNetworkEvaluator.java:604)
> // at org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:528)
> // at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:334)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list