You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Scott Giles (Jira)" <ji...@apache.org> on 2020/03/25 13:58:00 UTC

[jira] [Created] (NIFI-7279) Redis Detect Duplicate Issue

Scott Giles created NIFI-7279:
---------------------------------

             Summary: Redis Detect Duplicate Issue
                 Key: NIFI-7279
                 URL: https://issues.apache.org/jira/browse/NIFI-7279
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.11.4
            Reporter: Scott Giles


When using a DetectDuplicate processor with a RedisDistributedMapCacheClientService cache service, if the Cache Entry Identifier is not in the cache and Cache The Entry Identifier is set to "false", a NullPointerException is thrown rather than the expected non-duplicate relationship.

 

A possible fix would be to change line 202 of java/org/apache/nifi/redis/service/RedisDistributedMapCacheClientService.java to

return (v !=null ? valueDeserializer.deserialize(v) : null);



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