2025-03-29 16:55:29,878 [486] ERROR MCMS.Admin.Common.GlobalExceptionFilter - URI:/OrderAdmin/OrderInfoExport;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.Admin.Controllers.OrderAdminController.OrderInfoExport(String keyword, Nullable`1 useCompanyId, Nullable`1 kdl, String createTime, Nullable`1 departmentid, String shipDate, String realShipDate, String completedDate, String RefundDate, String ReturnDate, Nullable`1 type, Nullable`1 status, String approvaltime, String selectStatus, Nullable`1 shopId, Nullable`1 settlementMonth, Nullable`1 douShopAuthorId, String douShopAuthorIds, Nullable`1 warehouseId, Nullable`1 packageOrder, Nullable`1 logisticsType, Int32 wechatInfoId, Int32 staffId, String logisticsNumber) in E:\agent\_work\1\s\MCMS.Admin\Controllers\OrderAdminController.cs:line 776 at lambda_method3230(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.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)