K2 workflow deploy error with error message The Property 'Value' cannot be found on PersistableObjec

  • 4 October 2018
  • 2 replies
  • 13 views

Deploy fail with this log message.

 

Fail AEOverlaySalesQuote
1. The Property 'Value' cannot be found on PersistableObjectDictionaryEntry. 2. Cannot add a null entry to the dictionary Parameter name: value System.Reflection.TargetInvocationException: 1. The Property 'Value' cannot be found on PersistableObjectDictionaryEntry.
2. Cannot add a null entry to the dictionary
Parameter name: value ---> System.Exception: 1. The Property 'Value' cannot be found on PersistableObjectDictionaryEntry.
2. Cannot add a null entry to the dictionary
Parameter name: value

at SourceCode.Framework.SerializationInfo2.Load(PersistableObject instance, XmlReader reader)
at SourceCode.Framework.SerializationInfoProvider.Load(PersistableObject instance, XmlReader reader)
at SourceCode.Framework.SerializationInfoProvider.Load(TextReader reader)
at SourceCode.ProjectSystem.ProjectFile.Open(TextReader reader)
at SourceCode.ProjectSystem.ProjectFile.Open(Boolean showDesigner)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.<>c.<DeployWorker>b__10_0(ProjectFile x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.<OfTypeIterator>d__92`1.MoveNext()
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.DeployWorker(Object param)
--- End of inner exception stack trace ---
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.Deploy(String[] parts, String kprojDir, String kprojName, String kprxDir, String kprxName, String targetFramework, IEnumerable`1 refs)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.IsolatedDeploy(Action`1 data, ComplexType ct, IEnumerable`1 refs, ISecurityManager securityManager, IServiceMarshalling serviceMarshalling, IEnvironment environment)
at SourceCode.Runtime.Services.Workflow.WorkflowDeploymentService.Deploy(IDeploymentContext context)
at SourceCode.Deployment.Runtime.ServerSession.AsyncDeploy() 00:00:06.3758676
Total Duration: 00:00:06.3758676


16671i1BA7EC22C9850468.png


2 replies

Userlevel 4
Badge +13

Hi,


 


From what I've found, the error is usually thrown when a new version of a Form is created and the workflow referencing it has not been updated to point to this new version. 


 


Can you try to run through the wizards where a SmartForm is referenced in your workflow and re-deploy to see if that helps resolve the error? 

Userlevel 6
Badge +16

Hi,


 


I have to agree with lkimberly on this. You will have to step through all workfllow steps especially the Approval/client event steps, doing this will re-sync the workflow defintion back to its forms/views. If you are using workflow designer, then I would also make sure the Refresh button is clicked when you go through it.  

Reply