Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-302

MVEL throws an NPE when evaluating dynamic salience

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.1.Final
    • 5.5.0.Final, 6.0.0.CR5
    • None
    • None

      Reported by Wolfgang on the user list
      Reproducer :

      rule "process Token"
      salience - $prio // by ascending x25No values
      when
      $token: Token( $x25No: x25No ) // match on int x25No
      $elem: ElemType( $prio: x25No == $x25No )
      then
      retract($token);
      end

              mfusco@redhat.com Mario Fusco
              dsotty Davide Sottara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: