Copy link to clipboard
Copied
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
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.
Copy link to clipboard
Copied
Same issue. Have you found a solution yet?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
You are welcome Yoosaf..
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
@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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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...
Copy link to clipboard
Copied
Check permissions, try using the neo-cron.bak as neo-cron.xml and then test
Copy link to clipboard
Copied
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