com.mongodb.MongoTimeoutException: Timeout waiting for a pooled item after 2000 MILLISECONDS

Google Groups | Arun Ramaswamy | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Timeout waiting for a pooled item after 2000 MILLISECONDS

    Google Groups | 9 months ago | Saurabh Sonawane
    com.mongodb.MongoTimeoutException: Timeout waiting for a pooled item after 2000 MILLISECONDS
  2. 0

    Mongo Driver issue

    Google Groups | 8 months ago | Arun Ramaswamy
    com.mongodb.MongoTimeoutException: Timeout waiting for a pooled item after 2000 MILLISECONDS
  3. 0

    Spring MongoTemplate : Timeout waiting for a pooled item after 2000 MILLISECONDS

    Stack Overflow | 9 months ago | Saurabh Sonawane
    org.springframework.dao.DataAccessResourceFailureException: Timeout waiting for a pooled item after 2000 MILLISECONDS; nested exception is com.mongodb.MongoTimeoutException: Timeout waiting for a pooled item after 2000 MILLISECONDS
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 10000 ms

    GitHub | 2 years ago | charyorde
    com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 10000 ms
  6. 0

    How to insert into MongoDB from actor using Casbah?

    Stack Overflow | 2 years ago | Srini K
    com.mongodb.MongoTimeoutException: Timed out after 10000 ms while waiting for a server that matches AnyServerSelector{}. Client view of cluster state is {type=Unknown, servers=[{address=localhost:27017, type=Unknown, state=Connecting, exception={java.lang.NullPointerException}}]

  1. Dunmer 1 times, last 6 days ago
  2. Srinath Sri 1 times, last 1 year ago
4 unregistered visitors
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.MongoTimeoutException

    Timeout waiting for a pooled item after 2000 MILLISECONDS

    at com.mongodb.ConcurrentPool.get()
  2. MongoDB Java Driver
    DBCollection.insert
    1. com.mongodb.ConcurrentPool.get(ConcurrentPool.java:113)
    2. com.mongodb.PooledConnectionProvider.get(PooledConnectionProvider.java:75)
    3. com.mongodb.DefaultServer.getConnection(DefaultServer.java:60)
    4. com.mongodb.BaseCluster$WrappedServer.getConnection(BaseCluster.java:216)
    5. com.mongodb.DBTCPConnector$MyPort.getConnection(DBTCPConnector.java:503)
    6. com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:451)
    7. com.mongodb.DBTCPConnector.getPrimaryPort(DBTCPConnector.java:409)
    8. com.mongodb.DBCollectionImpl.insert(DBCollectionImpl.java:182)
    9. com.mongodb.DBCollectionImpl.insert(DBCollectionImpl.java:165)
    10. com.mongodb.DBCollection.insert(DBCollection.java:93)
    11. com.mongodb.DBCollection.insert(DBCollection.java:78)
    12. com.mongodb.DBCollection.insert(DBCollection.java:120)
    12 frames
  3. Spring Data MongoDB - Core
    MongoTemplate.insert
    1. org.springframework.data.mongodb.core.MongoTemplate$8.doInCollection(MongoTemplate.java:900)
    2. org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:410)
    3. org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:71)
    4. org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:1918)
    5. org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:412)
    6. org.springframework.data.mongodb.core.MongoTemplate.insertDBObject(MongoTemplate.java:895)
    7. org.springframework.data.mongodb.core.MongoTemplate.doInsert(MongoTemplate.java:717)
    8. org.springframework.data.mongodb.core.MongoTemplate.insert(MongoTemplate.java:672)
    9. org.springframework.data.mongodb.core.MongoTemplate.insert(MongoTemplate.java:663)
    9 frames