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

John Doe updated HADOOP-19457:
------------------------------
    Description: {{Map}} is accessed with {{get()}} and {{{}remove(){}}}. 
Concurrently executing this twice can cause the removal to make {{get()}} to 
return {{{}null{}}}, leading to {{{}NullPointerException{}}}.  (was: The shared 
resource can be assigned to null, while another member method later 
dereferences it without a null check. This can cause a runtime failure when 
fencing operations are triggered.)

> NullPointerException risk due to map remove
> -------------------------------------------
>
>                 Key: HADOOP-19457
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19457
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.4.1
>            Reporter: John Doe
>            Priority: Major
>
> {{Map}} is accessed with {{get()}} and {{{}remove(){}}}. Concurrently 
> executing this twice can cause the removal to make {{get()}} to return 
> {{{}null{}}}, leading to {{{}NullPointerException{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to