• Not Answered

Value cannot be null. Parameter name: innerItem

In production when I open a form designer, the below error has been given:

Server Error in '/' Application.
Value cannot be null.
Parameter name: innerItem

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: innerItem

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: innerItem]
Sitecore.Diagnostics.Error.AssertObject(Object argument, String name) +55
Sitecore.Data.Items.CustomItemBase..ctor(Item innerItem) +41
Sitecore.Forms.Shell.UI.FormDesigner.LoadControls() +59
Sitecore.Forms.Shell.UI.FormDesigner.OnLoad(EventArgs e) +129

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +122
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +417
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35
Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Object[] parameters) +37
Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +428
System.Web.UI.Control.LoadRecursive() +116
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2718