I get an occasional Microsoft JScript runtime error: ‘sArray.1’ is null or not an object.
The process will be looping through a file and extracting the various bits, but then will fail.
Once it fails it seems to fail on all subsequent lines.
When a new file is picked up then it is okay once again.
Not sure why it works most of the time, but fails on larger files with more lines.
Wondering if line 10 is not happening for some reason, so the array is empty.
Added in a log entry to verify on the next occurrence.