Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2.71, 5.2.3.22
    • Labels:
      None
    • Environment:

      Affects 5.2.2.68-RC; 5.2.2.70-RC

    • Sprint:
      July 2017 Sprint

      Description

      In upgrading from Lucee 5.2.1.9 to either 5.2.2.68-RC or 5.2.2.70-RC, I get the following error message in a function that is trying to parse some XML. If I downgrade to 5.2.1.9, things work again without errors.

      "Severity","ThreadID","Date","Time","Application","Message"
      "ERROR","cfthread-0","07/21/2017","13:18:13","","cfthread-0;java.lang.NullPointerException;lucee.runtime.exp.NativeException: java.lang.NullPointerException
              at lucee.runtime.text.xml.XMLUtil.childNodesLength(XMLUtil.java:894)
              at lucee.runtime.text.xml.XMLNodeList.getLength(XMLNodeList.java:86)
              at lucee.runtime.text.xml.XMLNodeList.size(XMLNodeList.java:96)
              at lucee.runtime.functions.arrays.ArrayLen.call(ArrayLen.java:35)
              at server.somedir.mycode_cfc$cf.udfCall(/app/server/somedir/mycode.cfc:226)
              at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
              at lucee.runtime.type.UDFImpl._call(UDFImpl.java:355)
              at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
              at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
              at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580)
              at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1918)
              at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:758)
              at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1693)
              at server.somedir.downloadinfo_cfm$cf.call(/app/server/somedir/downloadinfo.cfm:157)
              at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:938)
              at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:838)
              at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:822)
              at server.demo.stepforward_cfm$cf.threadCall(/app/server/demo/stepforward.cfm:35)
              at lucee.runtime.thread.ChildThreadImpl.execute(ChildThreadImpl.java:205)
              at lucee.runtime.thread.ChildThreadImpl.run(ChildThreadImpl.java:148)
      Caused by: java.lang.NullPointerException
              ... 20 more
      

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              warpuser CS
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: