inspectit-docker / cmr Goto Github PK
View Code? Open in Web Editor NEWDockerfile for inspectIT CMR
Dockerfile for inspectIT CMR
Hi
Could you please helpe me I'm new in docker and inspectit-docker/cmr, whene i try to run ./startup.sh I get the folowin errors:
2018-09-25 14:56:21,160: 375184 [ main] ERROR ne.jdbc.spi.SqlExceptionHelper - Connections could not be acquired from the underlying database!
2018-09-25 14:56:21,167: 375191 [ main] ERROR java.lang.Throwable - Exception in thread "main" org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [ctx]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ctx' defined in URL [jar:file:/CMR/inspectit-cmr.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [spring/spring-context-database.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: DefaultPersistenceUnit] Unable to build Hibernate SessionFactory
2018-09-25 14:56:21,167: 375191 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:386)
2018-09-25 14:56:21,168: 375192 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.CMR.startRepository(CMR.java:95)
2018-09-25 14:56:21,168: 375192 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.CMR.startCMR(CMR.java:81)
2018-09-25 14:56:21,168: 375192 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.CMR.main(CMR.java:239)
2018-09-25 14:56:21,168: 375192 [ main] ERROR java.lang.Throwable - Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ctx' defined in URL [jar:file:/CMR/inspectit-cmr.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [spring/spring-context-database.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: DefaultPersistenceUnit] Unable to build Hibernate SessionFactory
2018-09-25 14:56:21,168: 375192 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:285)
2018-09-25 14:56:21,169: 375193 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1077)
2018-09-25 14:56:21,169: 375193 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:981)
2018-09-25 14:56:21,169: 375193 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
2018-09-25 14:56:21,169: 375193 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
2018-09-25 14:56:21,169: 375193 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
2018-09-25 14:56:21,169: 375193 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
2018-09-25 14:56:21,169: 375193 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
2018-09-25 14:56:21,170: 375194 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
2018-09-25 14:56:21,170: 375194 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
2018-09-25 14:56:21,170: 375194 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
2018-09-25 14:56:21,170: 375194 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
2018-09-25 14:56:21,170: 375194 [ main] ERROR java.lang.Throwable - at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143)
2018-09-25 14:56:21,170: 375194 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:381)
2018-09-25 14:56:21,170: 375194 [ main] ERROR java.lang.Throwable - ... 3 more
2018-09-25 14:56:21,170: 375194 [ main] ERROR java.lang.Throwable - Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [spring/spring-context-database.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: DefaultPersistenceUnit] Unable to build Hibernate SessionFactory
2018-09-25 14:56:21,171: 375195 [ main] ERROR java.lang.Throwable - at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
2018-09-25 14:56:21,171: 375195 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
2018-09-25 14:56:21,171: 375195 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277)
2018-09-25 14:56:21,171: 375195 [ main] ERROR java.lang.Throwable - ... 16 more
2018-09-25 14:56:21,171: 375195 [ main] ERROR java.lang.Throwable - Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [spring/spring-context-database.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: DefaultPersistenceUnit] Unable to build Hibernate SessionFactory
2018-09-25 14:56:21,171: 375195 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
2018-09-25 14:56:21,171: 375195 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
2018-09-25 14:56:21,172: 375196 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
2018-09-25 14:56:21,172: 375196 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
2018-09-25 14:56:21,172: 375196 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
2018-09-25 14:56:21,172: 375196 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
2018-09-25 14:56:21,172: 375196 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
2018-09-25 14:56:21,172: 375196 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1123)
2018-09-25 14:56:21,172: 375196 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:928)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
2018-09-25 14:56:21,173: 375197 [ main] ERROR java.lang.Throwable - ... 18 more
2018-09-25 14:56:21,174: 375198 [ main] ERROR java.lang.Throwable - Caused by: javax.persistence.PersistenceException: [PersistenceUnit: DefaultPersistenceUnit] Unable to build Hibernate SessionFactory
2018-09-25 14:56:21,174: 375198 [ main] ERROR java.lang.Throwable - at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:877)
2018-09-25 14:56:21,174: 375198 [ main] ERROR java.lang.Throwable - at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:805)
2018-09-25 14:56:21,174: 375198 [ main] ERROR java.lang.Throwable - at org.hibernate.jpa.HibernatePersistenceProvider.createContainerEntityManagerFactory(HibernatePersistenceProvider.java:135)
2018-09-25 14:56:21,174: 375198 [ main] ERROR java.lang.Throwable - at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:50)
2018-09-25 14:56:21,174: 375198 [ main] ERROR java.lang.Throwable - at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:290)
2018-09-25 14:56:21,174: 375198 [ main] ERROR java.lang.Throwable - at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310)
2018-09-25 14:56:21,174: 375198 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
2018-09-25 14:56:21,175: 375199 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
2018-09-25 14:56:21,175: 375199 [ main] ERROR java.lang.Throwable - ... 34 more
2018-09-25 14:56:21,175: 375199 [ main] ERROR java.lang.Throwable - Caused by: org.hibernate.exception.GenericJDBCException: Unable to obtain JDBC Connection
2018-09-25 14:56:21,175: 375199 [ main] ERROR java.lang.Throwable - at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
2018-09-25 14:56:21,175: 375199 [ main] ERROR java.lang.Throwable - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)
2018-09-25 14:56:21,175: 375199 [ main] ERROR java.lang.Throwable - at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:95)
2018-09-25 14:56:21,175: 375199 [ main] ERROR java.lang.Throwable - at org.hibernate.tool.schema.extract.internal.ExtractionContextImpl.getJdbcConnection(ExtractionContextImpl.java:65)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - at org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorH2DatabaseImpl.extractMetadata(SequenceInformationExtractorH2DatabaseImpl.java:35)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.initializeSequences(DatabaseInformationImpl.java:64)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.(DatabaseInformationImpl.java:60)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:119)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:97)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:481)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:802)
2018-09-25 14:56:21,176: 375200 [ main] ERROR java.lang.Throwable - ... 40 more
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - at org.hibernate.tool.schema.extract.internal.ExtractionContextImpl.getJdbcConnection(ExtractionContextImpl.java:62)
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - ... 48 more
2018-09-25 14:56:21,177: 375201 [ main] ERROR java.lang.Throwable - Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
2018-09-25 14:56:21,178: 375202 [ main] ERROR java.lang.Throwable - at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1469)
2018-09-25 14:56:21,178: 375202 [ main] ERROR java.lang.Throwable - at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
2018-09-25 14:56:21,178: 375202 [ main] ERROR java.lang.Throwable - at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
2018-09-25 14:56:21,178: 375202 [ main] ERROR java.lang.Throwable - at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
2018-09-25 14:56:21,178: 375202 [ main] ERROR java.lang.Throwable - at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
2018-09-25 14:56:21,178: 375202 [ main] ERROR java.lang.Throwable - ... 52 more
I am trying to load CMR using docker-compose. I have this in my compose file:
inspectit_cmr:
image: inspectit/cmr
ports:
- "8182:8182"
- "9070:9070"
when bringing up the service I get this error:
ERROR: for inspectit_cmr Cannot create container for service inspectit_cmr: Invalid bind mount spec "df518654e9de9a694cb201577d04b441f0effc06d60e82657f6b1b5205dcbf4b:db:rw": Invalid volume destination path: 'db' mount path must be absolute.
ERROR: Encountered errors while bringing up the project.
It looks like docker expects the volumes declared in your dockerfile to be absolute paths instead of just folder names.
VOLUME ["config", "db", "storage", "ci"]
maybe it should be
VOLUME ["/CMR/config", "/CMR/db", "/CMR/storage", "/CMR/ci"]
I've run docker run -itd --name inspectIT-CMR -p 8182:8182 -p 9070:9070 -v /var/local/inspectIT/config:/CMR/config -v /var/local/inspectIT/ci:/CMR/ci inspectit/cmr:1.6.9.83
(the stable version) and the container fails to start with this error log:
2016-10-24 09:14:30,037: 346 [ main] INFO rocks.inspectit.server.CMR - Central Measurement Repository is starting up!
2016-10-24 09:14:30,041: 350 [ main] INFO rocks.inspectit.server.CMR - ==============================================
2016-10-24 09:14:30,041: 350 [ main] INFO rocks.inspectit.server.CMR - The version of this JVM (1.7.0-u80-unofficial) is compatible with the CMR.
2016-10-24 09:14:30,041: 350 [ main] INFO rocks.inspectit.server.CMR - Initializing Spring...
2016-10-24 09:14:31,833: 2142 [ main] INFO erver.property.PropertyManager - |-Loading the default CMR configuration
2016-10-24 09:14:31,834: 2143 [ main] INFO erver.property.PropertyManager - |-No CMR Configuration updates found, continuing to use default configuration
2016-10-24 09:14:31,839: 2148 [ main] ERROR java.lang.Throwable - Exception in thread "main" org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [ctx]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ctx' defined in URL [jar:file:/CMR/inspectit-cmr.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0': Cannot resolve reference to bean 'localPropertiesBean' while setting bean property 'properties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPropertiesBean' defined in class path resource [rocks/inspectit/server/property/PropertyManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [protected synchronized java.util.Properties rocks.inspectit.server.property.PropertyManager.getProperties()] threw exception; nested exception is java.lang.NullPointerException
2016-10-24 09:14:31,839: 2148 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:386)
2016-10-24 09:14:31,839: 2148 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.CMR.startRepository(CMR.java:95)
2016-10-24 09:14:31,839: 2148 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.CMR.startCMR(CMR.java:81)
2016-10-24 09:14:31,840: 2149 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.CMR.main(CMR.java:240)
2016-10-24 09:14:31,840: 2149 [ main] ERROR java.lang.Throwable - Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ctx' defined in URL [jar:file:/CMR/inspectit-cmr.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0': Cannot resolve reference to bean 'localPropertiesBean' while setting bean property 'properties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPropertiesBean' defined in class path resource [rocks/inspectit/server/property/PropertyManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [protected synchronized java.util.Properties rocks.inspectit.server.property.PropertyManager.getProperties()] threw exception; nested exception is java.lang.NullPointerException
2016-10-24 09:14:31,840: 2149 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:285)
2016-10-24 09:14:31,840: 2149 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1077)
2016-10-24 09:14:31,841: 2150 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:981)
2016-10-24 09:14:31,841: 2150 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
2016-10-24 09:14:31,841: 2150 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
2016-10-24 09:14:31,841: 2150 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
2016-10-24 09:14:31,841: 2150 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
2016-10-24 09:14:31,842: 2151 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
2016-10-24 09:14:31,842: 2151 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
2016-10-24 09:14:31,842: 2151 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
2016-10-24 09:14:31,842: 2151 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
2016-10-24 09:14:31,842: 2151 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
2016-10-24 09:14:31,842: 2151 [ main] ERROR java.lang.Throwable - at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143)
2016-10-24 09:14:31,843: 2152 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:381)
2016-10-24 09:14:31,843: 2152 [ main] ERROR java.lang.Throwable - ... 3 more
2016-10-24 09:14:31,843: 2152 [ main] ERROR java.lang.Throwable - Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0': Cannot resolve reference to bean 'localPropertiesBean' while setting bean property 'properties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPropertiesBean' defined in class path resource [rocks/inspectit/server/property/PropertyManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [protected synchronized java.util.Properties rocks.inspectit.server.property.PropertyManager.getProperties()] threw exception; nested exception is java.lang.NullPointerException
2016-10-24 09:14:31,843: 2152 [ main] ERROR java.lang.Throwable - at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
2016-10-24 09:14:31,843: 2152 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
2016-10-24 09:14:31,844: 2153 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277)
2016-10-24 09:14:31,844: 2153 [ main] ERROR java.lang.Throwable - ... 16 more
2016-10-24 09:14:31,844: 2153 [ main] ERROR java.lang.Throwable - Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0': Cannot resolve reference to bean 'localPropertiesBean' while setting bean property 'properties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPropertiesBean' defined in class path resource [rocks/inspectit/server/property/PropertyManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [protected synchronized java.util.Properties rocks.inspectit.server.property.PropertyManager.getProperties()] threw exception; nested exception is java.lang.NullPointerException
2016-10-24 09:14:31,844: 2153 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)
2016-10-24 09:14:31,844: 2153 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
2016-10-24 09:14:31,845: 2154 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
2016-10-24 09:14:31,845: 2154 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
2016-10-24 09:14:31,845: 2154 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
2016-10-24 09:14:31,845: 2154 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
2016-10-24 09:14:31,845: 2154 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
2016-10-24 09:14:31,846: 2155 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
2016-10-24 09:14:31,846: 2155 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
2016-10-24 09:14:31,846: 2155 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
2016-10-24 09:14:31,846: 2155 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:662)
2016-10-24 09:14:31,846: 2155 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
2016-10-24 09:14:31,846: 2155 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
2016-10-24 09:14:31,847: 2156 [ main] ERROR java.lang.Throwable - at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
2016-10-24 09:14:31,847: 2156 [ main] ERROR java.lang.Throwable - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2016-10-24 09:14:31,847: 2156 [ main] ERROR java.lang.Throwable - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
2016-10-24 09:14:31,847: 2156 [ main] ERROR java.lang.Throwable - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2016-10-24 09:14:31,847: 2156 [ main] ERROR java.lang.Throwable - at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
2016-10-24 09:14:31,848: 2157 [ main] ERROR java.lang.Throwable - at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
2016-10-24 09:14:31,848: 2157 [ main] ERROR java.lang.Throwable - ... 18 more
2016-10-24 09:14:31,848: 2157 [ main] ERROR java.lang.Throwable - Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPropertiesBean' defined in class path resource [rocks/inspectit/server/property/PropertyManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [protected synchronized java.util.Properties rocks.inspectit.server.property.PropertyManager.getProperties()] threw exception; nested exception is java.lang.NullPointerException
2016-10-24 09:14:31,848: 2157 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:603)
2016-10-24 09:14:31,849: 2158 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1057)
2016-10-24 09:14:31,849: 2158 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953)
2016-10-24 09:14:31,849: 2158 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
2016-10-24 09:14:31,849: 2158 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
2016-10-24 09:14:31,849: 2158 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
2016-10-24 09:14:31,850: 2159 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
2016-10-24 09:14:31,850: 2159 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
2016-10-24 09:14:31,850: 2159 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
2016-10-24 09:14:31,850: 2159 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
2016-10-24 09:14:31,850: 2159 [ main] ERROR java.lang.Throwable - ... 36 more
2016-10-24 09:14:31,851: 2160 [ main] ERROR java.lang.Throwable - Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [protected synchronized java.util.Properties rocks.inspectit.server.property.PropertyManager.getProperties()] threw exception; nested exception is java.lang.NullPointerException
2016-10-24 09:14:31,851: 2160 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181)
2016-10-24 09:14:31,851: 2160 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:592)
2016-10-24 09:14:31,851: 2160 [ main] ERROR java.lang.Throwable - ... 45 more
2016-10-24 09:14:31,852: 2161 [ main] ERROR java.lang.Throwable - Caused by: java.lang.NullPointerException
2016-10-24 09:14:31,852: 2161 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.property.PropertyManager.getProperties(PropertyManager.java:279)
2016-10-24 09:14:31,852: 2161 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.property.PropertyManager$$EnhancerBySpringCGLIB$$696b0f3.CGLIB$getProperties$0(<generated>)
2016-10-24 09:14:31,852: 2161 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.property.PropertyManager$$EnhancerBySpringCGLIB$$696b0f3$$FastClassBySpringCGLIB$$edd44050.invoke(<generated>)
2016-10-24 09:14:31,852: 2161 [ main] ERROR java.lang.Throwable - at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
2016-10-24 09:14:31,853: 2162 [ main] ERROR java.lang.Throwable - at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:292)
2016-10-24 09:14:31,853: 2162 [ main] ERROR java.lang.Throwable - at rocks.inspectit.server.property.PropertyManager$$EnhancerBySpringCGLIB$$696b0f3.getProperties(<generated>)
2016-10-24 09:14:31,853: 2162 [ main] ERROR java.lang.Throwable - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2016-10-24 09:14:31,853: 2162 [ main] ERROR java.lang.Throwable - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2016-10-24 09:14:31,853: 2162 [ main] ERROR java.lang.Throwable - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2016-10-24 09:14:31,853: 2162 [ main] ERROR java.lang.Throwable - at java.lang.reflect.Method.invoke(Method.java:606)
2016-10-24 09:14:31,854: 2163 [ main] ERROR java.lang.Throwable - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160)
2016-10-24 09:14:31,854: 2163 [ main] ERROR java.lang.Throwable - ... 46 more
I've got the same problem with latest 1.7.3.86 version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.