I can’t open a new process. However, after I clicked the “Process” button, a folder appeared and I tried to open the Main file. It still cannot be opened.
Wven for new processes are you getting this error?
If so try to reinstall the studio
Cheers
Hello,
I got this error after installing the studio.
I have tried to reinstall it but still can’t open a new process.
Thanks for your help~
Check the project.json if it’s valid one or not. As per message is not.
You can copy the text of the json file and check online on any json validator website.
sorry I found that I can’t attach a sample because I’m a new user.
I can explain more. After I created a new process, it said: found invalid data decoding.
That’s why I can’t open the Main file and use the blank process.
Here is the details:
23.4.4+Branch.support-v23.4.Sha.945d5c2edbcdd77cdd9ba7fe5accc15c57daf757
Found invalid data while decoding.
Open Document Error: UiPath.Studio.Contracts.RecoverableException
—> UiPath.Studio.Contracts.RecoverableException: The project ‘C:\Users\USER\Documents\UiPath\BlankProcess\project.json’ could not be opened: Found invalid data while decoding…
—> System.IO.InvalidDataException: Found invalid data while decoding.
at NuGet.Packaging.NupkgMetadataFileFormat.Read(TextReader reader, ILogger log, String path)
at NuGet.Packaging.NupkgMetadataFileFormat.Read(Stream stream, ILogger log, String path)
at NuGet.Packaging.NupkgMetadataFileFormat.<>c__DisplayClass6_0.b__0(FileStream stream, String nupkgMetadataFilePath)
at NuGet.Common.FileUtility.SafeRead[T](String filePath, Func3 read) at NuGet.Packaging.NupkgMetadataFileFormat.Read(String filePath, ILogger log) at NuGet.Packaging.NupkgMetadataFileFormat.Read(String filePath) at NuGet.Protocol.LocalPackageFileCache.<>c__DisplayClass9_0.<GetOrAddSha512>b__1() at System.Lazy
1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy
1.CreateValue()
at NuGet.Repositories.LocalPackageInfo.get_Sha512()
at NuGet.Commands.LockFileBuilder.CreateLockFile(LockFile previousLockFile, PackageSpec project, IEnumerable1 targetGraphs, IReadOnlyList
1 localRepositories, RemoteWalkContext context, LockFileBuilderCache lockFileBuilderCache)
at NuGet.Commands.RestoreCommand.BuildAssetsFile(LockFile existingLockFile, PackageSpec project, IEnumerable1 graphs, IReadOnlyList
1 localRepositories, RemoteWalkContext contextForProject)
at NuGet.Commands.RestoreCommand.ExecuteAsync(CancellationToken token)
at UiPath.NuGet.PackageManager.InstallCore(InstallPackageCommand installCommand)
at UiPath.PackageExplorer.Core.Services.PackageInstaller.InstallWithRootPackageAssemblies(InstallPackageCommand installCommand)
at UiPath.Studio.Core.Services.Packaging.PackageOperationService.InstallWithRootPackageAssembliesAsync(InstallPackageCommand installPackageCommand)
at UiPath.Studio.Core.Services.Packaging.PackageOperationService.InstallPackage(InstallPackageCommand installPackageCommand)
at UiPath.Studio.Core.Services.Packaging.PackageOperationService.RestoreInternal(IPackageOperationBehavior packageOperationBehavior, IPackageOperationContext packageOperationContext, CancellationToken cancellationToken)
at UiPath.Studio.Core.Services.Packaging.PackageOperationService.<>c__DisplayClass37_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Studio.Core.Services.Packaging.PackageOperationRestoreService.Execute(IProject project, Boolean allowTargetFrameworkTemper, CancellationToken cancellationToken)
at UiPath.Studio.Core.Services.Packaging.PackageService.RestoreProjectAsync(IProject project, Boolean allowTargetFrameworkTemper, CancellationToken cancellationToken)
at UiPath.Studio.Plugin.Workflow.Shared.Project.BaseWorkflowProjectFactory.InitializeNewProjectModelInternal(String projectFilePath)
at UiPath.Studio.Plugin.Workflow.Shared.Project.BaseWorkflowProjectFactory.OpenAsyncInternal(String path, IOpenOptions options)
at UiPath.Studio.Plugin.Workflow.Shared.Project.BaseWorkflowProjectFactory.OpenAsync(String path, IOpenOptions options)
at UiPath.Studio.Plugin.Workflow.Shared.Project.BaseWorkflowProjectFactory.OpenAsync(String path, IOpenOptions options)
at UiPath.Studio.Core.Services.PersistableServiceBase3.OnOpenAsyncInternal(String path, IFactory
2 resolvedFactory, IOpenOptions options)
— End of inner exception stack trace —
at UiPath.Studio.Core.Services.PersistableServiceBase3.OnOpenAsyncInternal(String path, IFactory
2 resolvedFactory, IOpenOptions options)
at UiPath.Studio.Core.CommonServices.ProjectServiceBase.OpenAsyncTaskExecute(String path, IFactory2 resolvedFactory, IOpenOptions options) at UiPath.Studio.Core.CommonServices.ProjectServiceBase.OpenAsyncTaskExecute(String path, IFactory
2 resolvedFactory, IOpenOptions options)
at UiPath.Studio.Core.CommonServices.ProjectServiceBase.OnOpenAsync(String path, IFactory2 resolvedFactory, IOpenOptions options) at UiPath.Studio.Core.Services.PersistableServiceBase
3.OpenAsync(OpenInformation openInfo)
at UiPath.Studio.Core.CommonServices.OpenCloseCommandsService.OpenDocumentAsync(OpenInformation openInfo)
— End of inner exception stack trace —
at UiPath.Studio.Core.CommonServices.OpenCloseCommandsService.OpenDocumentAsync(OpenInformation openInfo)
at UiPath.Studio.Core.CommonServices.OpenCloseCommandsService.OpenPath(String filePath)
at UiPath.Studio.Shell.Services.ProcessArgumentsService.ProcessWithCommandLine(String commandLineFileName)
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.<>c__DisplayClass25_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at System.Threading.Tasks.Task.<>c.b__128_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
I’ll try it thank you~
- Try to delete all folders that start with . in your project folder
- go to c:\users\username.nuget and remove all folders inside…these will be redownloaded once you open
hope this fixes the issue
cheers
I finally can open it. Thank you!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.