Been using read text file all day and now all of a sudden as soon as i add a new read textfile activity I get the Exception Thrown and the below error
26.0.182-cloud.21895+Branch.release-s182.Sha.a13df80d2b59a230f75f9a3da59183d0d94f3298.a13df80d2b59a230f75f9a3da59183d0d94f3298
Exception has been thrown by the target of an invocation.
Error: System.Exception: Exception has been thrown by the target of an invocation.
—> System.Exception: A TwoWay or OneWayToSource binding cannot work on the read-only property ‘Content’ of type ‘System.Activities.Presentation.Model.ModelItemImpl’.
at MS.Internal.Data.PropertyPathWorker.CheckReadOnly(Object item, Object info)
at MS.Internal.Data.PropertyPathWorker.ReplaceItem(Int32 k, Object newO, Object parent)
at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.Activate(Object item)
at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
at System.Windows.Data.BindingExpression.AttachOverride(DependencyObject target, DependencyProperty dp)
at System.Windows.Data.BindingExpressionBase.Attach(DependencyObject target, DependencyProperty dp)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
at UiPath.Studio.Plugin.Workflow.Presentation.ArgumentHelper.SetExpressionBinding(ExpressionTextBox expressionTextBox, ArgumentDirection argumentDirection, IWidgetViewModel viewModel)
at UiPath.Studio.Plugin.Workflow.Presentation.SimpleExpressionWidget.SetExpressionTextBoxBinding()
at UiPath.Studio.Plugin.Workflow.Presentation.SimpleExpressionWidget.OnExpressionTextBoxLoaded()
at InvokeStub_SimpleExpressionWidget.OnExpressionTextBoxLoaded(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
— End of inner exception stack trace —
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at Microsoft.Xaml.Behaviors.Core.CallMethodAction.Invoke(Object parameter)
at Microsoft.Xaml.Behaviors.TriggerBase.InvokeActions(Object parameter)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
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 -2146232828