Scheduled Task Error: Unable to display the error’s location in a CFML template

April 29, 2015
Followers: 0 people
9

Scheduled Task Error: Unable to display the error’s location in a CFML template

Followers: 0 people
April 29, 2015

Recently this error popped up when one of our customers updated their system so we wanted to share how it can be resolved.

 

The following error may occur under ColdFusion Administrator in the scheduled tasks tab:

The error occurred in scheduletasks.cfm: line 188 -1 : Unable to
display error’s location in a CFML template.

 

This problem occurs if neo-cron.xml file becomes corrupt.

 

Workaround:

Place the following in ColdFusion11cfusionlibneo-cron.xml file and restart the Application Services

<wddxPacket
version=’1.0′><header/><data><array length=’4′><struct
type=’coldfusion.server.ConfigMap’></struct><boolean
value=’false’/><string></string><string>txt,log</string></array></data></wddxPacket>


Alternatively, if you have a good backup of the same file you could replace that instead of the above step.

 

We are unable to reproduce any particular events that cause this issue.  If you have run into the problem, feel free to indicate in the comments any potential steps that may have contributed to it.

Comments (9)
2017-11-23 04:00:35
2017-11-23 04:00:35

I’ve tried this fix multiple times and still no luck. I still keep getting this:
The error occurred in scheduletasks.cfm: line 196
-1 : Unable to display error’s location in a CFML template.

Like
2017-03-17 08:53:11
2017-03-17 08:53:11

Just had this happen last night. The fix works, but note that when that file gets corrupted, you lose all your scheduled tasks and they will need to be re-input if you don’t have a backup of the .xml file.

Like
2017-02-15 10:28:08
2017-02-15 10:28:08

Thank you so much for sharing.

Like
2016-01-12 04:11:44
2016-01-12 04:11:44

We are suffered a few problems with scheduler too when renaming tasks. Once it ran all tasks at once..!

Like
2015-06-27 02:44:55
2015-06-27 02:44:55

I am also affecting such error. Error occurred in my computer but it is unable to display the error’s location in CFML template.now i will try solution which is given above….

Like
2015-06-22 14:43:18
2015-06-22 14:43:18

We keep having this issue. So we have to keep an eye on our scheduled tasks and replace the corrupted neo-cron.xml file with a good backup. Any idea why neo-cron.xml gets corrupt in the first place and what would keep corrupting it?

Like
2015-06-03 06:11:03
2015-06-03 06:11:03

Glad to know you still haven’t corrupt neo-cron.xml bug between CF9 to CF11!

Like
2015-05-29 22:10:18
2015-05-29 22:10:18

mistake appeared when one of our clients overhauled their framework so we needed to share how it can be determined.

Thaks

Like
2015-04-30 02:58:47
2015-04-30 02:58:47

I’m going to take a wild guess and say this is the same bug as
https://bugbase.adobe.com/index.cfm?event=bug&id=3842800
so it should be easy to replicate.

CF has *always* had issue where it would randomly corrupt it’s own settings files because it’s save logic isn’t very robust.

Like
Add your comment