[ 
https://issues.apache.org/jira/browse/SAMZA-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shanthoosh Venkataraman updated SAMZA-2173:
-------------------------------------------
    Description: 
Currently the configurations in the coordinator stream are deleted by sending a 
 Delete message with  message-map set as null and type set as `SetConfig.TYPE`. 

To read configuration from the coordinator stream, there should be a check to 
find if a message-map  is null(message has been deleted or not). Otherwise it 
results in a NPE. 

This JIRA fixes it by pushing the isDelete check into the SetConfig accessor 
method and returns null if the configuration CoordinatorMessage has been 
deleted.

> Fix NullPointerException in SetConfig MessageFormat when configurations are 
> deleted.
> ------------------------------------------------------------------------------------
>
>                 Key: SAMZA-2173
>                 URL: https://issues.apache.org/jira/browse/SAMZA-2173
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Shanthoosh Venkataraman
>            Assignee: Shanthoosh Venkataraman
>            Priority: Major
>
> Currently the configurations in the coordinator stream are deleted by sending 
> a  Delete message with  message-map set as null and type set as 
> `SetConfig.TYPE`. 
> To read configuration from the coordinator stream, there should be a check to 
> find if a message-map  is null(message has been deleted or not). Otherwise it 
> results in a NPE. 
> This JIRA fixes it by pushing the isDelete check into the SetConfig accessor 
> method and returns null if the configuration CoordinatorMessage has been 
> deleted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to