2025-09-17 17:35:32,892 [546] ERROR NHibernate.LazyInitializationException - Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed NHibernate.LazyInitializationException: Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed 2025-09-17 17:35:32,938 [546] ERROR MCMS.Account.Common.GlobalExceptionFilter - URL:http://0.0.0.0:5003/DepartmentExtendStaff/SaveDepartmentExtendStaff;UserIP:127.0.0.1,ServerVariables:Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestHeaders;Exception:Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed at NHibernate.Collection.AbstractPersistentCollection.ThrowLazyInitializationException(String message) at NHibernate.Collection.AbstractPersistentCollection.ThrowLazyInitializationExceptionIfNotConnected() at NHibernate.Collection.AbstractPersistentCollection.ReadSize() at NHibernate.Collection.Generic.PersistentGenericBag`1.get_Count() at MCMS.Account.Entities.Department.GetChildIdList(Department department, List`1 allChildIdList) in E:\agent\_work\2\s\MCMS.Account.Entities\Department.cs:line 206 at MCMS.Account.Entities.Department.get_AllChildIdList() in E:\agent\_work\2\s\MCMS.Account.Entities\Department.cs:line 194 at MCMS.Account.Service.Impl.DepartmentExtendStaffService.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars, String& msg) in E:\agent\_work\2\s\MCMS.Account.Service.Impl\DepartmentExtendStaffService.cs:line 308 at _dynamic_MCMS.Account.Service.Impl.DepartmentExtendStaffService.SaveDepartmentExtendStaff(Object , Object[] ) at Spring.Reflection.Dynamic.SafeMethod.Invoke(Object target, Object[] arguments) at Spring.Aop.Framework.DynamicMethodInvocation.InvokeJoinpoint() at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Transaction.Interceptor.TransactionInterceptor.Invoke(IMethodInvocation invocation) at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Transaction.Interceptor.TransactionInterceptor.Invoke(IMethodInvocation invocation) at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Aop.Framework.DynamicProxy.AdvisedProxy.Invoke(Object proxy, Object target, Type targetType, MethodInfo targetMethod, MethodInfo proxyMethod, Object[] args, IList interceptors) at CompositionAopProxy_96019a9086e848e996acefd55079d93c.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars, String& msg) at MCMS.Account.Controllers.DepartmentExtendStaffController.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars) at lambda_method876(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2025-09-17 17:35:45,557 [328] ERROR NHibernate.LazyInitializationException - Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed NHibernate.LazyInitializationException: Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed 2025-09-17 17:35:45,566 [328] ERROR MCMS.Account.Common.GlobalExceptionFilter - URL:http://0.0.0.0:5003/DepartmentExtendStaff/SaveDepartmentExtendStaff;UserIP:127.0.0.1,ServerVariables:Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestHeaders;Exception:Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed at NHibernate.Collection.AbstractPersistentCollection.ThrowLazyInitializationException(String message) at NHibernate.Collection.AbstractPersistentCollection.ThrowLazyInitializationExceptionIfNotConnected() at NHibernate.Collection.AbstractPersistentCollection.ReadSize() at NHibernate.Collection.Generic.PersistentGenericBag`1.get_Count() at MCMS.Account.Entities.Department.GetChildIdList(Department department, List`1 allChildIdList) in E:\agent\_work\2\s\MCMS.Account.Entities\Department.cs:line 206 at MCMS.Account.Entities.Department.get_AllChildIdList() in E:\agent\_work\2\s\MCMS.Account.Entities\Department.cs:line 194 at MCMS.Account.Service.Impl.DepartmentExtendStaffService.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars, String& msg) in E:\agent\_work\2\s\MCMS.Account.Service.Impl\DepartmentExtendStaffService.cs:line 308 at _dynamic_MCMS.Account.Service.Impl.DepartmentExtendStaffService.SaveDepartmentExtendStaff(Object , Object[] ) at Spring.Reflection.Dynamic.SafeMethod.Invoke(Object target, Object[] arguments) at Spring.Aop.Framework.DynamicMethodInvocation.InvokeJoinpoint() at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Transaction.Interceptor.TransactionInterceptor.Invoke(IMethodInvocation invocation) at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Transaction.Interceptor.TransactionInterceptor.Invoke(IMethodInvocation invocation) at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Aop.Framework.DynamicProxy.AdvisedProxy.Invoke(Object proxy, Object target, Type targetType, MethodInfo targetMethod, MethodInfo proxyMethod, Object[] args, IList interceptors) at CompositionAopProxy_96019a9086e848e996acefd55079d93c.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars, String& msg) at MCMS.Account.Controllers.DepartmentExtendStaffController.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars) at lambda_method876(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2025-09-17 17:36:35,566 [588] ERROR NHibernate.LazyInitializationException - Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed NHibernate.LazyInitializationException: Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed 2025-09-17 17:36:35,575 [588] ERROR MCMS.Account.Common.GlobalExceptionFilter - URL:http://0.0.0.0:5003/DepartmentExtendStaff/SaveDepartmentExtendStaff;UserIP:127.0.0.1,ServerVariables:Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestHeaders;Exception:Initializing[MCMS.Account.Entities.Department#12]-failed to lazily initialize a collection of role: MCMS.Account.Entities.Department.Childs, no session or session was closed at NHibernate.Collection.AbstractPersistentCollection.ThrowLazyInitializationException(String message) at NHibernate.Collection.AbstractPersistentCollection.ThrowLazyInitializationExceptionIfNotConnected() at NHibernate.Collection.AbstractPersistentCollection.ReadSize() at NHibernate.Collection.Generic.PersistentGenericBag`1.get_Count() at MCMS.Account.Entities.Department.GetChildIdList(Department department, List`1 allChildIdList) in E:\agent\_work\2\s\MCMS.Account.Entities\Department.cs:line 206 at MCMS.Account.Entities.Department.get_AllChildIdList() in E:\agent\_work\2\s\MCMS.Account.Entities\Department.cs:line 194 at MCMS.Account.Service.Impl.DepartmentExtendStaffService.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars, String& msg) in E:\agent\_work\2\s\MCMS.Account.Service.Impl\DepartmentExtendStaffService.cs:line 308 at _dynamic_MCMS.Account.Service.Impl.DepartmentExtendStaffService.SaveDepartmentExtendStaff(Object , Object[] ) at Spring.Reflection.Dynamic.SafeMethod.Invoke(Object target, Object[] arguments) at Spring.Aop.Framework.DynamicMethodInvocation.InvokeJoinpoint() at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Transaction.Interceptor.TransactionInterceptor.Invoke(IMethodInvocation invocation) at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Transaction.Interceptor.TransactionInterceptor.Invoke(IMethodInvocation invocation) at Spring.Aop.Framework.AbstractMethodInvocation.Proceed() at Spring.Aop.Framework.DynamicProxy.AdvisedProxy.Invoke(Object proxy, Object target, Type targetType, MethodInfo targetMethod, MethodInfo proxyMethod, Object[] args, IList interceptors) at CompositionAopProxy_96019a9086e848e996acefd55079d93c.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars, String& msg) at MCMS.Account.Controllers.DepartmentExtendStaffController.SaveDepartmentExtendStaff(DepartmentExtendStaffSavePostDto pars) at lambda_method876(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2025-09-17 17:43:35,500 [.NET Signal Handler] INFO MCMS.Account.Startup - 【应用程序优雅关闭】 2025-09-17 17:43:42,181 [1] INFO RedisLogger - ConnectionMultiplexer(29083993)附加自定义事件 2025-09-17 17:43:44,469 [1] DEBUG MCMS.Account.Startup - 项目运行环境(.NET 6.0.25):【账号微服务测试环境】 2025-09-17 17:43:44,902 [1] INFO MCMS.Account.Startup - 【应用程序启动成功】 2025-09-17 17:43:45,912 [22] WARN Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware - Failed to determine the https port for redirect.