Serverfehler in der Anwendung /.

Der Wert darf nicht NULL sein.
Parametername: source

Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.

Ausnahmedetails: System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: source

Quellfehler:

Der Quellcode, der diese unbehandelte Ausnahme verursacht hat, kann nur angezeigt werden, wenn im Debugmodus kompiliert wird. Um dies zu aktivieren, müssen Sie einen der folgenden Schritte ausführen und die URL anfordern:

1) Fügen Sie eine "Debug=true"-Direktive am Anfang der Datei hinzu, die den Fehler generiert hat. Beispiel:

  <%@ Page Language="C#" Debug="true" %>

oder:

2) Fügen Sie der Konfigurationsdatei Ihrer Anwendung folgenden Konfigurationsabschnitt hinzu:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Hinweis: Die zweite Option hat zur Folge, das alle Dateien in der Anwendung im Debugmodus kompiliert werden. Mit der ersten Option wird nur die angegebene Datei im Debugmodus kompiliert.

Wichtig: Das Ausführen von Anwendungen im Debugmodus belegt zusätzlichen Arbeitsspeicher. Stellen Sie daher sicher, dass das Debuggen für eine Anwendung deaktiviert wird, bevor sie für die Produktion bereitgestellt wird.

Stapelüberwachung:


[ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: source]
   System.Linq.Enumerable.Where(IEnumerable`1 source, Func`2 predicate) +6295858
   Nop.Plugin.Tax.FixedOrByCountryStateZip.FixedOrByCountryStateZipTaxProvider.GetTaxRate(CalculateTaxRequest calculateTaxRequest) +1676
   Nop.Services.Tax.TaxService.GetTaxRate(Product product, Int32 taxCategoryId, Customer customer, Decimal price, Decimal& taxRate, Boolean& isTaxable) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Libraries\Nop.Services\Tax\TaxService.cs:287
   Nop.Services.Tax.TaxService.GetProductPrice(Product product, Int32 taxCategoryId, Decimal price, Boolean includingTax, Customer customer, Boolean priceIncludesTax, Decimal& taxRate) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Libraries\Nop.Services\Tax\TaxService.cs:426
   Nop.Services.Tax.TaxService.GetProductPrice(Product product, Decimal price, Boolean includingTax, Customer customer, Decimal& taxRate) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Libraries\Nop.Services\Tax\TaxService.cs:396
   Nop.Services.Tax.TaxService.GetProductPrice(Product product, Decimal price, Customer customer, Decimal& taxRate) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Libraries\Nop.Services\Tax\TaxService.cs:379
   Nop.Services.Tax.TaxService.GetProductPrice(Product product, Decimal price, Decimal& taxRate) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Libraries\Nop.Services\Tax\TaxService.cs:364
   Nop.Web.Factories.ProductModelFactory.PrepareProductOverviewPriceModel(Product product, Boolean forceRedirectionAfterAddingToCart) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Presentation\Nop.Web\Factories\ProductModelFactory.cs:366
   Nop.Web.Factories.ProductModelFactory.PrepareProductOverviewModels(IEnumerable`1 products, Boolean preparePriceModel, Boolean preparePictureModel, Nullable`1 productThumbPictureSize, Boolean prepareSpecificationAttributes, Boolean forceRedirectionAfterAddingToCart) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Presentation\Nop.Web\Factories\ProductModelFactory.cs:1140
   Nop.Web.Factories.CatalogModelFactory.PrepareCategoryModel(Category category, CatalogPagingFilteringModel command) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Presentation\Nop.Web\Factories\CatalogModelFactory.cs:537
   Nixtus.Widgets.Fitments.Factories.CatalogModelFactory.PrepareCategoryModel(Category category, CatalogPagingFilteringModel command) +285
   Nop.Web.Controllers.CatalogController.Category(Int32 categoryId, CatalogPagingFilteringModel command) in C:\Users\tomoe\source\repos\nopCommerce39 -Rewi\Presentation\Nop.Web\Controllers\CatalogController.cs:128
   lambda_method(Closure , ControllerBase , Object[] ) +201
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +229
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39
   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +77
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +72
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +38
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +32
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +46
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


Versionsinformationen: Microsoft .NET Framework-Version:4.0.30319; ASP.NET-Version:4.8.4700.0