• 欢迎光临~

一沙YiShaAdmin Core3框架下

开发技术 开发技术 2022-05-26 次浏览
Object reference not set to an instance of an object.
   at YiSha.Data.Repository.RepositoryFactory.DBase(IDatabase DBase, Nullable`1 DBNo, Nullable`1 IsGetNewDB) in
D:\yisha_core3YiShaAdminYiSha.DataYiSha.Data.RepositoryRepositoryFactory.cs:line 102
   at YiSha.Data.Repository.RepositoryFactory.BaseRepository() in 
D:\yisha_core3YiShaAdminYiSha.DataYiSha.Data.RepositoryRepositoryFactory.cs:line 43
   at YiSha.Service.OrganizationManage.NewsService.GetPageList(NewsListParam param, Pagination pagination) in 
D:\yisha_core3YiShaAdminYiSha.BusinessYiSha.ServiceOrganizationManageNewsService.cs:line 33
   at YiSha.Business.OrganizationManage.NewsBLL.GetPageList(NewsListParam param, Pagination pagination) in 
D:\yisha_core3YiShaAdminYiSha.BusinessYiSha.BusinessOrganizationManageNewsBLL.cs:line 35
   at YiSha.Admin.WebApi.Controllers.NewsController.GetPageList(NewsListParam param, Pagination pagination) in 
D:\yisha_core3YiShaAdminYiSha.WebYiSha.Admin.WebApiControllersNewsController.cs:line 32
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

 

 

YiShaAdmin 调用API接口 记录日志的时候 说实例化错误
程序员灯塔
转载请注明原文链接:一沙YiShaAdmin Core3框架下
喜欢 (0)