mongoDB errors with 4.4.4

Description

travis uses 4.0.19

 

[java] [script] testRename
[java] [script] Errored: Command failed with error 48: 'target namespace exists' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "target namespace exists", "code" : 48, "codeName" : "NamespaceExists" }
[java] [script] C:\work\lucee6\test\datasource\MongoDB.cfc:325
[java] [script]
[java] [script] lucee.runtime.exp.NativeException: Command failed with error 48: 'target namespace exists' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "target namespace exists", "code" : 48, "codeName" : "NamespaceExists" }
[java] [script] at com.mongodb.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:115)
[java] [script] at com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:114)
[java] [script] at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:168)
[java] [script] at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:289)
[java] [script] at com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:176)
[java] [script] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:216)
[java] [script] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:207)
[java] [script] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:146)
[java] [script] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:139)
[java] [script] at com.mongodb.operation.RenameCollectionOperation$1.call(RenameCollectionOperation.java:124)
[java] [script] at com.mongodb.operation.RenameCollectionOperation$1.call(RenameCollectionOperation.java:121)
[java] [script] at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:422)
[java] [script] at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:413)
[java] [script] at com.mongodb.operation.RenameCollectionOperation.execute(RenameCollectionOperation.java:121)
[java] [script] at com.mongodb.operation.RenameCollectionOperation.execute(RenameCollectionOperation.java:50)
[java] [script] at com.mongodb.Mongo.execute(Mongo.java:845)
[java] [script] at com.mongodb.Mongo$2.execute(Mongo.java:828)
[java] [script] at com.mongodb.DBCollection.rename(DBCollection.java:1032)
[java] [script] at com.mongodb.DBCollection.rename(DBCollection.java:1018)
[java] [script] at org.lucee.mongodb.DBCollectionImpl.call(DBCollectionImpl.java:576)
[java] [script] at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
[java] [script] at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1745)
[java] [script] at datasource.mongodb_cfc$cf.udfCall2(/test/datasource/MongoDB.cfc:325)
[java] [script]
[java] [script]
[java] [script] testMapReduce
[java] [script] Errored: Command failed with error 2: 'sharded field value must be true' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "sharded field value must be true", "code" : 2, "codeName" : "BadValue" }
[java] [script] C:\work\lucee6\test\datasource\MongoDB.cfc:318
[java] [script]
[java] [script] lucee.runtime.exp.NativeException: Command failed with error 2: 'sharded field value must be true' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "sharded field value must be true", "code" : 2, "codeName" : "BadValue" }
[java] [script] at com.mongodb.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:115)
[java] [script] at com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:114)
[java] [script] at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:168)
[java] [script] at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:289)
[java] [script] at com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:176)
[java] [script] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:216)
[java] [script] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:207)
[java] [script] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:146)
[java] [script] at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:139)
[java] [script] at com.mongodb.operation.MapReduceToCollectionOperation$1.call(MapReduceToCollectionOperation.java:513)
[java] [script] at com.mongodb.operation.MapReduceToCollectionOperation$1.call(MapReduceToCollectionOperation.java:509)
[java] [script] at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:422)
[java] [script] at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:413)
[java] [script] at com.mongodb.operation.MapReduceToCollectionOperation.execute(MapReduceToCollectionOperation.java:509)
[java] [script] at com.mongodb.operation.MapReduceToCollectionOperation.execute(MapReduceToCollectionOperation.java:70)
[java] [script] at com.mongodb.Mongo.execute(Mongo.java:845)
[java] [script] at com.mongodb.Mongo$2.execute(Mongo.java:828)
[java] [script] at com.mongodb.DBCollection.mapReduce(DBCollection.java:1320)
[java] [script] at com.mongodb.DBCollection.mapReduce(DBCollection.java:1208)
[java] [script] at org.lucee.mongodb.DBCollectionImpl.call(DBCollectionImpl.java:556)
[java] [script] at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
[java] [script] at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1745)
[java] [script] at datasource.mongodb_cfc$cf.udfCall2(/test/datasource/MongoDB.cfc:318)

Environment

jdk 11, win10

Activity

Show:

Zac Spitzer 9 April 2021 at 15:56

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 8 April 2021 at 17:50
Updated 9 April 2021 at 15:56

Flag notifications