tracker issue : CF-4202172

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

[ANeff] Bug for: RunAsync() timeout logs some empty messages

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Aaron Neff / ()

Created: 04/26/2018

Components: Language, Asynchronous Programming

Versions: 2018

Failure Type: Data Loss

Found In Build/Fixed In Build: 2018.0.01.308605 /

Priority/Frequency: Normal / Some users will encounter

Locale/System: / Windows 10 64 bit

Vote Count: 0

Issue: coldfusion.runtime.asynch.TaskTimeoutException logs some empty messages

Repro:

<cfscript>
  runAsync(function(){sleep(2000)}, 1000).get()
</cfscript>

application.log:
-----------
"Error","ajp-nio-8018-exec-8","04/26/18","17:10:58","",""
-----------

coldfusion-out.log:
-----------
Apr 26, 2018 17:10:58 PM Error [ajp-nio-8018-exec-8] - 
-----------

exception.log
-----------
"Error","ajp-nio-8018-exec-8","04/26/18","17:10:58","","" java.util.concurrent.TimeoutException at[....]
-----------

Actual Result:
1) application.log receives a log entry having empty quotes ("","")
2) coldfusion-out.log receives a log entry having nothing on both sides of the dash ( - )
3) exception.log receives a log entry having empty quotes ("","")

Expected Result: Those empty messages should contain useful information.

Related thread: https://forums.adobeprerelease.com/coldfusionpr/discussion/305/java-util-concurrent-cancellationexception-incomplete-logging

Attachments:

Comments:

Verified this on the latest build. I see the exception in all the 3 logs. Attaching the logs here.
Comment by HariKrishna K.
27638 | May 02, 2018 11:50:21 AM GMT
Hi HariKrishna, I do not see any attached logs. Can you please attach them? Thanks!, -Aaron
Comment by Aaron N.
27678 | May 05, 2018 01:44:45 AM GMT
Hi Adobe, I need to see what you are seeing, so that I can confirm if you've actually fixed the issue that I am seeing. Thanks!, -Aaron
Comment by Aaron N.
27679 | May 05, 2018 01:48:49 AM GMT
Hi Aaron, I have made the log files external, please check.
Comment by HariKrishna K.
27680 | May 05, 2018 05:47:05 AM GMT
Hi HariKrishna, Thanks very much. These have missing messages: application.log: ----------- "Error","ajp-nio-8018-exec-49","05/02/18","17:03:03","","" ----------- Note: In above, the "","" should have messages between the quotes. Or at least between the 2nd pair of quotes. coldfusion-out.log ----------- May 2, 2018 17:03:03 PM Error [ajp-nio-8018-exec-49] - ----------- Note: In above, the - should have messages around the quotes. Or at least after the -. exception.log ----------- ----------- Your exception.log only shows the "Task timed out" exception. Please look at the error immediately before that one. You will see a java.util.concurrent.TimeoutException having "","". There should at least be a message in the 2nd empty quotes. See? Empty messages should not be logged. There should be messages. Or users will wonder what messages are missing. Confusion.. Thanks!, -Aaron
Comment by Aaron N.
27783 | May 13, 2018 09:30:18 AM GMT