HOME DOCUMENTATION DOWNLOADS BLOG

Error after Origam Architect update: Class version written in persisted object is greater than current version of the class

After updating Origam Architect to version 7033 (17.3.2021) I am unable to run application.
Two errors:

  1. Architect shows error box:
    Error
    Exception on timer
    Object reference not set to an instance of an object.
    Stack trace
    at Origam.DA.Service.FileEventQkueue.FindPersistenceFileHash(FileInfo file)
    […]

  2. When i run cmd with “docker run …”, I get error:
    —> System.Exception: An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model[…].origam
    —> System.Exception: Class version written in persisted object is greater than current version of the class. This should never happen, please check version of EntityUIAction in /home/origam/HTML5/data/origam/model/[…].origam
    […]

When I checked, what was changed in files, there were changes in some .origam files (eg. BinaryFile.origam):
xmlns:euia=“http://schemas.origam.com/Origam.Schema.GuiModel.EntityUIAction/6.1.0
to
xmlns:euia=“http://schemas.origam.com/Origam.Schema.GuiModel.EntityUIAction/6.2.0

Trying to create whole new project with database for this new model din’t help, still the same error. The only solution I found was to downgrade Architect to older version.

Full errors:

  1. Error
    Exception on timer
    Exception on timer
    Object reference not set to an instance of an object.
    Stack trace
    at Origam.DA.Service.FileEventQueue.FindPersistenceFileHash(FileInfo file)
    at Origam.DA.Service.FileEventQueue.NeedsUpdate(FileInfo file)
    at Origam.DA.Service.FileEventQueue.ShouldBeUpdated(FileInfo file)
    at Origam.DA.Service.FileEventQueue.ProcessAccumulatedEvents()
    at Origam.DA.Service.FileEventQueue.TimerElapsedHandler() at Origam.DA.Service.FileEventQueue.<>c__DisplayClass17_0.b__0(Object _)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
  1. Application startup exception: System.AggregateException: One or more errors occurred. (One or more errors occurred. (An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam)) (An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam)
    —> System.Exception: An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam
    —> System.Exception: Class version written in persisted object is greater than current version of the class. This should never happen, please check version of EntityUIAction in /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam
    at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgrader.TryUpgrade(XElement classNode, DocumentContainer documentContainer) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgrader.cs:line 119
    at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgrader.<>c__DisplayClass6_0.b__0(XElement classNode) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgrader.cs:line 75
    at System.Linq.Enumerable.SelectArrayIterator2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
    at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgrader.TryUpgrade(XFileData xFileData) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgrader.cs:line 72
    at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.Upgrade(XmlFileData fileData, Int32 totalFileCount) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 117
    — End of inner exception stack trace —
    at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.Upgrade(XmlFileData fileData, Int32 totalFileCount) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 122
    at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.<>c__DisplayClass12_0.b__1(XmlFileData fileData) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 88
    at System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorEnumerator1.MoveNext(TOutput& currentElement, TKey& currentKey)
    at System.Linq.Parallel.WhereQueryOperator1.WhereQueryOperatorEnumerator1.MoveNext(TInputOutput& currentElement, TKey& currentKey)
    at System.Linq.Parallel.StopAndGoSpoolingTask2.SpoolingWork() at System.Linq.Parallel.SpoolingTaskBase.Work() at System.Linq.Parallel.QueryTask.BaseWork(Object unused) at System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o) at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of inner exception stack trace --- at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose) at System.Linq.Parallel.SpoolingTask.SpoolStopAndGo[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream2 partitions, SynchronousChannel1[] channels, TaskScheduler taskScheduler) at System.Linq.Parallel.DefaultMergeHelper2.System.Linq.Parallel.IMergeHelper.Execute()
    at System.Linq.Parallel.MergeExecutor1.Execute() at System.Linq.Parallel.MergeExecutor1.Execute[TKey](PartitionedStream2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId) at System.Linq.Parallel.PartitionedStreamMerger1.Receive[TKey](PartitionedStream2 partitionedStream) at System.Linq.Parallel.WhereQueryOperator1.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream)
    at System.Linq.Parallel.SelectQueryOperator2.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream) at System.Linq.Parallel.WhereQueryOperator1.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream)
    at System.Linq.Parallel.ListQueryResults1.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.QueryOperator1.GetOpenedEnumerator(Nullable1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
    at System.Linq.Parallel.QueryOpeningEnumerator1.OpenQuery() at System.Linq.Parallel.QueryOpeningEnumerator1.MoveNext()
    at System.Linq.ParallelEnumerable.ToList[TSource](ParallelQuery1 source) at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.Upgrade(List1 xmlFileData) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 85
    at Origam.DA.Service.OrigamXmlLoader.LoadInto(ItemTracker itemTracker, Boolean tryUpgrade) in D:\a\1\s\Origam.DA.Service\OrigamFile\XmlLoading\OrigamXmlLoader.cs:line 61
    at Origam.DA.Service.FilePersistenceIndex.<>c__DisplayClass32_0.b__0() in D:\a\1\s\Origam.DA.Service\FilePersistenceIndex.cs:line 218
    at Origam.Extensions.ReaderWriterLockSlimExtensions.RunWriter(ReaderWriterLockSlim rwLock, Action action) in D:\a\1\s\Origam.Common\Extensions\ReaderWriterLockSlimExtensions.cs:line 35
    at Origam.DA.Service.FilePersistenceIndex.InitItemTracker(TrackerLoaderFactory trackerLoaderFactory, Boolean tryUpgrade) in D:\a\1\s\Origam.DA.Service\FilePersistenceIndex.cs:line 243
    at Origam.Workbench.Services.FilePersistenceService…ctor(IMetaModelUpgradeService metaModelUpgradeService, IList1 defaultFolders, String basePath, Boolean watchFileChanges, Boolean useBinFile, Boolean checkRules, Boolean tryUpgrade) in D:\a\1\s\Origam.Workbench.Services\FilePersistenceService.cs:line 93 at Origam.OrigamEngine.FilePersistenceBuilder.CreateNewPersistenceService(Boolean watchFileChanges, Boolean checkRules, Boolean useBinFile) in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 73 at Origam.OrigamEngine.FilePersistenceBuilder.GetPersistenceService(Boolean watchFileChanges, Boolean checkRules, Boolean useBinFile) in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 50 at Origam.OrigamEngine.FilePersistenceBuilder.GetPersistenceService() in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 44 at Origam.OrigamEngine.RuntimeServiceFactory.CreatePersistenceService() in D:\a\1\s\Origam.OrigamEngine\RuntimeServiceFactory.cs:line 91 at Origam.OrigamEngine.RuntimeServiceFactory.InitializeServices() in D:\a\1\s\Origam.OrigamEngine\RuntimeServiceFactory.cs:line 42 at Origam.OrigamEngine.OrigamEngine.ConnectRuntime(String configName, Boolean runRestartTimer, Boolean loadDeploymentScripts, IRuntimeServiceFactory customServiceFactory) in D:\a\1\s\Origam.OrigamEngine\OrigamEngine.cs:line 129 at Origam.ServerCore.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory) in D:\a\1\s\Origam.ServerCore\Startup.cs:line 262 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder) at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder) at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app) at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder) at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app) at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication() e[41me[1me[37mcrite[39me[22me[49m: Microsoft.AspNetCore.Hosting.WebHost[6] Application startup exception [...shortened by MZ...] 2021-03-19 12:31:20,792 [1] FATAL - One or more errors occurred. (One or more errors occurred. (An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam)) (An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam) at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose) at System.Linq.Parallel.SpoolingTask.SpoolStopAndGo[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream2 partitions, SynchronousChannel1[] channels, TaskScheduler taskScheduler) at System.Linq.Parallel.DefaultMergeHelper2.System.Linq.Parallel.IMergeHelper.Execute()
    at System.Linq.Parallel.MergeExecutor1.Execute() at System.Linq.Parallel.MergeExecutor1.Execute[TKey](PartitionedStream2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId) at System.Linq.Parallel.PartitionedStreamMerger1.Receive[TKey](PartitionedStream2 partitionedStream) at System.Linq.Parallel.WhereQueryOperator1.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream)
    at System.Linq.Parallel.SelectQueryOperator2.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream) at System.Linq.Parallel.WhereQueryOperator1.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream)
    at System.Linq.Parallel.ListQueryResults1.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.QueryOperator1.GetOpenedEnumerator(Nullable1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
    at System.Linq.Parallel.QueryOpeningEnumerator1.OpenQuery() at System.Linq.Parallel.QueryOpeningEnumerator1.MoveNext()
    at System.Linq.ParallelEnumerable.ToList[TSource](ParallelQuery1 source) at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.Upgrade(List1 xmlFileData) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 85
    at Origam.DA.Service.OrigamXmlLoader.LoadInto(ItemTracker itemTracker, Boolean tryUpgrade) in D:\a\1\s\Origam.DA.Service\OrigamFile\XmlLoading\OrigamXmlLoader.cs:line 61
    at Origam.DA.Service.FilePersistenceIndex.<>c__DisplayClass32_0.b__0() in D:\a\1\s\Origam.DA.Service\FilePersistenceIndex.cs:line 218
    at Origam.Extensions.ReaderWriterLockSlimExtensions.RunWriter(ReaderWriterLockSlim rwLock, Action action) in D:\a\1\s\Origam.Common\Extensions\ReaderWriterLockSlimExtensions.cs:line 35
    at Origam.DA.Service.FilePersistenceIndex.InitItemTracker(TrackerLoaderFactory trackerLoaderFactory, Boolean tryUpgrade) in D:\a\1\s\Origam.DA.Service\FilePersistenceIndex.cs:line 243
    at Origam.Workbench.Services.FilePersistenceService…ctor(IMetaModelUpgradeService metaModelUpgradeService, IList1 defaultFolders, String basePath, Boolean watchFileChanges, Boolean useBinFile, Boolean checkRules, Boolean tryUpgrade) in D:\a\1\s\Origam.Workbench.Services\FilePersistenceService.cs:line 93 at Origam.OrigamEngine.FilePersistenceBuilder.CreateNewPersistenceService(Boolean watchFileChanges, Boolean checkRules, Boolean useBinFile) in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 73 at Origam.OrigamEngine.FilePersistenceBuilder.GetPersistenceService(Boolean watchFileChanges, Boolean checkRules, Boolean useBinFile) in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 50 at Origam.OrigamEngine.FilePersistenceBuilder.GetPersistenceService() in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 44 at Origam.OrigamEngine.RuntimeServiceFactory.CreatePersistenceService() in D:\a\1\s\Origam.OrigamEngine\RuntimeServiceFactory.cs:line 91 at Origam.OrigamEngine.RuntimeServiceFactory.InitializeServices() in D:\a\1\s\Origam.OrigamEngine\RuntimeServiceFactory.cs:line 42 at Origam.OrigamEngine.OrigamEngine.ConnectRuntime(String configName, Boolean runRestartTimer, Boolean loadDeploymentScripts, IRuntimeServiceFactory customServiceFactory) in D:\a\1\s\Origam.OrigamEngine\OrigamEngine.cs:line 129 at Origam.ServerCore.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory) in D:\a\1\s\Origam.ServerCore\Startup.cs:line 262 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder) at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder) at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app) at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder) at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app) at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication() at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage) at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage) at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token) at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host) at Origam.ServerCore.Program.Main(String[] args) in D:\a\1\s\Origam.ServerCore\Program.cs:line 46 Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam)) (An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam) ---> System.Exception: An error has occured when trying to upgrade file: /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam ---> System.Exception: Class version written in persisted object is greater than current version of the class. This should never happen, please check version of EntityUIAction in /home/origam/HTML5/data/origam/model/facr_treneri/DataEntity/facr_treneri/Licence.origam at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgrader.TryUpgrade(XElement classNode, DocumentContainer documentContainer) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgrader.cs:line 119 at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgrader.<>c__DisplayClass6_0.<TryUpgrade>b__0(XElement classNode) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgrader.cs:line 75 at System.Linq.Enumerable.SelectArrayIterator2.ToList()
    at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgrader.TryUpgrade(XFileData xFileData) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgrader.cs:line 72 at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.Upgrade(XmlFileData fileData, Int32 totalFileCount) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 117 --- End of inner exception stack trace --- at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.Upgrade(XmlFileData fileData, Int32 totalFileCount) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 122 at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.<>c__DisplayClass12_0.<Upgrade>b__1(XmlFileData fileData) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 88 at System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorEnumerator1.MoveNext(TOutput& currentElement, TKey& currentKey) at System.Linq.Parallel.WhereQueryOperator1.WhereQueryOperatorEnumerator1.MoveNext(TInputOutput& currentElement, TKey& currentKey) at System.Linq.Parallel.StopAndGoSpoolingTask2.SpoolingWork()
    at System.Linq.Parallel.SpoolingTaskBase.Work()
    at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
    at System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
    at System.Threading.Tasks.Task.InnerInvoke()
    at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
    — End of stack trace from previous location where exception was thrown —
    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
    — End of inner exception stack trace —
    at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
    at System.Linq.Parallel.SpoolingTask.SpoolStopAndGo[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream2 partitions, SynchronousChannel1[] channels, TaskScheduler taskScheduler)
    at System.Linq.Parallel.DefaultMergeHelper2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute() at System.Linq.Parallel.MergeExecutor1.Execute()
    at System.Linq.Parallel.MergeExecutor1.Execute[TKey](PartitionedStream2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
    at System.Linq.Parallel.PartitionedStreamMerger1.Receive[TKey](PartitionedStream2 partitionedStream)
    at System.Linq.Parallel.WhereQueryOperator1.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream) at System.Linq.Parallel.SelectQueryOperator2.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings)
    at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream)
    at System.Linq.Parallel.WhereQueryOperator1.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream) at System.Linq.Parallel.ListQueryResults1.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) at System.Linq.Parallel.QueryOperator1.GetOpenedEnumerator(Nullable1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings) at System.Linq.Parallel.QueryOpeningEnumerator1.OpenQuery()
    at System.Linq.Parallel.QueryOpeningEnumerator1.MoveNext() at System.Linq.ParallelEnumerable.ToList[TSource](ParallelQuery1 source)
    at Origam.DA.Service.MetaModelUpgrade.MetaModelUpgradeService.Upgrade(List1 xmlFileData) in D:\a\1\s\Origam.DA.Service\MetaModelUpgrade\MetaModelUpgradeService.cs:line 85 at Origam.DA.Service.OrigamXmlLoader.LoadInto(ItemTracker itemTracker, Boolean tryUpgrade) in D:\a\1\s\Origam.DA.Service\OrigamFile\XmlLoading\OrigamXmlLoader.cs:line 61 at Origam.DA.Service.FilePersistenceIndex.<>c__DisplayClass32_0.<InitItemTracker>b__0() in D:\a\1\s\Origam.DA.Service\FilePersistenceIndex.cs:line 218 at Origam.Extensions.ReaderWriterLockSlimExtensions.RunWriter(ReaderWriterLockSlim rwLock, Action action) in D:\a\1\s\Origam.Common\Extensions\ReaderWriterLockSlimExtensions.cs:line 35 at Origam.DA.Service.FilePersistenceIndex.InitItemTracker(TrackerLoaderFactory trackerLoaderFactory, Boolean tryUpgrade) in D:\a\1\s\Origam.DA.Service\FilePersistenceIndex.cs:line 243 at Origam.Workbench.Services.FilePersistenceService..ctor(IMetaModelUpgradeService metaModelUpgradeService, IList1 defaultFolders, String basePath, Boolean watchFileChanges, Boolean useBinFile, Boolean checkRules, Boolean tryUpgrade) in D:\a\1\s\Origam.Workbench.Services\FilePersistenceService.cs:line 93
    at Origam.OrigamEngine.FilePersistenceBuilder.CreateNewPersistenceService(Boolean watchFileChanges, Boolean checkRules, Boolean useBinFile) in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 73
    at Origam.OrigamEngine.FilePersistenceBuilder.GetPersistenceService(Boolean watchFileChanges, Boolean checkRules, Boolean useBinFile) in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 50
    at Origam.OrigamEngine.FilePersistenceBuilder.GetPersistenceService() in D:\a\1\s\Origam.OrigamEngine\FilePersistenceBuilder.cs:line 44
    at Origam.OrigamEngine.RuntimeServiceFactory.CreatePersistenceService() in D:\a\1\s\Origam.OrigamEngine\RuntimeServiceFactory.cs:line 91
    at Origam.OrigamEngine.RuntimeServiceFactory.InitializeServices() in D:\a\1\s\Origam.OrigamEngine\RuntimeServiceFactory.cs:line 42
    at Origam.OrigamEngine.OrigamEngine.ConnectRuntime(String configName, Boolean runRestartTimer, Boolean loadDeploymentScripts, IRuntimeServiceFactory customServiceFactory) in D:\a\1\s\Origam.OrigamEngine\OrigamEngine.cs:line 129
    at Origam.ServerCore.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory) in D:\a\1\s\Origam.ServerCore\Startup.cs:line 262
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
    at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.b__0(IApplicationBuilder builder)
    at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
    at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
    at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.b__0(IApplicationBuilder app)
    at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
    at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
    at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
    at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
    at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
    at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
    at Origam.ServerCore.Program.Main(String[] args) in D:\a\1\s\Origam.ServerCore\Program.cs:line 46
    ./startServer.sh: line 197: 73 Aborted (core dumped) dotnet Origam.ServerCore.dll

You have to upgrade docker to latest version too.

Thanks, “docker pull origam/server:master-latest” did the job :o). Problem solved.

1 Like