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

com.mongodb.MongoException: HostUnreachable	at com.mongodb.QueryResultIterator.throwOnQueryFailure(QueryResultIterator.java:246)	at com.mongodb.QueryResultIterator.init(QueryResultIterator.java:224)	at com.mongodb.QueryResultIterator.initFromQueryResponse(QueryResultIterator.java:184)	at com.mongodb.QueryResultIterator.(QueryResultIterator.java:62)	at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:88)	at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:68)	at com.mongodb.DBCursor._check(DBCursor.java:498)	at com.mongodb.DBCursor._hasNext(DBCursor.java:621)	at com.mongodb.DBCursor.hasNext(DBCursor.java:657)	at com.xgen.svc.core.dao.system.AppPropertyDao.getValues(AppPropertyDao.java:38)	at com.xgen.svc.core.AppSettings.getDBProperties(AppSettings.java:296)	at com.xgen.svc.core.AppSettings$DatabasePropertiesRefresher.run(AppSettings.java:273)	at com.xgen.svc.core.AppSettings.refreshDatabaseCache(AppSettings.java:500)	at com.xgen.svc.core.AppSettings.(AppSettings.java:167)	at com.xgen.svc.core.AppSettings.(AppSettings.java:124)	at com.xgen.svc.core.AppSettings$$FastClassByGuice$$577b2d6c.newInstance()	at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)	at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)	at com.mycila.inject.jsr250.Jsr250InjectorImpl.getInstance(Jsr250InjectorImpl.java:123)	at com.xgen.svc.common.migration.MigrationRunner.run(MigrationRunner.java:215)	at com.xgen.svc.common.migration.MigrationRunner.main(MigrationRunner.java:285)