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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Ugo Bourdon, 10 months ago
MongoError['Connection is missing metadata (like protocol version, etc.) The connection pool is probably being initialized.']
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(errors.scala:71)
at reactivemongo.api.collections.GenericCollection$class.insert(genericcollection.scala:364)
at reactivemongo.play.json.collection.JSONCollection.insert(collection.scala:377)
at infrastructure.repository.mongodb.MongoDbCompanyRepository$$anonfun$insert_impl$1.apply(MongoDbCompanyRepository.scala:22)
at infrastructure.repository.mongodb.MongoDbCompanyRepository$$anonfun$insert_impl$1.apply(MongoDbCompanyRepository.scala:21)
at infrastructure.repository.mongodb.MongoDbCompanyRepositoryTest$$anonfun$1.apply$mcV$sp(MongoDbCompanyRepositoryTest.scala:38)
at infrastructure.repository.mongodb.MongoDbCompanyRepositoryTest$$anonfun$1.apply(MongoDbCompanyRepositoryTest.scala:35)
at infrastructure.repository.mongodb.MongoDbCompanyRepositoryTest$$anonfun$1.apply(MongoDbCompanyRepositoryTest.scala:35)
at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.