You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2020/04/03 11:20:07 UTC
[GitHub] [ignite] ptupitsyn opened a new pull request #7621: IGNITE-12860
.NET: Fix NRE in BinaryStructure.GetFieldId
ptupitsyn opened a new pull request #7621: IGNITE-12860 .NET: Fix NRE in BinaryStructure.GetFieldId
URL: https://github.com/apache/ignite/pull/7621
* Fix NullReferenceException in BinaryStructure.GetFieldId
* Remove dead code
NRE was caused by empty (default) BinaryStructureEntry caused by replacing longer structure path with shorter one, then again using a longer path. This can be caused by the following behavior of `IBinarizable.WriteBinary`:
* First write: fields "Bar", "Foo"
* Second write: fields "Foo"
* Third write: fields "Foo", "Bar"
Third write yields structure path from second write, but second entry there is empty.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [ignite] ptupitsyn merged pull request #7621: IGNITE-12860 .NET:
Fix NRE in BinaryStructure.GetFieldId
Posted by GitBox <gi...@apache.org>.
ptupitsyn merged pull request #7621: IGNITE-12860 .NET: Fix NRE in BinaryStructure.GetFieldId
URL: https://github.com/apache/ignite/pull/7621
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services