259
Views
3
Comments
Encountered Error: Thread was being aborted.
Service Studio Version
11.54.3 (Build 62213)

Hi,

I'm currently encountering the said error with the following details and maybe someone know what's the causing the issue:

Thread was being aborted.
   at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
   at System.Threading.Thread.Sleep(Int32 millisecondsTimeout)
   at ssMWS_UI.RssExtensionSleep.MssSleep(HeContext heContext, Int32 inParamSleepInMs) 


Thread was being aborted.
   at OutSystems.NssFileSystem.CssFileSystem.MssFile_WriteBinary(Byte[] ssContent, String ssPath, String ssDomain, String ssUsername, String ssPassword, String& ssError_message)
   at ssMWS_UI.RssExtensionFileSystem.MssFile_WriteBinary(HeContext heContext, Byte[] inParamContent, String inParamPath, String inParamDomain, String inParamUsername, String inParamPassword, String& outParamError_message)
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Renny,

Those call stacks don't seem to be complete, looks like you shared only a part of them.

The first one seems to be you execute a Sleep action from an extension. Not sure how many Milliseconds you provided, but maybe it caused a time-out.

The second one is related to the action File_WriteBinary, so maybe you don't provide the correct data or don't have permission to write to the location. Hard to say if you don't provide the complete call stack.

Regards,

Daniel

UserImage.jpg
Renny Balita

Please see below other details of the error:

Environment InformationeSpaceVer: Id=617, PubId=0, CompiledWith=11.10.8.060000RequestUrl: https://ampiosprd1.allegromicro.com/MWS_UI/Validate_Popup.aspx?_ts=1680774915097 (Method: POST)AppDomain: /LM/W3SVC/1/ROOT/MWS_UI-16-133252414696375667FilePath: D:\OutSystems\Platform Server\running\MWS_UI.649524803\Validate_Popup.aspxClientIp: 192.168.20.143Locale: en-USDateFormat: yyyy-MM-ddPID: 39432 ('w3wp', Started='4/6/2023 7:54:20 AM', Priv=3746Mb, Virt=2114312Mb)TID: 420Thread Name:.NET: 4.0.30319.42000

StackThread was being aborted.   at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)   at System.Threading.Thread.Sleep(Int32 millisecondsTimeout)   at ssMWS_UI.RssExtensionSleep.MssSleep(HeContext heContext, Int32 inParamSleepInMs)

See below screenshot:

2023-02-25 23-53-32
Sérgio Manuel Silva

Hello Renny Balita, 

From my understanding and from the code you shared I believe your code is running in a loop likely because query result is always returning empty and count is lower than 100 and when your code run in a loop during 90 seconds, it will hit the IIS server execution timeout and your thread will be aborted.

Regards, 

Sérgio



 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.