[ https://issues.apache.org/jira/browse/GEODE-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Blake Bender resolved GEODE-2835. --------------------------------- Fix Version/s: 1.13.0 Resolution: Duplicate Resolving as dupe of GEODE-7868, since that's the ticket the fix was checked in against. > Autoboxing unsigned primitives in .NET results in stack overflow. > ----------------------------------------------------------------- > > Key: GEODE-2835 > URL: https://issues.apache.org/jira/browse/GEODE-2835 > Project: Geode > Issue Type: Bug > Components: native client > Reporter: Jacob Barrett > Priority: Major > Fix For: 1.13.0 > > > When using a PdxSerializer, like ReflectionBasedPdxSerializer that writes > unsigned primitive types to fields it results in autoboxing those types and > looping them back to the PdxSerializer. This can result in an infinite > recursion and stack overflow. > {noformat} > Serializer.RegisterPdxSerializer(new ReflectionBasedPdxSerializer()); > region.put("a", new Guid()); > {noformat} > Guid contains several fields, some of which are {{unsigned char}} which > autobox to {{System::Byte}}, this gets forwarded back to the auto pdx > serializer which sees field {{unsigned char m_value}} and autoboxes it again > to {{System::Byte}} and ...... -- This message was sent by Atlassian Jira (v8.3.4#803005)