Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


hepworthd
2012-09-05T14:53:43Z
I have a notification setup so when a task fails, it writes keys information to the event log. However, one of my newer tasks that I link to the notification populated the below information, which is useless to me. Has anyone had this kind of issue before? This doesn't happen to all tasks, almost random. I am not sure if maybe I have set this up incorrectly or not. Help would be appreciated.

VisualCron Task Failure Log

Jobid: {JOB(Active|Id)}
Job Name: {JOB(Active|Name)}

Taskid: {TASK(Active,Id)}
Task type: {TASK(Active,Type)}
Name: {TASK(Active,Name)}
Order: {TASK(Active,Order)}
Exit code: {TASK(Active,ExitCode)}
Exit code description: {TASK(Active,ExitCodeDesc)}
Number of executes: {TASK(Active,NoExecutes)}
Last execution time: {TASK(Active,ExecutionTime)}
Last executed: {TASK(Active,LastRun,M/d/yyyy h:mm tt)}
Last exited: {TASK(Active,LastExited,M/d/yyyy h:mm tt)}
Output: {TASK(Active,StdOut)}
Output (stderr): {TASK(Active,StdErr)}
Status: {TASK(Active,Status)}
Results: {TASK(Active,Result)}, err: Object reference not set to an instance of an object.]"
Sponsor
Forum information
Support
2012-09-06T08:33:23Z
So, you are sure this is set on the Task and not the Job?

What if you omit this line:

Results: {TASK(Active,Result)}

Does it work then?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
hepworthd
2012-09-06T11:45:10Z
Yes, I am sure it is linked to a task. I will have to see if I can force it to fail to test your suggestion.

One question, why would it work correctly with other tasks, but not all tasks?

thanks
Support
2012-09-06T11:53:17Z
I am not sure, but I wonder if it maybe is because the last one fails. That is why I wanted you to test without it.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
hepworthd
2012-09-06T13:04:07Z
Removing results did not correct this issue, same results as listed before. One thing to note, this failure happening in a loop, not sure if that makes a difference.

thanks
Scroll to Top