[
https://issues.apache.org/jira/browse/GEODE-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740794#comment-16740794
]
ASF subversion and git services commented on GEODE-5962:
--------------------------------------------------------
Commit 8be03f13b37d17c7b59e33d255b8144ead5db45f in geode-native's branch
refs/heads/develop from Michael Martell
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=8be03f1 ]
GEODE-5962: Fix putAll crash with null values (#408)
- Add nullValue test
- Update the test to catch the cache server exception.
- Add TcrMessage:: scope to PUT_DATA_ERROR
- Replace try/catch in test with EXPECT_THROW
Co-authored-by: Mike Martell <[email protected]>
Co-authored-by: Blake Bender <[email protected]>
Co-authored-by: Michael Oleske <[email protected]>
> region.putAll crashes if the map has a key with value nullptr
> -------------------------------------------------------------
>
> Key: GEODE-5962
> URL: https://issues.apache.org/jira/browse/GEODE-5962
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Sai Boorlagadda
> Priority: Major
>
> region.put guards against null key and values and throws an exception to the
> user, whereas region.putAll crashes with a message and the reason behind it
> processChunk is not handling message error type PUT_DATA_ERROR.
> {{terminating with uncaught exception of type
> apache::geode::client::MessageException: TcrMessage::processChunk: got
> unhandled message type}}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)