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

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adinn Andrew Dinn
                Reporter:
                ant_db Anton Ryabtsev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: