You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a new variant of #687 where the Distributed cache crashes again but this time with a different exception:
Could not create an instance of type Umbraco.Forms.Core.Interfaces.IWorkflow. Type is an interface or abstract class and cannot be instantiated. Path '[0].Workflow.id'
I see this in version 9.2.1 which fixed another Distributed Cache exception (#687).
Specifics
Full stack trace (except actual JSON data of our forms):
[09:19:26 ERR] DISTRIBUTED CACHE IS NOT UPDATED. Failed to execute instructions (147: '<JSON_BLOB>'). Instruction is being skipped/ignored
Newtonsoft.Json.JsonSerializationException: Could not create an instance of type Umbraco.Forms.Core.Interfaces.IWorkflow. Type is an interface or abstract class and cannot be instantiated. Path '[0].Workflow.id', line 1, position 19.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Umbraco.Cms.Core.Cache.PayloadCacheRefresherBase`2.Refresh(String json)
at Umbraco.Forms.Core.Cache.WorkflowCacheRefresher.Refresh(String jsonPayload)
at Umbraco.Cms.Core.Services.Implement.CacheInstructionService.NotifyRefreshers(CacheRefresherCollection cacheRefreshers, IEnumerable`1 instructions, HashSet`1 processed, CancellationToken cancellationToken)
at Umbraco.Cms.Core.Services.Implement.CacheInstructionService.ProcessDatabaseInstructions(CacheRefresherCollection cacheRefreshers, IReadOnlyCollection`1 instructionBatch, CacheInstruction instruction, HashSet`1 processed, CancellationToken cancellationToken, Int32& lastId)
[09:19:26 INF] The current batch of instructions was not processed, app is shutting down
Steps to reproduce
It seems to crash on deserializing workflows so presumably to reproduce it's simply this:
Create a Form with a Workflow.
Save your form.
Expected result
Distributed cache is updated without problems.
Actual result
Distributed cache throws an exception
The text was updated successfully, but these errors were encountered:
This is a new variant of #687 where the Distributed cache crashes again but this time with a different exception:
Could not create an instance of type Umbraco.Forms.Core.Interfaces.IWorkflow.
Type is an interface or abstract class and cannot be instantiated.
Path '[0].Workflow.id'
Full stack trace available in Specifics.
I see this in version 9.2.1 which fixed another Distributed Cache exception (#687).
Specifics
Full stack trace (except actual JSON data of our forms):
Steps to reproduce
It seems to crash on deserializing workflows so presumably to reproduce it's simply this:
Expected result
Distributed cache is updated without problems.
Actual result
Distributed cache throws an exception
The text was updated successfully, but these errors were encountered: