Topic
1 reply Latest Post - ‏2012-05-28T08:12:09Z by SystemAdmin
SystemAdmin
SystemAdmin
16727 Posts
ACCEPTED ANSWER

Pinned topic Log file for caller script (calls other scripts)shows EXCEPTION !

‏2012-05-11T18:44:28Z |
Hi ,

I was running a script(caller script) which called another script(called script) associated with private data pools(having 2 records) .
After all called scripts datapool iterations were done ,the playback stopped and on the log file for caller script(which is the only log created) displayed <calledscriptname>.testMain had an unhandled exception.

exception_message = Attempt to iterate past the end of the datapool iterator, on iteration 2 of 2.

Why and how to resolve this issue?

Another question is can I have separate logs generated for caller script and called script(s).if so please show an example with code how it can be done?

Thanks,
manju
Updated on 2012-05-28T08:12:09Z at 2012-05-28T08:12:09Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    16727 Posts
    ACCEPTED ANSWER

    Re: Log file for caller script (calls other scripts)shows EXCEPTION !

    ‏2012-05-28T08:12:09Z  in response to SystemAdmin
    Hi,

    it looks like you have wrong count of the items in your script. Try add some records in your datapool and check, if described problem remains.

    Another way - debug your script(s) and test what happens by reading datapool records.

    I think - error message raises error by iteration with datapool.

    Best Regards,

    Jiri