CURATOR-626: Postpone null namespace facade creation to avoid partial initialization (#475)

In construction of `CuratorFrameworkImpl`, it constructs a sub class
`NamespaceFacade` for commonly used `nullNamespace`. Due to this
recursive construction, `nullNamespace` has uninitialized fields which
cause NPT in certain cases.

This commit solves this by postponing `nullNamespace` creation.
7 files changed
tree: 701000e3271e308e5832bc23b7a44272d7a701a7
  1. .github/
  2. .mvn/
  3. curator-client/
  4. curator-examples/
  5. curator-framework/
  6. curator-recipes/
  7. curator-test/
  8. curator-test-zk35/
  9. curator-test-zk36/
  10. curator-x-async/
  11. curator-x-discovery/
  12. curator-x-discovery-server/
  13. src/
  14. .asf.yaml
  15. .gitignore
  16. DEPENDENCIES
  17. doap.rdf
  18. LICENSE
  19. licenserc.toml
  20. merge-pr.py
  21. mvnw
  22. mvnw.cmd
  23. NOTICE
  24. pom.xml
  25. README.md
README.md

Apache Curator

Maven Central Curator Website Stack Overflow Twitter

What is Apache Curator?

Apache Curator is a Java/JVM client library for Apache ZooKeeper, a distributed coordination service.

Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much easier and more reliable. It also includes recipes for common use cases and extensions such as service discovery and a Java 8 asynchronous DSL.

For more details: