Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-198

Local var reference in rule body can cause Null Pointer Exception during trigger injection if local var stack includes longs/doubles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.1
    • 2.0.0
    • Trigger Injection
    • None

      If a ruel refers to a local variable in scope at the trigger location then the injected trigger code needs to load it and pass it as a parameter to the code in the rule body. The computation of the relevant local var slot appears to go wrong if any of the preceding local variables are longs or doubles. It seems that the calculation is only allowing for one slot when these values actually employ two slots.

            rhn-engineering-adinn Andrew Dinn
            ant_db Anton Ryabtsev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: