When I enable client side compression, either zlib or snappy, I get tons of NullPointerExceptions thrown:
[java] java.lang.NullPointerException [java] at com.mongodb.connection.ProtocolHelper.sendCommandStartedEvent(ProtocolHelper.java:253) [java] at com.mongodb.connection.InternalStreamConnection$CommandEventSender.sendStartedEvent(InternalStreamConnection.java:684) [java] at com.mongodb.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:245) [java] at com.mongodb.connection.UsageTrackingInternalConnection.sendAndReceive(UsageTrackingInternalConnection.java:98) [java] at com.mongodb.connection.DefaultConnectionPool$PooledConnection.sendAndReceive(DefaultConnectionPool.java:441) [java] at com.mongodb.connection.CommandProtocolImpl.execute(CommandProtocolImpl.java:76) [java] at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:189) [java] at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:263) [java] at com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:126) [java] at com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:118) [java] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:226) [java] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:217) [java] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:154) [java] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:147) [java] at com.mongodb.operation.CreateIndexesOperation$1.call(CreateIndexesOperation.java:173) [java] at com.mongodb.operation.CreateIndexesOperation$1.call(CreateIndexesOperation.java:168) [java] at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:461) [java] at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:423) [java] at com.mongodb.operation.CreateIndexesOperation.execute(CreateIndexesOperation.java:168) [java] at com.mongodb.operation.CreateIndexesOperation.execute(CreateIndexesOperation.java:69) [java] at com.mongodb.Mongo$3.execute(Mongo.java:833) [java] at com.mongodb.Mongo$3.execute(Mongo.java:814) [java] at com.mongodb.DBCollection.createIndex(DBCollection.java:1623) [java] at com.mongodb.DBCollection.createIndex(DBCollection.java:1608) ....