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

Spring JIRA | Sid | 5 years ago
  1. 0

    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 common frames omitted

    Spring JIRA | 5 years ago | Sid
    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
  2. 0

    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 common frames omitted

    Spring JIRA | 5 years ago | Sid
    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
  3. 0

    Handle mongodb connection issues on startup

    Stack Overflow | 4 years ago | TheZuck
    com.mongodb.MongoException$Network: can't call something : /127.0.0.1:27017/myservice_db
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    can't say something com.mongodb.MongoException$Network: can't say something at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:159) at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:132) at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:262) at com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:354) at com.mongodb.DBCollection.ensureIndex(DBCollection.java:444) at com.mongodb.DBCollection.ensureIndex(DBCollection.java:392) at com.atlassian.marketplace.mapreduce.package$$anonfun$index$1.apply(package.scala:7) at com.atlassian.marketplace.mapreduce.package$$anonfun$index$1.apply(package.scala:7) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34) at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:33) at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) at scala.collection.mutable.WrappedArray.map(WrappedArray.scala:33) at com.atlassian.marketplace.mapreduce.package$.index(package.scala:7) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao.<init>(MapReduce.scala:129) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao$.apply(MapReduce.scala:123) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao$.get(MapReduce.scala:120) at com.atlassian.marketplace.model.service.PluginService$$anonfun$findLabeledPluginsForApplication$1.apply(PluginService.scala:137) at com.atlassian.marketplace.model.service.PluginService$$anonfun$findLabeledPluginsForApplication$1.apply(PluginService.scala:128) at scala.Option.map(Option.scala:133) at com.atlassian.marketplace.model.service.PluginService$.findLabeledPluginsForApplication(PluginService.scala:128) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet$$anonfun$13.apply(LegacyRestServlet.scala:122) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet$$anonfun$13.apply(LegacyRestServlet.scala:119) at org.scalatra.ScalatraKernel$$anonfun$invoke$1.apply(ScalatraKernel.scala:211) at org.scalatra.ScalatraKernel$$anonfun$invoke$1.apply(ScalatraKernel.scala:210) at org.scalatra.ScalatraKernel$class.withRouteMultiParams(ScalatraKernel.scala:270) at org.scalatra.ScalatraServlet.withRouteMultiParams(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$class.invoke(ScalatraKernel.scala:209) at org.scalatra.ScalatraServlet.invoke(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:195) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:194) at scala.Option.flatMap(Option.scala:146) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:194) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:193) at scala.collection.immutable.Stream.flatMap(Stream.scala:213) at org.scalatra.ScalatraKernel$class.runRoutes(ScalatraKernel.scala:193) at org.scalatra.ScalatraServlet.runRoutes(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$class.executeRoutes(ScalatraKernel.scala:164) at org.scalatra.ScalatraServlet.executeRoutes(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ScalatraKernel.scala:138) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply$mcV$sp(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) at org.scalatra.ScalatraKernel$class.handle(ScalatraKernel.scala:135) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet.org$scalatra$scalate$ScalateSupport$$super$handle(LegacyRestServlet.scala:25) at org.scalatra.scalate.ScalateSupport$class.handle(ScalateSupport.scala:120) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet.handle(LegacyRestServlet.scala:25) at org.scalatra.ScalatraServlet.service(ScalatraServlet.scala:31) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:342) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) java.io.EOFException at org.bson.io.Bits.readFully(Bits.java:37) at org.bson.io.Bits.readFully(Bits.java:28) at com.mongodb.Response.<init>(Response.java:39) at com.mongodb.DBPort.go(DBPort.java:123) at com.mongodb.DBPort.go(DBPort.java:82) at com.mongodb.DBPort.findOne(DBPort.java:142) at com.mongodb.DBPort.runCommand(DBPort.java:151) at com.mongodb.DBTCPConnector._checkWriteError(DBTCPConnector.java:121) at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:148) at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:132) at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:262) at com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:354) at com.mongodb.DBCollection.ensureIndex(DBCollection.java:444) at com.mongodb.DBCollection.ensureIndex(DBCollection.java:392) at com.atlassian.marketplace.mapreduce.package$$anonfun$index$1.apply(package.scala:7) at com.atlassian.marketplace.mapreduce.package$$anonfun$index$1.apply(package.scala:7) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34) at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:33) at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) at scala.collection.mutable.WrappedArray.map(WrappedArray.scala:33) at com.atlassian.marketplace.mapreduce.package$.index(package.scala:7) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao.<init>(MapReduce.scala:129) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao$.apply(MapReduce.scala:123) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao$.get(MapReduce.scala:120) at com.atlassian.marketplace.model.service.PluginService$$anonfun$findLabeledPluginsForApplication$1.apply(PluginService.scala:137) at com.atlassian.marketplace.model.service.PluginService$$anonfun$findLabeledPluginsForApplication$1.apply(PluginService.scala:128) at scala.Option.map(Option.scala:133) at com.atlassian.marketplace.model.service.PluginService$.findLabeledPluginsForApplication(PluginService.scala:128) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet$$anonfun$13.apply(LegacyRestServlet.scala:122) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet$$anonfun$13.apply(LegacyRestServlet.scala:119) at org.scalatra.ScalatraKernel$$anonfun$invoke$1.apply(ScalatraKernel.scala:211) at org.scalatra.ScalatraKernel$$anonfun$invoke$1.apply(ScalatraKernel.scala:210) at org.scalatra.ScalatraKernel$class.withRouteMultiParams(ScalatraKernel.scala:270) at org.scalatra.ScalatraServlet.withRouteMultiParams(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$class.invoke(ScalatraKernel.scala:209) at org.scalatra.ScalatraServlet.invoke(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:195) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:194) at scala.Option.flatMap(Option.scala:146) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:194) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:193) at scala.collection.immutable.Stream.flatMap(Stream.scala:213) at org.scalatra.ScalatraKernel$class.runRoutes(ScalatraKernel.scala:193) at org.scalatra.ScalatraServlet.runRoutes(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$class.executeRoutes(ScalatraKernel.scala:164) at org.scalatra.ScalatraServlet.executeRoutes(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ScalatraKernel.scala:138) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply$mcV$sp(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) at org.scalatra.ScalatraKernel$class.handle(ScalatraKernel.scala:135) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet.org$scalatra$scalate$ScalateSupport$$super$handle(LegacyRestServlet.scala:25) at org.scalatra.scalate.ScalateSupport$class.handle(ScalateSupport.scala:120) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet.handle(LegacyRestServlet.scala:25) at org.scalatra.ScalatraServlet.service(ScalatraServlet.scala:31) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:342) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680)

    Ecosystem JIRA | 5 years ago | Stacey Shkuratoff
    com.mongodb.MongoException$Network: can't say something
  6. 0

    Docker MongoDB error : Can't call something

    Stack Overflow | 2 years ago | KarthikJ
    com.mongodb.MongoException$Network: can't call something : /1.2.3.4:27017/admin

    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$Network

      can't call something : IND-SSHARMA/10.40.8.27:27017/Saba

      at com.mongodb.DBTCPConnector.call()
    2. MongoDB Java Driver
      DBCollection.ensureIndex
      1. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:227)[sabares.jar:3.0.6.RELEASE]
      2. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:305)[sabares.jar:3.0.6.RELEASE]
      3. com.mongodb.DBCollection.findOne(DBCollection.java:647)[sabares.jar:3.0.6.RELEASE]
      4. com.mongodb.DBCollection.findOne(DBCollection.java:626)[sabares.jar:3.0.6.RELEASE]
      5. com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:364)[sabares.jar:3.0.6.RELEASE]
      6. com.mongodb.DBCollection.createIndex(DBCollection.java:436)[sabares.jar:3.0.6.RELEASE]
      7. com.mongodb.DBCollection.ensureIndex(DBCollection.java:515)[sabares.jar:3.0.6.RELEASE]
      7 frames
    3. Spring Data MongoDB - Core
      MongoPersistentEntityIndexCreator.onApplicationEvent
      1. org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.ensureIndex(MongoPersistentEntityIndexCreator.java:172)[sabaspringmongo.jar:3.0.6.RELEASE]
      2. org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.checkForIndexes(MongoPersistentEntityIndexCreator.java:104)[sabaspringmongo.jar:3.0.6.RELEASE]
      3. org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.onApplicationEvent(MongoPersistentEntityIndexCreator.java:85)[sabaspringmongo.jar:3.0.6.RELEASE]
      4. org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.onApplicationEvent(MongoPersistentEntityIndexCreator.java:48)[sabaspringmongo.jar:3.0.6.RELEASE]
      4 frames
    4. Spring Context
      AbstractApplicationContext.publishEvent
      1. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[sabaspring.jar:3.0.0.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)[sabaspring.jar:3.0.0.RELEASE]
      2 frames
    5. Spring Data Core
      AbstractMappingContext$PersistentPropertyCreator.doWith
      1. org.springframework.data.mapping.context.AbstractMappingContext.addPersistentEntity(AbstractMappingContext.java:263)[sabaspringmongo.jar:3.0.6.RELEASE]
      2. org.springframework.data.mapping.context.AbstractMappingContext$PersistentPropertyCreator.doWith(AbstractMappingContext.java:364)[sabaspringmongo.jar:3.0.6.RELEASE]
      2 frames
    6. Spring Core
      ReflectionUtils.doWithFields
      1. org.springframework.util.ReflectionUtils.doWithFields(ReflectionUtils.java:513)[sabaspring.jar:3.0.0.RELEASE]
      1 frame
    7. Spring Data Core
      AbstractMappingContext.getPersistentEntity
      1. org.springframework.data.mapping.context.AbstractMappingContext.addPersistentEntity(AbstractMappingContext.java:247)[sabaspringmongo.jar:3.0.6.RELEASE]
      2. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:165)[sabaspringmongo.jar:3.0.6.RELEASE]
      3. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:140)[sabaspringmongo.jar:3.0.6.RELEASE]
      4. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:65)[sabaspringmongo.jar:3.0.6.RELEASE]
      4 frames
    8. Spring Data MongoDB - Core
      MongoRepositoryFactory.getTargetRepository
      1. org.springframework.data.mongodb.repository.support.DefaultEntityInformationCreator.getEntityInformation(DefaultEntityInformationCreator.java:59)[sabaspringmongo.jar:3.0.6.RELEASE]
      2. org.springframework.data.mongodb.repository.support.DefaultEntityInformationCreator.getEntityInformation(DefaultEntityInformationCreator.java:48)[sabaspringmongo.jar:3.0.6.RELEASE]
      3. org.springframework.data.mongodb.repository.support.MongoRepositoryFactory.getEntityInformation(MongoRepositoryFactory.java:140)[sabaspringmongo.jar:3.0.6.RELEASE]
      4. org.springframework.data.mongodb.repository.support.MongoRepositoryFactory.getTargetRepository(MongoRepositoryFactory.java:84)[sabaspringmongo.jar:3.0.6.RELEASE]
      4 frames
    9. Spring Data Core
      RepositoryFactoryBeanSupport.getObject
      1. org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:131)[sabaspringmongo.jar:3.0.6.RELEASE]
      2. org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:114)[sabaspringmongo.jar:3.0.6.RELEASE]
      3. org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:38)[sabaspringmongo.jar:3.0.6.RELEASE]
      3 frames
    10. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:143)[sabaspring.jar:3.0.0.RELEASE]
      2. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)[sabaspring.jar:3.0.0.RELEASE]
      3. org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1387)[sabaspring.jar:3.0.0.RELEASE]
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)[sabaspring.jar:3.0.0.RELEASE]
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)[sabaspring.jar:3.0.0.RELEASE]
      6. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)[sabaspring.jar:3.0.0.RELEASE]
      6 frames
    11. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)[sabaspring.jar:3.0.0.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)[sabaspring.jar:3.0.0.RELEASE]
      2 frames
    12. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)[sabaspring.jar:3.0.0.RELEASE]
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)[sabaspring.jar:3.0.0.RELEASE]
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[sabaspring.jar:3.0.0.RELEASE]
      3 frames
    13. Glassfish Core
      StandardContext$1.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)[catalina.jar:7.0.22]
      2. org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)[catalina.jar:7.0.22]
      3. org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)[catalina.jar:7.0.22]
      3 frames
    14. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_24]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_24]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_24]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_24]
      5. java.lang.Thread.run(Thread.java:662)[na:1.6.0_24]
      5 frames