EditForm Cannot Open on Item Created via Workflow

Forums Dynamic Forms for SharePoint EditForm Cannot Open on Item Created via Workflow

Viewing 1 reply thread
  • Author
    Posts
    • #13875
      Celeste Garcia
      Participant

      I have a workflow that creates a copy of a list item. For items created via that workflow, I can open DispForm, but when I try to edit, I get the null value error below. The workflow sets all required fields, so I don’t know how to identify the missing value. Please help!

      Server Error in ‘/’ Application.
      ——————————————————————————–

      Value cannot be null.
      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.

      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.]
      Microsoft.SharePoint.Utilities.SPUtility.GetProviderName(String fullName) +152
      Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.IsEncodedClaim(String value) +26
      Microsoft.SharePoint.WebControls.PickerEntity.get_Claim() +32

      [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) +229
      System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +211
      System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeCustomObject(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +749
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember) +2043
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember) +166
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeEnumerable(IEnumerable enumerable, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +249
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember) +1993
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember) +166
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeDictionary(IDictionary o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +749
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember) +1925
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember) +166
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeDictionary(IDictionary o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +749
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember) +1925
      System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember) +166
      System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, StringBuilder output, SerializationFormat serializationFormat) +52
      Microsoft.SharePoint.WebControls.ClientFormManager.OnPreRender(EventArgs e) +273
      System.Web.UI.Control.PreRenderRecursiveInternal() +155
      System.Web.UI.Control.PreRenderRecursiveInternal() +240
      System.Web.UI.Control.PreRenderRecursiveInternal() +240
      System.Web.UI.Control.PreRenderRecursiveInternal() +240
      System.Web.UI.Control.PreRenderRecursiveInternal() +240
      System.Web.UI.Control.PreRenderRecursiveInternal() +240
      System.Web.UI.Control.PreRenderRecursiveInternal() +240
      System.Web.UI.Control.PreRenderRecursiveInternal() +240
      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4106

      ——————————————————————————–
      Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34274

    • #13897
      Alexander Bautz
      Keymaster

      Hi,
      I have not seen this error before, but it looks like it is related to a people picker field. You need to verify that you have set any people picker fields correctly in the WF.

      Sorry I cannot be of more help.

      Alexander

Viewing 1 reply thread
  • You must be logged in to reply to this topic.