[ 
https://issues.apache.org/jira/browse/GEODE-7418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006206#comment-17006206
 ] 

ASF subversion and git services commented on GEODE-7418:
--------------------------------------------------------

Commit 5d012199055a9a7657563727f6e26a406b287fc3 in geode-native's branch 
refs/heads/master from Jacob Barrett
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=5d01219 ]

GEODE-7418: Fixes issue deserializing unregistered PDX types. (#546)

* GEODE-7418: Fixes issue deserializing unregistered PDX types.
* If a PDX type does not have a domain class or registered serializer then
we now fall back to PdxInstance objects.
* Add test case to reproduce crash deserializing JSON values
* Add test case for serializing non-PDX types
* Test macro cleanup - Fixes test macros to properly handle ;


(cherry picked from commit c932a1d765809dcd8d7a0c0f14a3aa6c98e18a5c)


> Crash in deserialization of JSON Pdx value when PdxReadSerialized=false
> -----------------------------------------------------------------------
>
>                 Key: GEODE-7418
>                 URL: https://issues.apache.org/jira/browse/GEODE-7418
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Blake Bender
>            Priority: Major
>             Fix For: 1.12.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> As a developer, I should be able to put and get JSON Pdx values in a region 
> without any "extra effort" such as registering types or setting 
> PdxReadSerialized to true when creating my cache.  Currently if I do this, 
> put a JSON value into a region, and attempt a get, NC will segfault 
> attempting to create a PdxInstanceImpl.
>  
> Steps to repro:
>  * Build NC from the 
> `*[pdxinstance_json_crash_repro|https://github.com/pdxcodemonkey/geode-native/tree/pdxinstance_json_crash_repro]`*
>  branch of my (pdxcodemonkey) fork
>  * Run NC integration test `PdxInstanceTest.testCreateJsonInstance`
> Expected result:
>  * test passes
> Actual result:
>  * test fails with a segfault in NC
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to