Hi Maciej. @Ciprian_Forcos here.
Please raise a blocker for the 22.6 release of the Forms package.
It seems this exception has something to do with the size of the image loaded.
I successfully managed to load up a 260kb piece of the image I’m looking to load. However the full 2.1 MB image throws the exception.
There isn’t much needed to trigger the bug really.
Just upload the image, save Content component; save the Forms designer wait for Studio to refresh and get the exception.
A simple Windows - Legacy project
Tested this on both Form Activities 1.9.6 and 1.9.5
Studio 2022.4.0 - 4/19/2022
Community License
Per-user Installation
License Provider: Orchestrator
Activation ID:
Update Channel: Stable
Microsoft Windows 10 Enterprise N 64-bit
6.0.2
Faulting application name: UiPath.OutOfProcessUi.ServerHost.exe, version: 0.0.0.0, time stamp: 0xbbd7f024
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1645, time stamp: 0xdfe831e6
Exception code: 0xe0434352
Fault offset: 0x0012b982
Faulting process id: 0x1988
Faulting application start time: 0x01d85653598c8c05
Faulting application path: C:\Users\Ciprian.nuget\packages\UiPath.formactivitylibrary\1.9.6\bin\net461\UiPath.OutOfProcessUi.ServerHost.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 8bb5b87b-da30-4014-bbfe-c33af6d54f29
Faulting package full name:
Faulting package-relative application ID:
Application: UiPath.OutOfProcessUi.ServerHost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
at System.Runtime.InteropServices.SafeBuffer.SpaceCheck(Byte*, UInt64)
at System.Runtime.InteropServices.SafeBuffer.WriteArray[[System.Byte, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](UInt64, Byte, Int32, Int32)
at System.IO.UnmanagedMemoryAccessor.WriteArray[[System.Byte, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Int64, Byte, Int32, Int32)
at UiPath.OutOfProcessUi.ServerHost.MemoryMappedCtrl.StartDesignForm(System.String)
at UiPath.OutOfProcessUi.ServerHost.Program.Main()
Shout out to @Gabriel_Tatu