Project unable to display UI Elements from Object Repository

I can’t update or view any of my previously created UI Library elements to display, or edit. I have tried extracting them as a library to Orchestrator and adding the library from ‘manage packages’ but that also returns a blank UI Library.

Have tried the library on a test project and all elements are present. It’s just the original project that seems to have stopped loading the library.

Returns an “Invalid property identifier character: <. Path ‘Type’, line 6, position 0.” when trying to drag in the library from snippets.

The full details are as follows:

Error: Newtonsoft.Json.JsonReaderException: Invalid property identifier character: <. Path ‘Type’, line 6, position 0.
at Newtonsoft.Json.JsonTextReader.ParseProperty()
at Newtonsoft.Json.JsonTextReader.ParseObject()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at UiPath.Platform.ObjectLibrary.FileSystem.JsonSerializer.Deserialize(Type type, Stream stream, Encoding encoding, CancellationToken ct)
at UiPath.Platform.ObjectLibrary.FileSystem.FileSystemRepository.d__34.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.Platform.ObjectLibrary.FileSystem.FileSystemRepository.d__351.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.Platform.ObjectLibrary.FileSystem.FileSystemRepository.<GetMetadata>d__37.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at UiPath.Platform.ObjectLibrary.FileSystem.FileSystemRepository.<Enumerate>d__46.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.Platform.ObjectLibrary.FileSystem.FileSystemRepository.<NameExists>d__71.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.Platform.ObjectLibrary.FileSystem.FileSystemRepository.<GetName>d__79.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.Platform.ObjectLibrary.FileSystem.FileSystemRepository.<Add>d__26.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at UiPath.Platform.ObjectLibrary.FileSystem.FileSystemRepository.<Copy>d__77.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at UiPath.Studio.ObjectBrowser.Workflow.Services.ObjectCopyService.<Copy>d__5.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.ObjectBrowser.Workflow.Services.ObjectBrowserWorkflowService.<>c__DisplayClass82_0.<<CopyObject>b__0>d.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.Shared.Threading.TaskExtensions.GetResult[T](Task1 task)
at UiPath.Studio.Plugin.Workflow.Services.AppDomainAwaiter1.GetResult() at UiPath.Studio.Plugin.Workflow.Services.AppDomainAwaiter1.GetResult()
at UiPath.Studio.Plugin.Workflow.Services.AppDomainAwaiterAdapter1.GetResult() at UiPath.Studio.ObjectBrowser.Services.ObjectBrowserShellService.<CopyObject>d__70.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.ObjectBrowser.Services.MachineObjectBrowserUiService.<AddToProject>d__3.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.ObjectBrowser.Services.MachineObjectBrowserUiService.<>c__DisplayClass2_0.<<EnumerateActionsForMachineSource>b__0>d.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.App.Desktop.MVVM.Commands.TaskCommand3.d__32.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.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 -2146233088

So there is a custom library package in published in Orchestrator that works, but the original code of the library doesn’t work anymore?

In the original project, where I had intitally built the library, all of the elements and selectors are invisible/collapsed. And cannot expand. This is also the case with the library imported from orchestrator, it is collapsed or shows no elements. This is not true however as in other projects when i import the orhestrator library. The elements are all present.

It is the project not allowing any elements to be displayed
image

If it’s just this particular project that it’s not working on, then there might be some xaml or some file that is corrupted. Would you be able to share the project?

Unfortunately, I am unable to share the project, it is a client file.
But you may be right about it being a project file or a xaml.
I have now reverted to an older version of the project before the error occurred to continue.

Still don’t quite know what happened to cause the identifiers to change.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.