Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-100

Array access expressions fail when evaluated twice and cache is enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Labels:
      None

      Description

      When caching is enabled, a cached array expression using an integer literal will fail at evaluation, the integer literal throwing an exception trying to coerce a ListGetExecutor to Integer.
      Sole workaround is to disable cache entirely which is not always possible; critical!

        Attachments

          Activity

            People

            • Assignee:
              henrib Henri Biestro
              Reporter:
              henrib Henri Biestro
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: