com.mongodb.MongoCommandException: Command failed with error 15981: 'exception: the $unwind field path must be specified as a string' on server localhost:27017. The full response is { "errmsg" : "exception: the $unwind field path must be specified as a string", "code" : 15981, "ok" : 0.0 }: Command failed with error 15981: 'exception: the $unwind field path must be specified as a string' on server localhost:27017. The full response is { "errmsg" : "exception: the $unwind field path must be specified as a string", "code" : 15981, "ok" : 0.0 }

GitHub | ngtandat | 4 months ago
  1. 0

    GitHub comment 4#236615277

    GitHub | 4 months ago | ngtandat
    com.mongodb.MongoCommandException: Command failed with error 15981: 'exception: the $unwind field path must be specified as a string' on server localhost:27017. The full response is { "errmsg" : "exception: the $unwind field path must be specified as a string", "code" : 15981, "ok" : 0.0 }: Command failed with error 15981: 'exception: the $unwind field path must be specified as a string' on server localhost:27017. The full response is { "errmsg" : "exception: the $unwind field path must be specified as a string", "code" : 15981, "ok" : 0.0 }
  2. 0

    MongoDB Aggregation command to Java code

    Stack Overflow | 2 months ago | radhakrishnan
    com.mongodb.MongoCommandException: Command failed with error 15990: 'exception: this object is already an operator expression, and can't be used as a document expression (at 'then')' on server 192.168.1.127:27017. The full response is { "errmsg" : "exception: this object is already an operator expression, and can't be used as a document expression (at 'then')", "code" : 15990, "ok" : 0.0 }
  3. 0

    GitHub comment 314#184535672

    GitHub | 10 months ago | jimzucker
    com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='db', source='dashboard', password=, mechanismProperties={}}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MongoDB java driver 3.0 can't catch exception when authenticate

    Stack Overflow | 10 months ago | Kyle Luke
    com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='asdasdasdasd', source='cookbook', password=<hidden>, mechanismProperties={}}
  6. 0

    GitHub comment 314#184534266

    GitHub | 10 months ago | manjunath2008
    com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='db', source='dashboard', password=<hidden>, mechanismProperties={}}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mongodb.MongoCommandException

      Command failed with error 15981: 'exception: the $unwind field path must be specified as a string' on server localhost:27017. The full response is { "errmsg" : "exception: the $unwind field path must be specified as a string", "code" : 15981, "ok" : 0.0 }: Command failed with error 15981: 'exception: the $unwind field path must be specified as a string' on server localhost:27017. The full response is { "errmsg" : "exception: the $unwind field path must be specified as a string", "code" : 15981, "ok" : 0.0 }

      at com.mongodb.connection.ProtocolHelper.getCommandFailureException()
    2. MongoDB Java Driver
      AggregateIterableImpl.iterator
      1. com.mongodb.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:86)
      2. com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:120)
      3. com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:159)
      4. com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:286)
      5. com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:173)
      6. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:215)
      7. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:206)
      8. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:112)
      9. com.mongodb.operation.AggregateOperation$1.call(AggregateOperation.java:227)
      10. com.mongodb.operation.AggregateOperation$1.call(AggregateOperation.java:223)
      11. com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:239)
      12. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:212)
      13. com.mongodb.operation.AggregateOperation.execute(AggregateOperation.java:223)
      14. com.mongodb.operation.AggregateOperation.execute(AggregateOperation.java:65)
      15. com.mongodb.Mongo.execute(Mongo.java:772)
      16. com.mongodb.Mongo$2.execute(Mongo.java:759)
      17. com.mongodb.OperationIterable.iterator(OperationIterable.java:47)
      18. com.mongodb.AggregateIterableImpl.iterator(AggregateIterableImpl.java:102)
      19. com.mongodb.AggregateIterableImpl.iterator(AggregateIterableImpl.java:40)
      19 frames
    3. Java RT
      Iterable.forEach
      1. java.lang.Iterable.forEach(Iterable.java:74)
      1 frame
    4. ru.qatools.selenograph
      QuotaSummaryClientNotifier.sendUpdatesToClient
      1. ru.qatools.selenograph.ext.SelenographDB.sessionsByUserCount(SelenographDB.java:163)
      2. ru.qatools.selenograph.ext.SelenographDB.getQuotasSummary(SelenographDB.java:119)
      3. ru.qatools.selenograph.gridrouter.QuotaSummaryClientNotifier.sendUpdatesToClient(QuotaSummaryClientNotifier.java:29)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor58.invoke(null)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    6. ru.yandex.qatools
      QuartzAggregatorSchedulerBuilder$ScheduledJob.execute
      1. ru.yandex.qatools.camelot.common.PluginAnnotatedMethodInvoker.invoke(PluginAnnotatedMethodInvoker.java:71)
      2. ru.yandex.qatools.camelot.common.builders.QuartzAggregatorSchedulerBuilder.invokeJob(QuartzAggregatorSchedulerBuilder.java:175)
      3. ru.yandex.qatools.camelot.common.builders.QuartzAggregatorSchedulerBuilder$ScheduledJob.execute(QuartzAggregatorSchedulerBuilder.java:216)
      3 frames
    7. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:223)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      2 frames