Internal error in Studio

Hello guys, recently I keep getting the same error in my workflow, and i dont understand how it occurs. Error message:

25.0.167-cloud.20197+Branch.release-s167.Sha.7cf0fd7d8071582f61901cd7011ac3eaf89d9f0e.7cf0fd7d8071582f61901cd7011ac3eaf89d9f0e

An internal error has occurred. It is recommended to restart UiPath Studio.

Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()
at System.Windows.Input.StylusWisp.WispLogic.OnTabletAdded(UInt32 wisptisIndex)
at System.Windows.Input.StylusWisp.WispLogic.HandleMessage(WindowMessage msg, IntPtr wParam, IntPtr lParam)
at System.Windows.SystemResources.InvalidateTabletDevices(WindowMessage msg, IntPtr wParam, IntPtr lParam)
at System.Windows.SystemResources.SystemThemeFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233079
Thanks for the help in advance :slight_smile:

Hi @Povilas_Jonikas

Have tried to restart the Studio and run again from starting ?

@Povilas_Jonikas,

Try degrading the packages used in your project to lower versions like 24.*

I degraded UiPath.UiAutomation.Activities and UiPath.System.Activities, but half of the project went missing into unresolved activities.

Hello, @Povilas_Jonikas, could you please tell us what kind of device you are using to run Studio? Does it have a stylus/pen of any kind?

Thank you!