<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I can't say in general, it would depend
      on the expression. <br>
      I suspect this is a case where you have something like.<br>
      a == x || b == y<br>
      At some point MVEL "kicks in" and tries to optimize the
      expression, <br>
      but will fail if b ==y has never been evaluated because a == x<br>
      has always been satisfied by your current data. <br>
      In any case, I doubt the gain would be noticeable.<br>
      I think there was a similar discussion in one of the threads some
      week ago,<br>
      but I'm not sure whether it was here or on IRC :)<br>
      Davide<br>
      <br>
      On 05/04/2013 09:36 AM, Sean Su wrote:<br>
    </div>
    <blockquote
cite="mid:CA+tN6x-FqxxvaNho_2Xb=amp1TixrS_yVbR33W2BDU4hHmaXPw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks Davide. Does this mean there might be a
        better way to write the expression that triggered this? If yes,
        I will look into it. I think the log does have the statement in
        it.
        <div><br>
        </div>
        <div style="">Sean</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Sat, May 4, 2013 at 3:13 AM, Davide
          Sottara <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:dsotty@gmail.com" target="_blank">dsotty@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">That
            exception is the result of an unsuccessful attempt to
            optimize some<br>
            constraint execution.<br>
            That optimization is optional - exactly because it's not
            guaranteed to<br>
            succeed - so the engine<br>
            can continue normally. The exception is logged for tracing
            purposes<br>
            Best<br>
            Davide<br>
            <br>
            <br>
            <br>
            --<br>
            View this message in context: <a moz-do-not-send="true"
href="http://drools.46999.n3.nabble.com/rules-users-Drools-5-5-run-time-exception-from-the-library-code-but-no-impact-to-the-rule-evaluationt-tp4023669p4023678.html"
              target="_blank">http://drools.46999.n3.nabble.com/rules-users-Drools-5-5-run-time-exception-from-the-library-code-but-no-impact-to-the-rule-evaluationt-tp4023669p4023678.html</a><br>
            Sent from the Drools: User forum mailing list archive at
            Nabble.com.<br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/rules-users"
              target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>