You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2020/04/03 13:01:00 UTC
[jira] [Updated] (IGNITE-12860) .NET: NullReferenceException when
serializing fields of the same type in different order
[ https://issues.apache.org/jira/browse/IGNITE-12860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-12860:
------------------------------------
Fix Version/s: 2.8.1
> .NET: NullReferenceException when serializing fields of the same type in different order
> ----------------------------------------------------------------------------------------
>
> Key: IGNITE-12860
> URL: https://issues.apache.org/jira/browse/IGNITE-12860
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 2.8
> Reporter: Alexey Kukushkin
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: .NET, sbcf
> Fix For: 2.9, 2.8.1
>
> Attachments: ignite-12860-vs-2.8.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> .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 }}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)