com.mongodb.MongoException: HostUnreachable

Stack Overflow | j9dy | 2 months ago
  1. 0

    Lots of index failures throws error in Web UI

    GitHub | 3 years ago | jaxxstorm
    com.mongodb.MongoException: too much data for sort() with no index. add an index or specify a smaller limit
  2. 0

    $all ArrayList problem with version 0.3-early-20121119-1140

    GitHub | 4 years ago | ihr
    com.mongodb.MongoException: $all requires array
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GeoSpatial Near Criteria Not working with radius [moved]

    GitHub | 4 years ago | jyemin
    com.mongodb.MongoException: invalid operator: $sphere
  5. 0

    Response Not Received When There's a MongoException

    GitHub | 3 years ago | erturne
    com.mongodb.MongoException: not talking to master and retries used up

  1. sriharshakiran 2 times, last 7 months ago
5 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.MongoException

    HostUnreachable

    at com.mongodb.QueryResultIterator.throwOnQueryFailure()
  2. MongoDB Java Driver
    DBCursor.hasNext
    1. com.mongodb.QueryResultIterator.throwOnQueryFailure(QueryResultIterator.java:246)[mongo-java-driver-2.14.2.jar:na]
    2. com.mongodb.QueryResultIterator.init(QueryResultIterator.java:224)[mongo-java-driver-2.14.2.jar:na]
    3. com.mongodb.QueryResultIterator.initFromQueryResponse(QueryResultIterator.java:184)[mongo-java-driver-2.14.2.jar:na]
    4. com.mongodb.QueryResultIterator.<init>(QueryResultIterator.java:62)[mongo-java-driver-2.14.2.jar:na]
    5. com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:88)[mongo-java-driver-2.14.2.jar:na]
    6. com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:68)[mongo-java-driver-2.14.2.jar:na]
    7. com.mongodb.DBCursor._check(DBCursor.java:498)[mongo-java-driver-2.14.2.jar:na]
    8. com.mongodb.DBCursor._hasNext(DBCursor.java:621)[mongo-java-driver-2.14.2.jar:na]
    9. com.mongodb.DBCursor.hasNext(DBCursor.java:657)[mongo-java-driver-2.14.2.jar:na]
    9 frames
  3. com.xgen.svc
    AppSettings$$FastClassByGuice$$577b2d6c.newInstance
    1. com.xgen.svc.core.dao.system.AppPropertyDao.getValues(AppPropertyDao.java:38)[mms.jar:2.0.6.363]
    2. com.xgen.svc.core.AppSettings.getDBProperties(AppSettings.java:296)[mms.jar:2.0.6.363]
    3. com.xgen.svc.core.AppSettings$DatabasePropertiesRefresher.run(AppSettings.java:273)[mms.jar:2.0.6.363]
    4. com.xgen.svc.core.AppSettings.refreshDatabaseCache(AppSettings.java:500)[mms.jar:2.0.6.363]
    5. com.xgen.svc.core.AppSettings.<init>(AppSettings.java:167)[mms.jar:2.0.6.363]
    6. com.xgen.svc.core.AppSettings.<init>(AppSettings.java:124)[mms.jar:2.0.6.363]
    7. com.xgen.svc.core.AppSettings$$FastClassByGuice$$577b2d6c.newInstance(<generated>)[guice-4.0.jar:2.0.6.363]
    7 frames
  4. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)[guice-4.0.jar:na]
    2. com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)[guice-4.0.jar:na]
    3. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)[guice-4.0.jar:na]
    4. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)[guice-4.0.jar:na]
    5. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)[guice-4.0.jar:na]
    6. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[guice-4.0.jar:na]
    7. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)[guice-4.0.jar:na]
    8. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[guice-4.0.jar:na]
    9. com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)[guice-4.0.jar:na]
    10. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[guice-4.0.jar:na]
    11. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)[guice-4.0.jar:na]
    12. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)[guice-4.0.jar:na]
    13. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)[guice-4.0.jar:na]
    14. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)[guice-4.0.jar:na]
    14 frames
  5. com.mycila.inject
    Jsr250InjectorImpl.getInstance
    1. com.mycila.inject.jsr250.Jsr250InjectorImpl.getInstance(Jsr250InjectorImpl.java:123)[mycila-guice-2.10.ga.jar:na]
    1 frame
  6. com.xgen.svc
    MigrationRunner.main
    1. com.xgen.svc.common.migration.MigrationRunner.run(MigrationRunner.java:215)[mms.jar:2.0.6.363]
    2. com.xgen.svc.common.migration.MigrationRunner.main(MigrationRunner.java:285)[mms.jar:2.0.6.363]
    2 frames