Inhalte aufrufen

Profilbild

ERROR: Controller: Error, Action: Error, Status: 500 (InternalServerError) Object reference not set to an instance of an object.

"\r\n48635

Best Answer Wolfgang Schmerge , 02 May 2024 - 09:26

Hello,
 
the problem has just been fixed by our developers directly in the store.
The cause of the problem was the deactivated main menu without existing product groups. The code has been updated and will be included in the next version 5.2.0. 
 
Kind regards
 
Wolfgang
Go to the full post


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
3 Antworten zu diesem Thema

#1 appplusmobile

appplusmobile

    Newbie

  • Members
  • Punkt
  • 3 Beiträge

Geschrieben: 01 May 2024 - 21:19

Hi folks.

 

We run a Smartstore in a docker. latest version.

 

It runs ok, but after some edits today the error comes and all self created topics are not accessible anymore, as well all other default topics except the contact us.

 

What i did lastly was:

- changed padding of stories on home page

- Test to send a newsletter request by entering email (but no newsletter setup so far)

- changed the localized text for the privacyinfo topic, as well published and unpublished it (yesterday i configured that privacy agreement is not requested for forms

 

Yesterday we changed on css classes to hide elements on home. After it run for hours with no issue.

 

 

https://skadarlake.me/

 

Any help is highly appreciated since the whole project is dead now ;-(

 



#2 appplusmobile

appplusmobile

    Newbie

  • Members
  • Punkt
  • 3 Beiträge

Geschrieben: 01 May 2024 - 21:31

here is data dumb:

 

 

System.NullReferenceException: Object reference not set to an instance of an object.
at Smartstore.Web.Controllers.CatalogHelper.GetBreadcrumbAsync(IBreadcrumb breadcrumb, ActionContext context, Product product) in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Web/Controllers/CatalogHelper.cs:line 440
at Smartstore.Web.Controllers.TopicController.TopicDetails(Int32 topicId, Boolean popup) in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Web/Controllers/TopicController.cs:line 79
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
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.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Smartstore.Core.Bootstrapping.CheckoutBootstrappingExtensions.<>c.<<UseCheckoutState>b__0_0>d.MoveNext() in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Core/Checkout/Bootstrapping/CheckoutBootstrappingExtensions.cs:line 31
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Smartstore.Web.Api.Startup.<>c.<<BuildPipeline>b__3_7>d.MoveNext()
--- End of stack trace from previous location ---
at Smartstore.ExceptionExtensions.ReThrow(Exception exception) in /home/runner/work/Smartstore/Smartstore/src/Smartstore/Extensions/ExceptionExtensions.cs:line 15
at Smartstore.Web.Api.Startup.ProcessException(HttpContext context, Exception ex)
at Smartstore.Web.Api.Startup.<>c.<<BuildPipeline>b__3_7>d.MoveNext()
--- End of stack trace from previous location ---
at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 114
at Smartstore.Core.Localization.RequestCultureMiddleware.Invoke(HttpContext context, IWorkContext workContext) in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Core/Platform/Localization/Services/RequestCultureMiddleware.cs:line 71
at Smartstore.Core.Logging.RequestLoggingMiddleware.InvokeAsync(HttpContext httpContext, IWebHelper webHelper, IWorkContext workContext) in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Core/Platform/Logging/Serilog/RequestLoggingMiddleware.cs:line 78
at Smartstore.Core.Bootstrapping.CommonBuilderExtensions.<>c.<<UseWorkContext>b__1_0>d.MoveNext() in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Core/Platform/Common/Bootstrapping/CommonBuilderExtensions.cs:line 36
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Smartstore.Core.Bootstrapping.LocalizationBuilderExtensions.OnAfterRouting(HttpContext context, Func`1 next) in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Core/Platform/Localization/Bootstrapping/LocalizationBuilderExtensions.cs:line 118
at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|8_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask)
at Smartstore.Core.Bootstrapping.LocalizationBuilderExtensions.OnBeforeRouting(HttpContext context, Func`
1 next) in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Core/Platform/Localization/Bootstrapping/LocalizationBuilderExtensions.cs:line 82
at Microsoft.AspNetCore.OData.Batch.ODataBatchMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.OData.Query.ODataQueryRequestMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Smartstore.Core.Bootstrapping.CommonBuilderExtensions.<>c.<<UseSecurityHeaders>b__3_0>d.MoveNext() in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Core/Platform/Common/Bootstrapping/CommonBuilderExtensions.cs:line 61
--- End of stack trace from previous location ---
at Smartstore.Core.Bootstrapping.CommonBuilderExtensions.<>c.<<UsePoweredBy>b__2_0>d.MoveNext() in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Core/Platform/Common/Bootstrapping/CommonBuilderExtensions.cs:line 49
--- End of stack trace from previous location ---
at Smartstore.Web.Bundling.BundleMiddleware.InvokeAsync(HttpContext httpContext) in /home/runner/work/Smartstore/Smartstore/src/Smartstore.Web.Common/Bundling/BundleMiddleware.cs:line 98
at Smartstore.Engine.Initialization.ApplicationInitializerMiddleware.Invoke(HttpContext context) in /home/runner/work/Smartstore/Smartstore/src/Smartstore/Engine/Initialization/ApplicationInitializerMiddleware.cs:line 77
at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)



#3 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2454 Beiträge

Geschrieben: 02 May 2024 - 09:26   Best Answer

Hello,
 
the problem has just been fixed by our developers directly in the store.
The cause of the problem was the deactivated main menu without existing product groups. The code has been updated and will be included in the next version 5.2.0. 
 
Kind regards
 
Wolfgang

  • stefanmueller gefällt das

Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.

Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.

Smartstore bewerten


 

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#4 appplusmobile

appplusmobile

    Newbie

  • Members
  • Punkt
  • 3 Beiträge

Geschrieben: 02 May 2024 - 16:57

Hi Wolfgang,

thanks.

 

Do we get a hot fix since our projects are dead right now?

 

BR Tobias