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

http timeout with throwOnError gives java.lang.NullPointerException

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.1.021
    • Fix Version/s: 5.1.1.44
    • Labels:
      None

      Description

      When timeout occurs in http and throwOnError is set, you get java.lang.NullPointerException.

      <cfscript>
      httpResponse = new http()
      	.setUrl("http://httpbin.org/delay/3")
      	.setTimeout(1)
      	.setThrowOnError(true)
      	.send()
      	.getPrefix();
      
      dump(httpResponse);
      </cfscript>
      

      Live example: http://trycf.com/gist/29fd8d37435e9291f84e/lucee?theme=monokai

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: