Question
When I copy a script and run it by Call Script, I get "Error: object reference not set to object instance".
I have created a script in workspace A, copied and pasted it to workspace B in the designer, and run it as a script in workspace B.
What is the cause and how can I resolve this issue?
Answer
In past cases, it has been confirmed that the error occurs when all of the following conditions are met.
Condition of occurrence
- Using Script Call operation
- The called script has a conditional branch and the process matches the conditions
- The calling and called scripts are not opened in the same designer window
To resolve this, please try the following workaround.
Workaround
Run the scripts with opening both of the calling and the called scripts in the same designer window.
If the above workaround does not resolve the problem, contact our Technical Support Center with details such as script configuration, process summary, Pod-ID, and error message.
Comments
0 comments
Article is closed for comments.