Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): William Eatman / William Eatman (William Eatman)
Created: 02/11/2013
Components: Server Monitoring
Versions: 9.0.1
Failure Type:
Found In Build/Fixed In Build: 9.0.1 /
Priority/Frequency: Minor / Very few users will encounter
Locale/System: English / Win 2003 Ent. Edition
Vote Count: 0
Problem Description: Intermittent problem where there is a thread null error in the application log and undesired output. Seems to only be a problem when I have all the coldfusion monitoring turned on.
Steps to Reproduce:
<cfset threads = arrayNew(1)>
<cfset threadPrefix = createUUID()>
<cffunction name="addThreadName" returntype="string" access="private" output="false">
<cfset var threadName = "t" & variables.threadPrefix & (arrayLen(variables.threads) + 1)>
<cfset arrayAppend(variables.threads, threadName)>
<cfreturn threadName>
</cffunction>
<cfset variables.mystruct = "">
<cfthread name="#addThreadName()#" action="run">
<cfthread action="sleep" duration="100" />
<cfset variables.mystruct = structNew()>
<cfset variables.mystruct.hello = "Hello World!">
</cfthread>
<cfthread name="#addThreadName()#" action="run">
</cfthread>
<cfthread name="#addThreadName()#" action="run">
</cfthread>
<cfthread name="#addThreadName()#" action="run">
</cfthread>
<cfloop array="#variables.threads#" index="i">
<cfoutput>#i#</cfoutput><br />
<cfthread action="join" name="#trim(i)#" timeout="2000" / >
</cfloop>
<cfdump var="#mystruct#" >
Actual Result:
tE65ACFC2-5056-9852-3BC66FCFAEE291C51
tE65ACFC2-5056-9852-3BC66FCFAEE291C52
tE65ACFC2-5056-9852-3BC66FCFAEE291C53
tE65ACFC2-5056-9852-3BC66FCFAEE291C54
[empty string]
Expected Result:
tE65ACFC2-5056-9852-3BC66FCFAEE291C51
tE65ACFC2-5056-9852-3BC66FCFAEE291C52
tE65ACFC2-5056-9852-3BC66FCFAEE291C53
tE65ACFC2-5056-9852-3BC66FCFAEE291C54
[Hello World!]
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3498550
External Customer Info:
External Company:
External Customer Name: billeatman
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: