Community forum

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


ErikC
  •  ErikC
  • Paid support Topic Starter
2011-02-21T08:33:09Z
Hi,

I was looking in my VC log files and was triggered by an error message regarding a condition.

I have a job with several tasks. Three tasks have output wich I use in the condition for a different task in this job.

The condition is build like this:
- output task 1 = output task 2
- output task 2 = output task 3
- output task 1 is not empty

So with these conditions alle the output should be the same and it couldn't be empty.
It is setup to continue on all matches or else exit.

With all empty outputs in the three tasks I see this error in the log file:
2/21/2011 8:13:21 AM	Debug	Running Condition Set: 'conditionname' for Task: taskname
2/21/2011 8:13:21 AM	Err	Error in JobProcess (TaskConditionCheck), ex: Array cannot be null.
Parameter name: bytes

Why is there an error here?

Regards
Erik
Uses Visualcron since 2006.
Sponsor
Forum information
rprastein
2011-02-23T23:33:27Z
I've gotten this error message in the context of capturing task output for e-mail notifications and for logging to a file. I think I've figured out how to deal with it.

Make sure the previous task has finished before you try to compare its output to your current task's output. I've noticed that for a number of different tasks, running them in sequence doesn't seem to mean start the next one after the first one finishes, it means start the next one after the first one starts.

For tasks that run in sequence, I have defined a condition set, "Previous Task Completed - recheck every 1 second."
It has one condition, "Previous task completed (successfully or not)," which is a VisualCron condition.
The condition check object is "Auto (previous task or job)."
The Match is Task Is running: false.
The actions are:
On Match All: Don't Wait; Continue
On Match Any: Don't Wait; Continue
On Match None: Wait Hours 0 Minutes 0 Seconds: 1; Retry
On Match Error: Don't Wait; Exit.

Hope this helps.

Rebeccah

Scroll to Top