Hi,
I am having the same issue. I tried deleting the .json file + .local, tried re-opening the file but still the xaml file wouldn’t open and it gives the same error. Were you able to find a solution???
Whereas anti-virus is concerned, the same xaml was working before but after I copied a few other workflows into my main xaml, this issue started appearing. All of my 3 months worth of work is lost. If someone can please let me know what finally worked for them ( I am using community version)
Error details:
18.4.3+Branch.master.Sha.9888b477be8d3ec8a832306fc59c34ba6edad108
An internal error has occurred. It is recommended to restart UiPath Studio.
Error: System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Activities.Core.Presentation.FlowchartDesigner.SetFlowElementModelItem(UIElement view, ModelItem model) at System.Activities.Core.Presentation.FlowchartDesigner.ProcessAndGetModelView(ModelItem model) at System.Activities.Core.Presentation.FlowchartDesigner.AddFlowElementsToDesigner(IList
1 flowElementMICollection, Boolean addConnectorAfterLoaded)
at System.Activities.Core.Presentation.FlowchartDesigner.PopulateFlowchartChildren()
at System.Activities.Core.Presentation.FlowchartDesigner.OnFreeFormPanelLoaded(Object sender, RoutedEventArgs eventArgs)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
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.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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 -2147467261