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


jhutchison14
2012-03-02T20:48:16Z
Hello,

We have a job that runs 3 tasks. The first task is a VB script which creates a log file. This runs correctly.
The second task "Read File" reads that log file and outputs the contents to standard output. This also works.

The third task "Email" sends an e-mail using the {TASK(PrevTask,StdOut)} variable. Before we upgraded (from 6.0.6 I think), this worked. Now, we are on 6.0.8, and the task fails with "Exception in task: Index was outside the bounds of the array."

We have also tried using the direct task ID, same thing happens. When removing this variable, the task completes successfully. The content of the standard output is below:

AltID Update started at 3/2/2012 2:23:39 PM
Opening connection to Server01.DataBase4...OK
Opening connection to DB40...OK
No records were flagged for update
0 records updated.
Execution completed at 3/2/2012 2:23:40 PM

What does that error mean, and is there a way to fix it (or workaround?) Thanks in advance.
Sponsor
Forum information
Support
2012-03-02T21:02:54Z
Hi,

we got a similar report but cannot for some reason reproduce this. Could you create a simple Job that can reproduce this without as many external references as possible. If you need an external reference (like a file) - then please attach the file with the Job you export.

If a Task is not needed to reproduce this, do not add this in the test Job. Please send the Job with details to support@visualcron.com
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jhutchison14
2012-03-02T21:32:15Z
After trying to recreate the problem, I've finally figured out the issue.
In the log file (it's a simple text file) there is a blank line at the end. If I delete this blank line, the email task works. If I press return, making the blank line at the end again, it fails again.

Do I still need to send the test job, and if so, how?
Support
2012-03-02T21:47:11Z
Could you please send the file to support@visualcron.com and steps needed. Read files and then reference to it via {TASK(PrevTask,StdOut)} in following Task?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sgrose
2012-03-03T20:52:25Z
I'm having this problem too since upgrading. Most of my jobs do send email. I can't say they will all fail just yet because they haven't ran. But I have had several.

I've noticed in the Standard output windows that the last character that displays is a square. I'm not sure what that represents.


Until we/i can correct the issue is it possible to downgrade visualcron down to 6.06?
Support
2012-03-05T08:25:00Z
We could not reproduce the issue. We will fix it when we can reproduce it. I think we need the exact files and Job that you use in order to reproduce it.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2012-03-05T15:05:39Z
Please install this version. Hopefully that fixes the problem:

http://www.visualcron.co....aspx?g=posts&t=2311 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jhutchison14
2012-03-05T15:47:32Z
Originally Posted by: Support 

Please install this version. Hopefully that fixes the problem:

http://www.visualcron.co....aspx?g=posts&t=2311 



This version did fix the issue. Thanks!
Scroll to Top