Question
I left the Designer untouched after executing a script because it takes at least an hour to process, and when I try to perform any operation on the Designer, I get a following communication error.
I checked the execution log, and it seems that the script execution was completed, but I could not confirm it from Designer. I have to relaunch Designer every time after the error occurs.
What is the cause of the error?
System.NullReferenceException: object reference not set to object instance.
Location Appresso.DataSpider.WebStudio.Models.Communication.UpdateAccessTokenUtil.<UpdateAsync>d__2.MoveNext()
--- end of stack trace from where exception was thrown most recently ---.
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Location Appresso.DataSpider.WebStudio.Models.Communication.WebClientUtil.<CheckStatusCode>d__11.MoveNext()
--- end of stack trace from location where exception was thrown most recently ---.
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Location Appresso.DataSpider.WebStudio.Models.Communication.WebClientUtil.<>c.<<UploadStringTaskAsync>b__2_3>d.MoveNext()
--- end of stack trace from where exception was thrown most recently ---
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
RetryUtil.<RetryAsync>d__0.MoveNext()
--- end of stack trace from where exception was thrown most recently ---
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Location Appresso.DataSpider.WebStudio.Models.Communication.WebClientUtil.<UploadStringTaskAsync>d__2.MoveNext()
--- end of stack trace from the location where the exception was thrown most recently ---.
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Location Appresso.DataSpider.WebStudio.Models.Communication.CommandExecutor.RequestTask.<SendRequestTaskAsync>d__9.MoveNext()
--- end of stack trace from the location where the exception was thrown most recently ---.
Location System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
Location System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Location Appresso.DataSpider.WebStudio.Models.Communication.CommandExecutor.RequestTask.<SendRequest>d__8.MoveNext()
Answer
The error seems to be caused by session timeout in Designer due to prolonged script execution.
Therefore, please note that this error occurs when you run a script that takes a long time to process in Designer.
Please refer to the following manual site for Designer sessions.
HULFT Square Designer > Session in Designer
https://www.hulft.com/help/en-us/HULFTSquare/Content/Data_Integration/Function/designer.htm
Comments
0 comments
Article is closed for comments.