-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.4.0-rc1
-
Component/s: Command Operations
-
None
-
Environment:JDK 1.8, Linux, Server is 3.2.4, client is 3.4.0-rc1
```
Caused by: java.lang.NullPointerException
at com.mongodb.connection.ResponseBuffers.getBodyByteBuffer(ResponseBuffers.java:55)
at com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:113)
at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:168)
at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:289)
at com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:176)
at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:216)
at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:207)
at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:146)
at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:139)
at com.mongodb.operation.DropCollectionOperation$1.call(DropCollectionOperation.java:94)
at com.mongodb.operation.DropCollectionOperation$1.call(DropCollectionOperation.java:90)
at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:422)
at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:413)
at com.mongodb.operation.DropCollectionOperation.execute(DropCollectionOperation.java:90)
at com.mongodb.operation.DropCollectionOperation.execute(DropCollectionOperation.java:51)
at com.mongodb.Mongo.execute(Mongo.java:844)
at com.mongodb.Mongo$2.execute(Mongo.java:827)
at com.mongodb.MongoCollectionImpl.drop(MongoCollectionImpl.java:448)
```
- duplicates
-
JAVA-1644 NPE on createIndex when the database name contains a "."
- Closed