Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.1.3.13
    • Fix Version/s: 5.1.3.14
    • Labels:
      None
    • Sprint:
      March 2017 Sprint

      Description

      An NPE can be thrown when Debug is enabled when the PageContext was created outside of Lucee. That is due to a typo in the null test.

      lucee.runtime.exp.NativeException: java.lang.NullPointerException
              at lucee.runtime.net.http.ReqRspUtil.getScriptName(ReqRspUtil.java:230)
              at lucee.runtime.type.scope.CGIImplReadOnly.get(CGIImplReadOnly.java:222)
              at lucee.runtime.type.scope.CGIImplReadOnly.get(CGIImplReadOnly.java:287)
              at lucee.runtime.type.util.StructSupport.get(StructSupport.java:242)
              at lucee.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:262)
              at lucee.runtime.PageContextImpl.get(PageContextImpl.java:1454)
              at admin.debug.modern_cfc$cf.udfCall2(/lucee-server/admin/debug/Modern.cfc:217)
              at admin.debug.modern_cfc$cf.udfCall(/lucee-server/admin/debug/Modern.cfc)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: