org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'activityFeedRepository': FactoryBean threw exception on object creation; nested exception is com.mongodb.MongoException$Network: can't call something : IND-SSHARMA/10.40.8.27:27017/Saba

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web24

  • via Unknown by Sid,
  • via Unknown by Sid,
  • via Stack Overflow by TheZuck
    ,
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activityFeedRepository': FactoryBean threw exception on object creation; nested exception is com.mongodb.MongoException$Network: can't call something : IND-SSHARMA/10.40.8.27:27017/Saba at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:150)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1387)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[sabaspring.jar:3.0.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)[catalina.jar:7.0.22] at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)[catalina.jar:7.0.22] at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)[catalina.jar:7.0.22] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_24] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_24] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_24] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_24] at java.lang.Thread.run(Thread.java:662)[na:1.6.0_24] Caused by: com.mongodb.MongoException$Network: can't call something : IND-SSHARMA/10.40.8.27:27017/Saba at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:227)[sabares.jar:3.0.6.RELEASE] at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:305)[sabares.jar:3.0.6.RELEASE] at com.mongodb.DBCollection.findOne(DBCollection.java:647)[sabares.jar:3.0.6.RELEASE] at com.mongodb.DBCollection.findOne(DBCollection.java:626)[sabares.jar:3.0.6.RELEASE] at com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:364)[sabares.jar:3.0.6.RELEASE] at com.mongodb.DBCollection.createIndex(DBCollection.java:436)[sabares.jar:3.0.6.RELEASE] at com.mongodb.DBCollection.ensureIndex(DBCollection.java:515)[sabares.jar:3.0.6.RELEASE] at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.ensureIndex(MongoPersistentEntityIndexCreator.java:172)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.checkForIndexes(MongoPersistentEntityIndexCreator.java:104)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.onApplicationEvent(MongoPersistentEntityIndexCreator.java:85)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.onApplicationEvent(MongoPersistentEntityIndexCreator.java:48)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.data.mapping.context.AbstractMappingContext.addPersistentEntity(AbstractMappingContext.java:263)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mapping.context.AbstractMappingContext$PersistentPropertyCreator.doWith(AbstractMappingContext.java:364)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.util.ReflectionUtils.doWithFields(ReflectionUtils.java:513)[sabaspring.jar:3.0.0.RELEASE] at org.springframework.data.mapping.context.AbstractMappingContext.addPersistentEntity(AbstractMappingContext.java:247)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:165)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:140)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:65)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mongodb.repository.support.DefaultEntityInformationCreator.getEntityInformation(DefaultEntityInformationCreator.java:59)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mongodb.repository.support.DefaultEntityInformationCreator.getEntityInformation(DefaultEntityInformationCreator.java:48)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mongodb.repository.support.MongoRepositoryFactory.getEntityInformation(MongoRepositoryFactory.java:140)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.mongodb.repository.support.MongoRepositoryFactory.getTargetRepository(MongoRepositoryFactory.java:84)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:131)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:114)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:38)[sabaspringmongo.jar:3.0.6.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:143)[sabaspring.jar:3.0.0.RELEASE] ... 18 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.