November Happy Hour will be moved to Thursday December 5th.

Error saving any page after .Net Framework update and using VS2019 - EPiServer.DataAccess.SaveAction

Vote:
 

Error saving any page after .Net Framework update and using VS2019. This error does not happen on our previous version of .Net Framework using VS2019.

Server Error in '/' Application.

The parameters dictionary contains a null entry for parameter 'action' of non-nullable type 'EPiServer.DataAccess.SaveAction' for method 'System.Web.Mvc.ActionResult ChangeStatus(EPiServer.Core.ContentReference, EPiServer.DataAccess.SaveAction)' in 'EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: The parameters dictionary contains a null entry for parameter 'action' of non-nullable type 'EPiServer.DataAccess.SaveAction' for method 'System.Web.Mvc.ActionResult ChangeStatus(EPiServer.Core.ContentReference, EPiServer.DataAccess.SaveAction)' in 'EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

 

[ArgumentException: The parameters dictionary contains a null entry for parameter 'action' of non-nullable type 'EPiServer.DataAccess.SaveAction' for method 'System.Web.Mvc.ActionResult ChangeStatus(EPiServer.Core.ContentReference, EPiServer.DataAccess.SaveAction)' in 'EPiServer.Cms.Shell.UI.Rest.Internal.ContentDataStore'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.

Parameter name: parameters]

   System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo) +430

   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +111

   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35

   System.Web.Mvc.Async.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39

   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +70

   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42

   System.Web.Mvc.Async.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0() +80

   System.Web.Mvc.Async.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387

   System.Web.Mvc.Async.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387

   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42

   System.Web.Mvc.Async.<>c__DisplayClass3_6.<BeginInvokeAction>b__4() +50

   System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult) +188

   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38

   EPiServer.Shell.Services.Rest.RestControllerBase.EndExecute(IAsyncResult asyncResult) +60

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648

   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0

#205413
Jul 09, 2019 18:00
- Jul 09, 2019 19:18
We also get this error when clicking the Notification bell twice.

Server Error in '/' Application.
________________________________________
Value cannot be null.
Parameter name: user
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: user

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: user]
EPiServer.Notification.Internal.
Vote:
 

Hey Eric,

Can you cross check with the System Requirement Documents that version is not an issue and are supported?

Also, here is a related thread (might be helpful)

https://world.episerver.com/forum/developer-forum/Developer-to-developer/Thread-Container/2018/11/officially-supported--net-versions/

Thanks,

Praful

#205454
Jul 10, 2019 16:59
Vote:
 

We upgraded our epi version to the newest today, version 11.12.0.0, and this fixed the issue.

#205457
Jul 10, 2019 20:30
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.