
Сообщение от
Dmitrijb
Добрый день, подскажите причину ошибки
Operation is not valid due to the current state of the object
информация из буфера
2.7.353.0
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at ProgramRelayFBD.InfrastructureLayer.Adapters.Conta inersVer2.ParameterDescriptorRepository.EnforceUni queParameterInvariant(ParameterDescriptor parameter)
at ProgramRelayFBD.InfrastructureLayer.Adapters.Conta inersVer2.ParameterDescriptorRepository.AddParamet erDescriptor(ParameterDescriptor parameterDescriptor)
at ProgramRelayFBD.ApplicationLayer.ContainersVer2.Bu ildLogicParameterDescriptorsService.BuildByInputVa riableNode(NodeThatDescribeVariable inputVariableNode, IEnumerable`1 referenceFromContainers, IParameterDescriptorRepository parameterDescriptionRepo, Guid variableUniqueId)
at ProgramRelayFBD.ApplicationLayer.ContainersVer2.Bu ildInputOutputNodesService.BuildAdditionalInputVar iables(IEnumerable`1 additionalVariables, IBuildLogicParameterDescriptorsService buildParameterDescriptorsService, ProgramCode program, IParameterDescriptorRepository parameterNodesRepo, IVariableInfoRepository variableInfoRepository)
at ProgramRelayFBD.ApplicationLayer.ContainersVer2.Bu ildInputOutputNodesService.BuildFromContainerDescr iption(ContainerDescriptor logicContainerDescriptor, IVariableInfoRepository compilingVariableRepo, IBuildLogicParameterDescriptorsService buildParameterDescriptorsService, ProgramCode program, ContainersVer2Compiler compiler, IParameterDescriptorRepository parameterNodesRepo, IMappingParameterRepository mappingParameterRepo, IGenerateNodeCatalogsService generateNodeCatalogs)
at ProgramRelayFBD.ApplicationLayer.ContainersVer2.Co ntainersProgramBuilder.BuildLogicContainerDescript orAsync(ProgramCode program, ContainersVer2Compiler compiler, ContainerDescriptor logicContainerDescriptor, IParameterDescriptorRepository parameterDescriptorRepo)
at ProgramRelayFBD.ApplicationLayer.ContainersVer2.Bu ildCompilerFilesService.BuildProgram(IContainersVe r2BuilderFacade builderFacade, ProgramCode program, ICompiler compiler, IContainerRepository containerRepository, IProgramBuilder programBuilder, ISetupConsistenceData consistencyService, IParameterDescriptorRepository parameterDescriptorRepo)