tracker issue : CF-4160540

select a category, or use search below
(searches all categories and all time range)

CFThread using name="x" kills thread scope

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): brian king / brian king (brian king)

Created: 06/02/2016

Components: Language

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final / 299653

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Listed in the version 2016.0.03.300466 Issues Fixed doc
Problem Description:
This code block

   thread action="run" name="x" {
   thread action="join" name="x" timeout="100";
generates an error "The value coldfusion.thread.ThreadScope cannot be converted to a number."

Futher, if you change the writeDump to writeDump([variables,cfthread]), the output changes to an array of two elements both showing "undefined scope".  Using threadname of "x" seems to be wiping the variables scope as well.

Other values for name (as opposed to "x") do not generate an error, for example:  myThread

Steps to Reproduce:
Run the code in the problem description

Actual Result:
   See attached for dump trace

Expected Result:
   A dump of the cfthread scope

Any Workarounds:
   Use other names

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4160540

External Customer Info:
External Company:  
External Customer Name: brian king
External Customer Email:  
External Test Config: ColdFusion 11,0,07,296330/Tomcat/Windows Server 2008 R2


  1. June 02, 2016 00:00:00: 1_pageDump.txt


This is fixed now.Marking the bug as closed->fixed.
Comment by Poonam J.
2510 | July 31, 2016 10:56:31 PM GMT