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

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

Jordan Zimmerman created CURATOR-575:
----------------------------------------

             Summary: 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
             Fix For: 5.1.0


There is a race in TestingServer that is identified in ZOOKEEPER-803. 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)