Description
.NET NullReferenceException when serializing fields of the same type in different order
Steps to reproduce:
- Implement IBinarizable for a type having multiple fields and randomly select subset of the fields in the IBinarizable.WriteBinary implementation
- Serialize the type multiple times
Actual result:
Eventual NullReferenceException at some iteration of serialization:
Object reference not set to an instance of an object. at Apache.Ignite.Core.Impl.Binary.Structure.BinaryStructure.GetFieldId(String fieldName, Byte fieldType, Int32& pathIdx, Int32 actionIdx) at Apache.Ignite.Core.Impl.Binary.Structure.BinaryStructureTracker.GetFieldId(String fieldName, Byte fieldTypeId) at Apache.Ignite.Core.Impl.Binary.BinaryWriter.WriteFieldId(String fieldName, Byte fieldTypeId) at Apache.Ignite.Core.Impl.Binary.BinaryWriter.WriteInt(String fieldName, Int32 val) at
Attachments
Attachments
Issue Links
- links to