Не подумал об этом логе, спасибо.
Но понятнее не стало, т.к. я не понимаю структуру классов...
ERROR 2021-01-12 11:22:12,382 [80] EleWise.ELMA.Logging.Logger - Background task error. Task info: Вызов метода из дизайнера
System.NullReferenceException: Object reference not set to an instance of an object.
at EleWise.ELMA.Workflow.BPMN.ProcessDocumentationGenerator.<>c__DisplayClassd.pOBrgTNYiqAXHUN51RIK(Object , Object )
at EleWise.ELMA.Workflow.BPMN.ProcessDocumentationGenerator.<>c__DisplayClassd.<GetDescSwimLane>b__6(String m)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at EleWise.ELMA.Workflow.BPMN.ProcessDocumentationGenerator.GetDescSwimLane(SwimlaneElement bpmsl, StringBuilder descString)
at EleWise.ELMA.Workflow.BPMN.ProcessDocumentationGenerator.AddActivityImages(String path, StringBuilder mapString, Element element, Point startPoint, Dictionary`2 chaptersContent, Dictionary`2 chaptersDescription)
at EleWise.ELMA.Workflow.BPMN.ProcessDocumentationGenerator.CreateDocumentationInThread()
at EleWise.ELMA.Workflow.BPMN.ProcessDocumentationGenerator.CreateDocumentation(Object wp, String path, GenerationSettings settings, Boolean subFolders)
at EleWise.ELMA.Workflow.DTO.Managers.WorkflowProcessDTOManager.Documentation(GenerationSettings& settings, Boolean isPublishing)
at Castle.Proxies.Invocations.WorkflowProcessDTOManager_Documentation.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at EleWise.ELMA.Runtime.NH.DiagnosticsInterceptor.F2r1RDmOt5nhUEFNRMAk(Object )
at EleWise.ELMA.Runtime.NH.DiagnosticsInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at EleWise.ELMA.Runtime.NH.CallSessionInterceptor.<>c__DisplayClass1.apAMtusdlPVigA963f9t(Object )
at EleWise.ELMA.Runtime.NH.CallSessionInterceptor.<>c__DisplayClass1.<Intercept>b__0()
at EleWise.ELMA.Threading.BackgroundTask.aWms80m2Wb1olb0d5YcP(Object )
at EleWise.ELMA.Threading.BackgroundTask.Execute()