Uploaded image for project: 'Lucee Development'
  1. LDEV-1143

Confusing Error Message with Partial Null Support and Debug Enabled

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.34
    • Fix Version/s: 5.2.8.41
    • Labels:
      None
    • Sprint:
      May 2018 Sprint

      Description

      When Debug Output is Enabled:

      The snippet below shows a very confusing error message: The key [n] does not exist , but there is a similar key with name [n] available.

      n = nullValue();
      dump(isNull(n));    // dump `true` as expected
      dump(n);
      

      lucee.runtime.exp.ExpressionException: The key [n] does not exist , but there is a similar key with name [n] available. at lucee.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:233)

        Attachments

          Activity

            People

            • Assignee:
              21solutions Igal Sapir
              Reporter:
              21solutions Igal Sapir
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: