November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
You can probably see more information from log files. Without a full stacktrace it's almost impossible to understand what is wrong
I know it's been a few months, but we are also seeing this error. The log files are not showing anything useful. We do see this message in the dev console:
_317 {message: 'Unable to load /EPiServer/cms/Stores/contentdata/159007_467443 status: 409', response: {…}, status: 409, responseText: '[{"severity":3,"errorMessage":"Object reference not set to an instance of an object."}]', xhr: XMLHttpRequest, …}
message
:
"Unable to load /EPiServer/cms/Stores/contentdata/159007_467443 status: 409"
response
:
data
:
"[{\"severity\":3,\"errorMessage\":\"Object reference not set to an instance of an object.\"}]"
getHeader
:
ƒ _507(_508)
options
:
TMP {method: 'POST', handleAs: 'text', ioArgs: {…}, headers: {…}, data: '{"id":"159007_467443","properties":{"title":"\\"test\\""},"action":513}'}
status
:
409
text
:
"[{\"severity\":3,\"errorMessage\":\"Object reference not set to an instance of an object.\"}]"
url
:
"/EPiServer/cms/Stores/contentdata/159007_467443"
xhr
:
XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
[[Prototype]]
:
Object
responseText
:
"[{\"severity\":3,\"errorMessage\":\"Object reference not set to an instance of an object.\"}]"
status
:
409
xhr
:
XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
stack
:
"Error: Unable to load /EPiServer/cms/Stores/contentdata/159007_467443 status: 409\n at new _317 (https://www.bdc12.local:5002/EPiServer/Shell/12.25.1/ClientResources/dojo/dojo.js:15:78148)\n at _2f1._4f2 [as handleResponse] (https://www.bdc12.local:5002/EPiServer/Shell/12.25.1/ClientResources/dojo/dojo.js:15:133806)\n at XMLHttpRequest._4fe (https://www.bdc12.local:5002/EPiServer/Shell/12.25.1/ClientResources/dojo/dojo.js:15:134085)"
[[Prototype]]
:
Error
Our customer has encountered this issue as well but we couldn't reproduce it since there's no way to trigger the error. We suggested that the customer has their devtools open during the edit process and send the logs to us if they encounter a problem but the error has not happened since then. They did tell us, however, that the error seems to happen more often when working with blocks in a content area. As of today, we still have an open ticket with the support but we have no error log to send to them.
I have a similar error after upgrading the package
Payload:
Response:
[
{
"severity": 3,
"errorMessage": "Object reference not set to an instance of an object."
}
]
Log:
2024-07-01 21:09:31.487 +10:00 [ERR] An unhandled exception has occurred while executing the request.
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at EPiServer.Validation.DataAnnotationsValidator`1.ValidateInstance(Object instance, List`1 validationResult, ValidationContext validationContext)
at EPiServer.Validation.DataAnnotationsValidator`1.ValidateInstance(Object instance, List`1 validationResult, ValidationContext validationContext)
at EPiServer.Validation.DataAnnotationsValidator`1.Validate(T instance)
at EPiServer.Validation.Internal.ContextValidatorWrapper`2.Validate(Object instance)
at EPiServer.Validation.Internal.ValidationService.ValidateRecursively(Object instance, Object context, HashSet`1 visitedInstances)
at EPiServer.Validation.Internal.ValidationService.Validate(Object instance)
at EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore.<>c__DisplayClass20_1.<Validate>b__1(IValidationService x)
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.ToList()
at EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore.<>c__DisplayClass20_0.<Validate>b__0(IContent content)
at EPiServer.Cms.Shell.UI.Rest.Internal.RestStatusUtil.ExecuteWithSecurityCheck[T](ContentReference contentLink, IContentLoader contentLoader, AccessLevel accessLevel, Func`2 func)
at EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore.Validate(ContentReference id, ValidationFilering filter)
at lambda_method624(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.<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__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Mediachase.Commerce.Anonymous.Internal.AnonymousIdMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Geta.NotFoundHandler.Infrastructure.Initialization.NotFoundHandlerMiddleware.InvokeAsync(HttpContext context, RequestHandler requestHandler)
at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
"Could not save property. The page may have been changed by another user. Please reload the page"
"Could not save property, Please reload the page"
Has anyone experienced this and eventually have some tips for debugging and solving it?
It's CMS v12.22.1
Thanks in advance and best regards.