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

2020-03-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on NIFI-7279:
---

Commit 975f2bdc4faabadec75e75079e6e458ef4fcc261 in nifi's branch 
refs/heads/master from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=975f2bd ]

NIFI-7279 This closes #4160. Protect against NPE in 
RedisDistributedMapCacheClientService when value is null

Signed-off-by: Joe Witt 


> 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
>Assignee: Bryan Bende
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)


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

2020-03-25 Thread Scott Giles (Jira)


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

Scott Giles commented on NIFI-7279:
---

I don't have access to a development computer right now.  I'm basically stuck 
with a tablet.

> 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
>Priority: Major
>
> 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)


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

2020-03-25 Thread Pierre Villard (Jira)


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

Pierre Villard commented on NIFI-7279:
--

Hi [~ScottGiles62] - thanks for reporting this! Do you want to open a pull 
request with your suggested fix?

> 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
>Priority: Major
>
> 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)