I’m facing a strange error while using the activity ‘Query Entity Records’.
When I try to set the Query, I get the error message:
I’m able to retrieve all the records (without query) and also use the other activities to delete/add records.
I tried to use different Entities (empty, with data, with more or less fields) and nothing seems to be working.
Error: System.Runtime.Serialization.SerializationException: The constructor to deserialize an object of type 'Autofac.Core.DependencyResolutionException' was not found. ---> System.Runtime.Serialization.SerializationException: The constructor to deserialize an object of type 'Autofac.Core.DependencyResolutionException' was not found.
at System.Runtime.Serialization.ObjectManager.GetConstructor(RuntimeType t)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
--- End of inner exception stack trace ---
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
at System.AppDomain.Deserialize(Byte[] blob)
at System.AppDomain.UnmarshalObject(Byte[] blob)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Window.ShowDialog()
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.<HandleRunApplication>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Core.StudioApplication.StudioApplication.<PostLicenseInitAsync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.<HandleAquireLicense>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.<OnTempWindowLoaded>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
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 -2146233076
That error stack and random crashing seems to indicate that maybe your Studio installation was corrupted. I will suggest uninstalling Studio and reinstalling it as well. (Or maybe try on a different machine)
I have observed the auto-update some time getting corrupted if I close Studio too early when it is updating and hasn’t downloaded all files.
Reinstalling Studio didn’t help, but it works fine on another machine (same Studio version, same Orchestrator, same project).
Perhaps the uninstallation kept some Uipath registries.
@Gil_Silva - Wanted to provide you an update on the issue you had faced. We debugged it further and it seems we have a bug where Data Service activities crash/misbehave when telemetry is disabled in Studio from Settings page for Enterprise customers.
This is indeed a bug and we are working on fixes both in Studio and Data Service activities to release patches for them. Thanks for reporting this issue, I will repost here when we have a fix available. For now the only workaround it to re-enable telemetry (till we have a fix).
That’s really impressive!!
Great work, I’m truly impressed to see how you (UiPath) dealt with this situation!
To be honest, in the last 2 years I was mainly automating processes using the RPA tool from one of your main competitors and this would never be possible there. They have some major issues for several years and it seems no one cares…
Once again, great work UiPath!
That’s the way to go!