Skip to main content
Participant
May 14, 2013
Answered

Coldfusion10 scheduletask page error on Coldfusion Admin

  • May 14, 2013
  • 6 replies
  • 5443 views

We are using coldfusion10 enterprise edition. Now we have issue on ColdfusionAdmin schedule tasks page. It shows null pointer error and we couldn't open or edit schedules task page from coldfusionadmin. Can you help us?

here is an error below

The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values. 


Resources:
Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.

Browser   Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Remote Address   127.0.0.1

This topic has been closed for replies.
Correct answer Kaif_Akbar

Even if neo-cron.xml isn't blank and giving this error then you can take back-up of existing neo-cron.xml then replace it with previously attached or any default neo-cron.xml of CF 10 server.

6 replies

Inspiring
August 27, 2014

in the scheduled task cf page, do you have any cfparam with empty value? for example if you have a cfparam like this <CFPARAM NAME="month" default=""> and you have a variable in the query also called month and month is also a build-in function name, then I suggest changing the value of this variable, check if you have variables that conflict with functions or reserved words and try renaming them for example add "the" to variables like "month" to be "theMonth" it keeps it away from conflicting

Participant
August 25, 2014

Does anyone know what caused this issue to happen? Our neo-cron.xml is 0k, but was not written this way by us. We had contents in the file that seem to have been erased by Coldfusion...

vishu_13
Inspiring
August 25, 2014

Check permissions, try using the neo-cron.bak as neo-cron.xml and then test

Kaif_AkbarCorrect answer
Inspiring
June 12, 2013

Even if neo-cron.xml isn't blank and giving this error then you can take back-up of existing neo-cron.xml then replace it with previously attached or any default neo-cron.xml of CF 10 server.

Inspiring
June 13, 2013

@Kaif Akbar.... Can you please tell what is the use of neo-cron.xml in ColdFusion and how it will help solve this issue.

Your timely help well appreciated.

June 13, 2013

The neo-cron.xml file stores the definitions of the scheduled tasks you set up in ColdFusion Administrator (assuming you can get to the Scheduled Tasks page, which we couldn't) . We tried updating the neo-cron.xml file directly as Kaif suggested, but that did not resolve our problem.

Our problem was the lack of execute privileges on a file in a subfolder under the directory that contains the neo-cron.xml file. I will try to get more specifics when our unix administrator is available.

Inspiring
June 12, 2013

You can open & check content of respective {ColdFusion10}\cfusioninstance\lib\neo-cron.xml file, most probably it would be blank whereas it should have atleast some default code snippets, if so then you will need to replace it with any other CF server default {ColdFusion10}\cfusioninstance\lib\neo-cron.xml or you can use attached neo-cron.xml file too.

Once you would be able to access the schedule task page then you will need to further register schedule task there.

Yoosaf Abdulla
Participating Frequently
March 31, 2014

Thank you so much Kaif, you saved my world!!!!

Replacing the neo-cron.xml fixed my issue. I took replaced the broken (it was 0kb) with one in the production server. And sweet it worked for me.

Inspiring
March 31, 2014

You are welcome Yoosaf..

June 11, 2013

We had the same problem. We've spent days comparing our development environment, where we don't get the error,  to our production environment, where we do.

Our Unix administrator finally tracked it down to a file in a subdirectory under the ColdFusion Administrator lib directory that did not have execute permissions. I don't have the specifics on the file but maybe that would be a place to start looking.

Participant
May 15, 2013

Same issue. Have you found a solution yet?