org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'chartsBean' defined in URL [jar:file:/opt/seyren/seyren/.extract/webapps/ROOT/WEB-INF/lib/seyren-api-1.4.0.jar!/com/seyren/api/bean/ChartsBean.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.seyren.core.store.ChecksStore]: : Error creating bean with name 'mongoStore' defined in URL [jar:file:/opt/seyren/seyren/.extract/webapps/ROOT/WEB-INF/lib/seyren-mongo-1.4.0.jar!/com/seyren/mongo/MongoStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoStore' defined in URL [jar:file:/opt/seyren/seyren/.extract/webapps/ROOT/WEB-INF/lib/seyren-mongo-1.4.0.jar!/com/seyren/mongo/MongoStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.

GitHub | greenaar | 3 months ago
  1. 0

    GitHub comment 405#243629340

    GitHub | 3 months ago | greenaar
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'chartsBean' defined in URL [jar:file:/opt/seyren/seyren/.extract/webapps/ROOT/WEB-INF/lib/seyren-api-1.4.0.jar!/com/seyren/api/bean/ChartsBean.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.seyren.core.store.ChecksStore]: : Error creating bean with name 'mongoStore' defined in URL [jar:file:/opt/seyren/seyren/.extract/webapps/ROOT/WEB-INF/lib/seyren-mongo-1.4.0.jar!/com/seyren/mongo/MongoStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoStore' defined in URL [jar:file:/opt/seyren/seyren/.extract/webapps/ROOT/WEB-INF/lib/seyren-mongo-1.4.0.jar!/com/seyren/mongo/MongoStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.
  2. 0

    GitHub comment 17#172569668

    GitHub | 11 months ago | sboesebeck
    java.lang.RuntimeException: de.caluga.morphium.driver.MorphiumDriverException: internal error
  3. 0

    GitHub comment 314#184535672

    GitHub | 10 months ago | jimzucker
    com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='db', source='dashboard', password=, mechanismProperties={}}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 17#172484365

    GitHub | 11 months ago | KiranNaikwade
    java.lang.RuntimeException: de.caluga.morphium.driver.MorphiumDriverException: internal error
  6. 0

    GitHub comment 17#172484365

    GitHub | 11 months ago | KiranNaikwade
    java.lang.RuntimeException: de.caluga.morphium.driver.MorphiumDriverException: internal error

    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.MongoCommandException

      Command failed with error -1: 'index not found' on server localhost:27017. The full response is { "errmsg" : "index not found", "ok" : 0.0 }

      at com.mongodb.connection.ProtocolHelper.getCommandFailureException()
    2. MongoDB Java Driver
      DBCollection.dropIndex
      1. com.mongodb.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:115)
      2. com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:114)
      3. com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:159)
      4. com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:286)
      5. com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:173)
      6. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:215)
      7. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:186)
      8. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:160)
      9. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:133)
      10. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:128)
      11. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:118)
      12. com.mongodb.operation.DropIndexOperation.execute(DropIndexOperation.java:69)
      13. com.mongodb.operation.DropIndexOperation.execute(DropIndexOperation.java:40)
      14. com.mongodb.Mongo.execute(Mongo.java:781)
      15. com.mongodb.Mongo$2.execute(Mongo.java:764)
      16. com.mongodb.DBCollection.dropIndex(DBCollection.java:2054)
      17. com.mongodb.DBCollection.dropIndex(DBCollection.java:2043)
      17 frames
    3. com.seyren.mongo
      MongoStore.<init>
      1. com.seyren.mongo.MongoStore.removeOldIndices(MongoStore.java:105)
      2. com.seyren.mongo.MongoStore.bootstrapMongo(MongoStore.java:83)
      3. com.seyren.mongo.MongoStore.<init>(MongoStore.java:73)
      3 frames
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    5. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
      2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
      3. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
      8. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
      9. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      10. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      12. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
      13. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)
      14. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
      15. org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
      16. org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
      17. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
      18. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131)
      19. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034)
      20. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
      21. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
      22. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
      23. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      24. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
      25. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      26. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
      26 frames
    6. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
      2 frames
    7. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
      3 frames
    8. org.jboss.resteasy
      SpringContextLoaderListener.contextInitialized
      1. org.jboss.resteasy.plugins.spring.SpringContextLoaderListener.contextInitialized(SpringContextLoaderListener.java:48)
      1 frame
    9. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
      5 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames