When running a chained script in Studio 11.2, the following error appears:
This happens on different tabs for different runs of the same script. The error value is also different.
It was found that if the chained script is run with a Windows 10 OS, this error does not appear but it does with Windows 7.
Please upgrade the OS to Windows 10.