eactivemongo.core.errors.ConnectionNotInitialized: MongoError['Connection is missing metadata (like protocol version, etc.) The connection pool is probably being initialized.']

Google Groups | Ugo Bourdon | 8 months ago
  1. 0

    from reactivemongo 0.11.6 to 0.11.11 (& play 2.3 to play 2.4)

    Google Groups | 8 months ago | Ugo Bourdon
    eactivemongo.core.errors.ConnectionNotInitialized: MongoError['Connection is missing metadata (like protocol version, etc.) The connection pool is probably being initialized.']

    Root Cause Analysis

    1. eactivemongo.core.errors.ConnectionNotInitialized

      MongoError['Connection is missing metadata (like protocol version, etc.) The connection pool is probably being initialized.']

      at reactivemongo.core.errors.ConnectionNotInitialized$.MissingMetadata()
    2. reactivemongo.core.errors
      ConnectionNotInitialized$.MissingMetadata
      1. reactivemongo.core.errors.ConnectionNotInitialized$.MissingMetadata(errors.scala:71)[info]
      1 frame
    3. reactivemongo.api.collections
      GenericCollection$class.insert
      1. reactivemongo.api.collections.GenericCollection$class.insert(genericcollection.scala:364)[info]
      1 frame
    4. reactivemongo.play.json
      JSONCollection.insert
      1. reactivemongo.play.json.collection.JSONCollection.insert(collection.scala:377)[info]
      1 frame
    5. infrastructure.repository.mongodb
      MongoDbCompanyRepositoryTest$$anonfun$1.apply
      1. infrastructure.repository.mongodb.MongoDbCompanyRepository$$anonfun$insert_impl$1.apply(MongoDbCompanyRepository.scala:22)[info]
      2. infrastructure.repository.mongodb.MongoDbCompanyRepository$$anonfun$insert_impl$1.apply(MongoDbCompanyRepository.scala:21)[info]
      3. infrastructure.repository.mongodb.MongoDbCompanyRepositoryTest$$anonfun$1.apply$mcV$sp(MongoDbCompanyRepositoryTest.scala:38)[info]
      4. infrastructure.repository.mongodb.MongoDbCompanyRepositoryTest$$anonfun$1.apply(MongoDbCompanyRepositoryTest.scala:35)[info]
      5. infrastructure.repository.mongodb.MongoDbCompanyRepositoryTest$$anonfun$1.apply(MongoDbCompanyRepositoryTest.scala:35)[info]
      5 frames
    6. scalatest
      OutcomeOf$class.outcomeOf
      1. org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)[info]
      2. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
      2 frames