SeriaWei / ZKEACMS

ZKEACMS build with .Net 8 (.Net CMS)可视化设计在线编辑内容管理系统

Home Page:http://www.zkea.net/cms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

更新索引异常

SeriaWei opened this issue · comments

commented
fail: Microsoft.Extensions.Hosting.Internal.Host[9]
      BackgroundService failed
      System.NullReferenceException: Object reference not set to an instance of an object.
         at ZKEACMS.HostOptionProvider.GetScheme() in /build/src/ZKEACMS/HostOptionProvider.cs:line 58
         at ZKEACMS.HostOptionProvider.GetOrigin() in /build/src/ZKEACMS/HostOptionProvider.cs:line 49
         at ZKEACMS.Search.Service.Crawler.Loadpage(WebPage page)
         at ZKEACMS.Search.Service.Crawler.CrawlPageAsync(String url)
         at ZKEACMS.Search.Service.CrawlBackgroundTask.ExecuteAsync(CancellationToken stoppingToken)
         at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
crit: Microsoft.Extensions.Hosting.Internal.Host[10]
      The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted.
      System.NullReferenceException: Object reference not set to an instance of an object.
         at ZKEACMS.HostOptionProvider.GetScheme() in /build/src/ZKEACMS/HostOptionProvider.cs:line 58
         at ZKEACMS.HostOptionProvider.GetOrigin() in /build/src/ZKEACMS/HostOptionProvider.cs:line 49
         at ZKEACMS.Search.Service.Crawler.Loadpage(WebPage page)
         at ZKEACMS.Search.Service.Crawler.CrawlPageAsync(String url)
         at ZKEACMS.Search.Service.CrawlBackgroundTask.ExecuteAsync(CancellationToken stoppingToken)
         at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)