update to mongo-java-driver to 2.12.0
fix NPE
Merge branch 'update-mongo-driver'