You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Enrico Olivelli (Jira)" <ji...@apache.org> on 2020/06/25 06:48:00 UTC

[jira] [Resolved] (CURATOR-575) TestingServer shut down can cause NullPointerException

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

Enrico Olivelli resolved CURATOR-575.
-------------------------------------
    Resolution: Fixed

committed to master branch

thank you [~randgalt]

> TestingServer shut down can cause NullPointerException
> ------------------------------------------------------
>
>                 Key: CURATOR-575
>                 URL: https://issues.apache.org/jira/browse/CURATOR-575
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 5.0.0
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>             Fix For: 5.1.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> There is a race in TestingServer that is identified in ZOOKEEPER-3803. The {{FileTxnSnapLog}} is closed in a different thread than the {{ZooKeeperServer}} is shutdown in. It can cause a {{NullPointerException}}. This doesn't hurt any behavior but's an irritant and could potentially cause problems later. It should be fixed.



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