2025-08-08 11:50:01,533 [.NET Signal Handler] INFO MCMS.Warehouse.Startup - 【应用程序优雅关闭】 2025-08-08 11:50:08,206 [1] INFO RedisLogger - ConnectionMultiplexer(10232270)附加自定义事件 2025-08-08 11:50:10,109 [1] DEBUG MCMS.Warehouse.Startup - 项目运行环境(.NET 6.0.25):【仓储物流微服务测试环境】 2025-08-08 11:50:10,567 [1] INFO MCMS.Warehouse.Startup - 【应用程序启动成功】 2025-08-08 11:50:24,892 [17] WARN Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware - Failed to determine the https port for redirect. 2025-08-08 11:50:25,514 [17] ERROR MCMS.Warehouse.Common.GlobalExceptionFilter - URL:http://warehouse.10g10g.com/ProductWarehouseEntry/Create;UserIP:127.0.0.1,ServerVariables:Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestHeaders; System.NullReferenceException: Object reference not set to an instance of an object. at MCMS.Warehouse.Service.Impl.ProductWarehouseEntryService.Create(ProductWarehouseEntryDto data, Int32 opAccountId, String opAccount, String& msg) in E:\agent\_work\15\s\MCMS.Warehouse.Service.Impl\ProductWarehouseEntryService.cs:line 297 at _dynamic_MCMS.Warehouse.Service.Impl.ProductWarehouseEntryService.Create(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_a2f9d31d5fe045c694be6b65c074f045.Create(ProductWarehouseEntryDto data, Int32 opAccountId, String opAccount, String& msg) at MCMS.Warehouse.Controllers.ProductWarehouseEntryController.Create(ProductWarehouseEntryCreatePostDto pars) at lambda_method30(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-08-08 11:50:42,036 [17] ERROR MCMS.Warehouse.Common.GlobalExceptionFilter - URL:http://warehouse.10g10g.com/ProductWarehouseEntry/Create;UserIP:127.0.0.1,ServerVariables:Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestHeaders; System.NullReferenceException: Object reference not set to an instance of an object. at MCMS.Warehouse.Service.Impl.ProductWarehouseEntryService.Create(ProductWarehouseEntryDto data, Int32 opAccountId, String opAccount, String& msg) in E:\agent\_work\15\s\MCMS.Warehouse.Service.Impl\ProductWarehouseEntryService.cs:line 297 at _dynamic_MCMS.Warehouse.Service.Impl.ProductWarehouseEntryService.Create(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_a2f9d31d5fe045c694be6b65c074f045.Create(ProductWarehouseEntryDto data, Int32 opAccountId, String opAccount, String& msg) at MCMS.Warehouse.Controllers.ProductWarehouseEntryController.Create(ProductWarehouseEntryCreatePostDto pars) at lambda_method30(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-08-08 15:16:08,085 [.NET Signal Handler] INFO MCMS.Warehouse.Startup - 【应用程序优雅关闭】 2025-08-08 15:16:14,729 [1] INFO RedisLogger - ConnectionMultiplexer(10232270)附加自定义事件 2025-08-08 15:16:16,855 [1] DEBUG MCMS.Warehouse.Startup - 项目运行环境(.NET 6.0.25):【仓储物流微服务测试环境】 2025-08-08 15:16:17,359 [1] INFO MCMS.Warehouse.Startup - 【应用程序启动成功】 2025-08-08 15:20:04,301 [38] WARN Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware - Failed to determine the https port for redirect. 2025-08-08 16:28:27,163 [.NET Signal Handler] INFO MCMS.Warehouse.Startup - 【应用程序优雅关闭】 2025-08-08 16:28:33,971 [1] INFO RedisLogger - ConnectionMultiplexer(10232270)附加自定义事件 2025-08-08 16:28:36,140 [1] DEBUG MCMS.Warehouse.Startup - 项目运行环境(.NET 6.0.25):【仓储物流微服务测试环境】 2025-08-08 16:28:36,585 [1] INFO MCMS.Warehouse.Startup - 【应用程序启动成功】 2025-08-08 16:30:26,998 [38] WARN Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware - Failed to determine the https port for redirect.