JMeter 5.0 / "JMeterUtils: ERROR! Resource string not found" # Aggregate Report - jmeter

JMeter 5.0 r1840935 # Win 7 64 Bit
All the time when I click on the Aggregate Report I'm getting about 10 Error-Message-Lines in the Log-Window ...
Is this a problem just on my PC or does it happen on your PC too?
All other things in JMeter are working very fine.
Maybe it has to do with this entry but I'm not enough experienced to understand it:
JMeter - Resource string not found error
I appreciate your help.
Kind regards
Joe
=======================================
2019-01-22 20:47:16,976 WARN o.a.j.u.JMeterUtils: ERROR! Resource
string not found: [99%line] 2019-01-22 20:47:16,976 WARN
o.a.j.u.JMeterUtils: ERROR! Resource string not found: [min]
2019-01-22 20:47:16,976 WARN o.a.j.u.JMeterUtils: ERROR! Resource
string not found: [error%] 2019-01-22 20:47:16,976 WARN
o.a.j.u.JMeterUtils: ERROR! Resource string not found: [throughput]
2019-01-22 20:47:16,976 WARN o.a.j.u.JMeterUtils: ERROR! Resource
string not found: [received_kb/sec] 2019-01-22 20:47:16,976 WARN
o.a.j.u.JMeterUtils: ERROR! Resource string not found: [sent_kb/sec]
2019-01-22 20:58:54,822 WARN o.a.j.u.JMeterUtils: ERROR! Resource
string not found: [label] 2019-01-22 20:58:54,822 WARN
o.a.j.u.JMeterUtils: ERROR! Resource string not found: [#_samples]
2019-01-22 20:58:54,822 WARN o.a.j.u.JMeterUtils: ERROR! Resource
string not found: [median] 2019-01-22 20:58:54,822 WARN
o.a.j.u.JMeterUtils: ERROR! Resource string not found: [90%_line]
2019-01-22 20:58:54,822 WARN o.a.j.u.JMeterUtils: ERROR! Resource
string not found: [95%_line] 2019-01-22 20:58:54,822 WARN
o.a.j.u.JMeterUtils: ERROR! Resource string not found: [99%line]
2019-01-22 20:58:54,822 WARN o.a.j.u.JMeterUtils: ERROR! Resource
string not found: [min] 2019-01-22 20:58:54,822 WARN
o.a.j.u.JMeterUtils: ERROR! Resource string not found: [error%]
2019-01-22 20:58:54,822 WARN o.a.j.u.JMeterUtils: ERROR! Resource
string not found: [throughput] 2019-01-22 20:58:54,822 WARN
o.a.j.u.JMeterUtils: ERROR! Resource string not found:
[received_kb/sec] 2019-01-22 20:58:54,822 WARN o.a.j.u.JMeterUtils:
ERROR! Resource string not found: [sent_kb/sec]
=======================================

This is a bug:
https://bz.apache.org/bugzilla/show_bug.cgi?id=62896
Which is already fixed in nightly build and will be in 5.1:
https://ci.apache.org/projects/jmeter/nightlies/

Related

Error when frequently querying with hibernate envers

I have the following query:
List results2 = AuditReaderFactory.get( factory.createEntityManager() ).createQuery()
.forRevisionsOfEntityWithChanges( Customer.class, false )
.add( AuditEntity.id().eq( 3014l ) )
.getResultList();
When I run these lines frequently (approximately once every two seconds and always waiting for complete execution), then after the fifth or sixth time, I get error:
2020-12-15 22:57:46.320 WARN 41949 --- [io-8081-exec-10] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: null
2020-12-15 22:57:46.320 ERROR 41949 --- [io-8081-exec-10] o.h.engine.jdbc.spi.SqlExceptionHelper : HikariPool-1 - Connection is not available, request timed out after 30004ms.
2020-12-15 22:57:46.339 ERROR 41949 --- [io-8081-exec-10] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Unable to acquire JDBC Connection; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection] with root cause
java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30004ms.
at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:669) ~[HikariCP-2.7.9.jar:na]
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:183) ~[HikariCP-2.7.9.jar:na]
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:148) ~[HikariCP-2.7.9.jar:na]
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:128) ~[HikariCP-2.7.9.jar:na]
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) ~[hibernate-core-5.2.17.Final.jar:5.2.17.Final]
....

Jhipster error deploying to heroku. Error creating bean with name 'servletEndpointRegistrar' defined in class path resource

Im trying to deploy a jhipster app to heroku, its works fine when I run it in dev and prod profiles locally, but when I deploy it to heroku I keep getting this error.
2020-02-12T00:31:29.558205+00:00 app[web.1]: :: JHipster � :: Running Spring Boot 2.1.9.RELEASE ::
2020-02-12T00:31:29.558207+00:00 app[web.1]: :: https://www.jhipster.tech ::
2020-02-12T00:31:29.558214+00:00 app[web.1]:
2020-02-12T00:31:31.570261+00:00 app[web.1]: 2020-02-12 00:31:31.566 INFO 4 --- [ main] c.aditum.cardiorehabcr.CardioRehabCrApp : The following profiles are active: prod,heroku,no-liquibase
2020-02-12T00:31:36.173880+00:00 app[web.1]: 2020-02-12 00:31:36.173 WARN 4 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.
2020-02-12T00:31:42.231677+00:00 app[web.1]: 2020-02-12 00:31:42.230 WARN 4 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditEventsEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.class]: Unsatisfied dependency expressed through method 'auditEventsEndpoint' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customAuditEventRepository' defined in URL [jar:file:/app/target/cardio-rehab-cr-0.0.1-SNAPSHOT.jar!/BOOT-INF/classes!/com/aditum/cardiorehabcr/repository/CustomAuditEventRepository.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceAuditEventRepository': Cannot create inner bean '(inner bean)#7e46d648' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7e46d648': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space
2020-02-12T00:31:42.257589+00:00 app[web.1]: 2020-02-12 00:31:42.251 WARN 4 --- [ main] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method failed on bean with name 'liquibase': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
2020-02-12T00:31:42.361898+00:00 app[web.1]: 2020-02-12 00:31:42.360 ERROR 4 --- [ main] o.s.boot.SpringApplication : Application run failed
2020-02-12T00:31:42.361900+00:00 app[web.1]:
2020-02-12T00:31:42.361902+00:00 app[web.1]: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditEventsEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.class]: Unsatisfied dependency expressed through method 'auditEventsEndpoint' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customAuditEventRepository' defined in URL [jar:file:/app/target/cardio-rehab-cr-0.0.1-SNAPSHOT.jar!/BOOT-INF/classes!/com/aditum/cardiorehabcr/repository/CustomAuditEventRepository.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceAuditEventRepository': Cannot create inner bean '(inner bean)#7e46d648' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7e46d648': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space
2020-02-12T00:31:42.361903+00:00 app[web.1]: at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156)
2020-02-12T00:31:42.361904+00:00 app[web.1]: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
2020-02-12T00:31:42.361905+00:00 app[web.1]: at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
2020-02-12T00:31:42.361905+00:00 app[web.1]: at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
2020-02-12T00:31:42.361906+00:00 app[web.1]: at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
2020-02-12T00:31:42.361906+00:00 app[web.1]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
2020-02-12T00:31:42.361907+00:00 app[web.1]: at com.aditum.cardiorehabcr.CardioRehabCrApp.main(CardioRehabCrApp.java:65)
2020-02-12T00:31:42.361907+00:00 app[web.1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-02-12T00:31:42.361908+00:00 app[web.1]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-02-12T00:31:42.361908+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-02-12T00:31:42.361909+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)
2020-02-12T00:31:42.361909+00:00 app[web.1]: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
2020-02-12T00:31:42.361910+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
2020-02-12T00:31:42.361910+00:00 app[web.1]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
2020-02-12T00:31:42.361911+00:00 app[web.1]: at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
2020-02-12T00:31:42.361918+00:00 app[web.1]: Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditEventsEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.class]: Unsatisfied dependency expressed through method 'auditEventsEndpoint' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customAuditEventRepository' defined in URL [jar:file:/app/target/cardio-rehab-cr-0.0.1-SNAPSHOT.jar!/BOOT-INF/classes!/com/aditum/cardiorehabcr/repository/CustomAuditEventRepository.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceAuditEventRepository': Cannot create inner bean '(inner bean)#7e46d648' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7e46d648': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space
2020-02-12T00:31:42.361919+00:00 app[web.1]: at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:254)
2020-02-12T00:31:42.361919+00:00 app[web.1]: at org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory.createDeploymentManager(UndertowServletWebServerFactory.java:287)
2020-02-12T00:31:42.361920+00:00 app[web.1]: at org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory.getWebServer(UndertowServletWebServerFactory.java:213)
2020-02-12T00:31:42.361920+00:00 app[web.1]: at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
2020-02-12T00:31:42.361921+00:00 app[web.1]: at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153)
2020-02-12T00:31:42.361921+00:00 app[web.1]: ... 14 common frames omitted
2020-02-12T00:31:42.361926+00:00 app[web.1]: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditEventsEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.class]: Unsatisfied dependency expressed through method 'auditEventsEndpoint' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customAuditEventRepository' defined in URL [jar:file:/app/target/cardio-rehab-cr-0.0.1-SNAPSHOT.jar!/BOOT-INF/classes!/com/aditum/cardiorehabcr/repository/CustomAuditEventRepository.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceAuditEventRepository': Cannot create inner bean '(inner bean)#7e46d648' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7e46d648': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space
2020-02-12T00:31:42.361926+00:00 app[web.1]: at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:627)
2020-02-12T00:31:42.361927+00:00 app[web.1]: at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:607)
2020-02-12T00:31:42.361927+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
2020-02-12T00:31:42.361928+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
2020-02-12T00:31:42.361928+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
2020-02-12T00:31:42.361928+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
2020-02-12T00:31:42.361929+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
2020-02-12T00:31:42.361929+00:00 app[web.1]: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
2020-02-12T00:31:42.361930+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
2020-02-12T00:31:42.361930+00:00 app[web.1]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
2020-02-12T00:31:42.361931+00:00 app[web.1]: at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211)
2020-02-12T00:31:42.361931+00:00 app[web.1]: at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:202)
2020-02-12T00:31:42.361932+00:00 app[web.1]: at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:96)
2020-02-12T00:31:42.361932+00:00 app[web.1]: at org.springframework.boot.web.servlet.ServletContextInitializerBeans.<init>(ServletContextInitializerBeans.java:85)
2020-02-12T00:31:42.361935+00:00 app[web.1]: at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:253)
2020-02-12T00:31:42.361936+00:00 app[web.1]: at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:227)
2020-02-12T00:31:42.361936+00:00 app[web.1]: at org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory$Initializer.onStartup(UndertowServletWebServerFactory.java:614)
2020-02-12T00:31:42.361937+00:00 app[web.1]: at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:204)
2020-02-12T00:31:42.361937+00:00 app[web.1]: at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:186)
2020-02-12T00:31:42.361938+00:00 app[web.1]: at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
2020-02-12T00:31:42.361938+00:00 app[web.1]: at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2020-02-12T00:31:42.361938+00:00 app[web.1]: at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:252)
2020-02-12T00:31:42.361939+00:00 app[web.1]: ... 18 common frames omitted
2020-02-12T00:31:42.361940+00:00 app[web.1]: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditEventsEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.class]: Unsatisfied dependency expressed through method 'auditEventsEndpoint' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customAuditEventRepository' defined in URL [jar:file:/app/target/cardio-rehab-cr-0.0.1-SNAPSHOT.jar!/BOOT-INF/classes!/com/aditum/cardiorehabcr/repository/CustomAuditEventRepository.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceAuditEventRepository': Cannot create inner bean '(inner bean)#7e46d648' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7e46d648': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space...
Here it is the entity map relationships created with 1: https://www.jhipster.tech//jdl-studio/
entity AppUser {
name String,
lastName String,
authorityType Integer required,
status Integer
}
entity Comorbiditie {
description String required,
deleted Boolean
}
entity ComorbiditiesPatient {
description String,
exist Boolean required,
comorbiditieRelation Long
}
entity DepressiveSymptom {
description String required,
code String,
deleted Boolean
}
entity DepressiveSymptomsSession {
description String,
exist Boolean required,
depressiveSymptomRelation Long
}
entity FinalAssessment {
smoking String,
weight String,
size String,
iMC String,
hbiac String,
baselineFunctionalCapacity String,
lDL String,
hDL String,
cardiovascularRisk String,
isWorking Boolean,
deceased Boolean,
abandonment Boolean,
abandonmentMedicCause Boolean,
hospitalized Boolean,
deleted Boolean,
reevaluation Boolean,
executionDate ZonedDateTime
}
entity IncomeDiagnosis {
description String required,
deleted Boolean
}
entity IncomeDiagnosisPatient {
description String,
exist Boolean required,
incomeDiagnosisRelation Long
}
entity InitialAssessment {
smoking String required,
weight String required,
size String required,
iMC String required,
hbiac String,
baselineFunctionalCapacity String,
lDL String,
hDL String,
cardiovascularRisk String,
deleted Boolean
}
entity MayorEvent {
description String required,
code String,
deleted Boolean
}
entity MayorEventsSession {
description String,
exist Boolean required,
mayorEventRelation Long
}
entity MinorEvent {
description String required,
code String,
deleted Boolean
}
entity MinorEventsSession {
description String,
exist Boolean required,
minorEventRelation Long
}
entity NonSpecificPain {
description String required,
code String,
deleted Boolean
}
entity NonSpecificPainsSession {
description String,
exist Boolean required,
nonSpecificPainsSessionRelation Long
}
entity Patient {
code String required,
age Integer required,
sex String required,
ocupation String required,
lastEventOcurred Integer required,
deceased Boolean,
abandonment Boolean,
abandonmentMedicCause Boolean,
rehabStatus Integer,
sessionNumber Integer,
deleted Boolean,
scholarship String
}
entity RehabilitationCenter {
name String required,
telephone String,
deleted Boolean,
status Integer
}
entity RehabilitationGroup {
name String required,
creationDate Instant,
programStatus Integer,
deleted Boolean
}
entity Session {
code String required,
executionDate Instant required,
abscence Boolean,
hospitalization Boolean,
status Integer,
deleted Boolean,
currentlyWorking Boolean
}
relationship OneToMany {
RehabilitationCenter{appUser} to AppUser{rehabilitationCenter},
RehabilitationCenter{comorbiditie} to Comorbiditie{rehabilitationCenter},
InitialAssessment{comorbiditiesPatient} to ComorbiditiesPatient{initialAssessment},
RehabilitationCenter{depressiveSymptom} to DepressiveSymptom{rehabilitationCenter},
Session{depressiveSymptomsSession} to DepressiveSymptomsSession{session},
Patient{finalAssessment} to FinalAssessment{patient},
RehabilitationCenter{incomeDiagnosis} to IncomeDiagnosis{rehabilitationCenter},
InitialAssessment{incomeDiagnosisPatient} to IncomeDiagnosisPatient{initialAssessment},
Patient{initialAssessment} to InitialAssessment{patient},
RehabilitationCenter{mayorEvent} to MayorEvent{rehabilitationCenter},
Session{mayorEventsSession} to MayorEventsSession{session},
RehabilitationCenter{minorEvent} to MinorEvent{rehabilitationCenter},
Session{minorEventsSession} to MinorEventsSession{session},
RehabilitationCenter{nonSpecificPain} to NonSpecificPain{rehabilitationCenter},
Session{nonSpecificPainsSession} to NonSpecificPainsSession{session},
RehabilitationCenter{rehabilitationGroup} to RehabilitationGroup{rehabilitationCenter},
Patient{session} to Session{patient}
}
relationship ManyToOne {
AppUser{user(login)} to User
}
relationship ManyToMany {
RehabilitationGroup{patient} to Patient{rehabilitationGroup}
}
dto AppUser, Comorbiditie, ComorbiditiesPatient, DepressiveSymptom, DepressiveSymptomsSession, FinalAssessment, IncomeDiagnosis, IncomeDiagnosisPatient, InitialAssessment, MayorEvent, MayorEventsSession, MinorEvent, MinorEventsSession, NonSpecificPain, NonSpecificPainsSession, Patient, RehabilitationCenter, RehabilitationGroup, Session with mapstruct
paginate AppUser, Comorbiditie, ComorbiditiesPatient, DepressiveSymptom, DepressiveSymptomsSession, FinalAssessment, IncomeDiagnosis, IncomeDiagnosisPatient, InitialAssessment, MayorEvent, MayorEventsSession, MinorEvent, MinorEventsSession, NonSpecificPain, NonSpecificPainsSession, Patient, RehabilitationCenter, RehabilitationGroup, Session with infinite-scroll
service AppUser, Comorbiditie, ComorbiditiesPatient, DepressiveSymptom, DepressiveSymptomsSession, FinalAssessment, IncomeDiagnosis, IncomeDiagnosisPatient, InitialAssessment, MayorEvent, MayorEventsSession, MinorEvent, MinorEventsSession, NonSpecificPain, NonSpecificPainsSession, Patient, RehabilitationCenter, RehabilitationGroup, Session with serviceImpl
Once I create the entities via the .jh created with JDL-Studio and deploy it to heroku, sometimes I get the error sometimes I don't.
Here it is my pom.xml
Pom.xml
The application was generated using JHipster 6.4.1

Unable to display aggregate graph within Jmeter

I am receiving the following error when trying to ouptut a aggregate graph within jmeter:
2018-10-11 09:15:00,731 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.IndexOutOfBoundsException: Index -1 out-of-bounds for length 13
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) ~[?:?]
at java.util.Objects.checkIndex(Objects.java:372) ~[?:?]
at java.util.ArrayList.get(ArrayList.java:440) ~[?:?]
at org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.java:187) ~[jorphan.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.StatGraphVisualizer.getData(StatGraphVisualizer.java:638) ~[ApacheJMeter_components.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.StatGraphVisualizer.makeGraph(StatGraphVisualizer.java:594) ~[ApacheJMeter_components.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.StatGraphVisualizer.actionMakeGraph(StatGraphVisualizer.java:790) ~[ApacheJMeter_components.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.StatGraphVisualizer.actionPerformed(StatGraphVisualizer.java:702) ~[ApacheJMeter_components.jar:5.0 r1840935]
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) ~[?:?]
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) ~[?:?]
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) ~[?:?]
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) ~[?:?]
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270) ~[?:?]
at java.awt.Component.processMouseEvent(Component.java:6589) ~[?:?]
at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) ~[?:?]
at java.awt.Component.processEvent(Component.java:6354) ~[?:?]
at java.awt.Container.processEvent(Container.java:2261) ~[?:?]
at java.awt.Component.dispatchEventImpl(Component.java:4966) ~[?:?]
at java.awt.Container.dispatchEventImpl(Container.java:2319) ~[?:?]
at java.awt.Component.dispatchEvent(Component.java:4798) ~[?:?]
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914) ~[?:?]
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543) ~[?:?]
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484) ~[?:?]
at java.awt.Container.dispatchEventImpl(Container.java:2305) ~[?:?]
at java.awt.Window.dispatchEventImpl(Window.java:2772) ~[?:?]
at java.awt.Component.dispatchEvent(Component.java:4798) ~[?:?]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) ~[?:?]
at java.awt.EventQueue.access$600(EventQueue.java:97) ~[?:?]
at java.awt.EventQueue$4.run(EventQueue.java:721) ~[?:?]
at java.awt.EventQueue$4.run(EventQueue.java:715) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) ~[?:?]
at java.awt.EventQueue$5.run(EventQueue.java:745) ~[?:?]
at java.awt.EventQueue$5.run(EventQueue.java:743) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) ~[?:?]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) ~[?:?]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
2018-10-11 09:15:04,438 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [#_samples]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [median]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [90%_line]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [95%_line]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [99%_line]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [min]
2018-10-11 09:15:04,522 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [error_%]
2018-10-11 09:15:04,522 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [throughput]
2018-10-11 09:15:04,524 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [received_kb/sec]
2018-10-11 09:15:04,524 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [sent_kb/sec]
2018-10-11 09:15:04,551 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,552 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,552 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,552 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
This means the graph cannot be generated and I am unsure how to fix the issue.
These are the results and settings of my aggregate graph, can anybody help me with this issue please?
Thanks
This is a known bug of JMeter 5.0:
https://bz.apache.org/bugzilla/show_bug.cgi?id=62770
It is fixed in nightly build:
https://builds.apache.org/job/JMeter-trunk/lastSuccessfulBuild/artifact/trunk/dist/
And will be available in 5.1
Anyway, the best way to analyze your test is to use the Web Report which exists since 3.0 version:
https://jmeter.apache.org/usermanual/generating-dashboard.html

JMeter - Resource string not found error

I am using JMeter 3.2 r1790748 and getting the below messages in the log.
2017-08-25 11:41:52,208 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,208 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,208 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_equation_healthy]
2017-08-25 11:41:52,208 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_equation_active]
2017-08-25 11:41:52,208 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_equation_warning]
2017-08-25 11:41:52,208 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_equation_dead]
2017-08-25 11:41:52,208 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_equation_load]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_tab_title]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_legend_health]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_legend_load]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_legend_memory_per]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_legend_thread_per]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_label_left_top]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_label_left_middle]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_label_left_bottom]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_label_right_healthy]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_label_right_dead]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_performance_title]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_performance_servers]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_performance_tab_title]
2017-08-25 11:41:52,224 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_label_prefix]
2017-08-25 11:41:52,239 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,239 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,427 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,427 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,427 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,427 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,427 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,443 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
2017-08-25 11:41:52,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [monitor_health_title]
Does anyone know what are these errors are about and how to resolve them?
You seem to be having a component of a 3rd Party plugin that relies on resources of a removed component called Monitor Results.
See:
https://bz.apache.org/bugzilla/show_bug.cgi?id=60423
And release notes of JMeter 3.2 in section Removed elements or functions:
http://jmeter.apache.org/changes.html#Incompatible%20changes
Bug 60423 - Drop Monitor Results listener

Resolve dao.DuplicateKeyException in Spring MVC

When I run the code I get this error . How could I resolve it .Thanks
StringBuffer contactQuery =new StringBuffer();
contactQuery.append("Insert into rescontact (");
contactQuery.append("ContactSeq,ResID,LastName,FirstName,ContactLabel,Phone1,Phone2)");
contactQuery.append("Values( ?,?,?,?,?,?,?)");
logClient.debug("Insert Query " + contactQuery.toString());
System.out.println(" Contact Insertion Query "+contactQuery.toString());
try{
JdbcTemplate jdbcTemplate = this.getJdbcTemplate();
return jdbcTemplate.update(contactQuery.toString(),new Object[] {contactSeq,resId,lastName,firstName,"WEB",Long.parseLong(contactresult),Long.parseLong(alternatecontactresult)});
Exception:
ERROR [stderr] (http-localhost/127.0.0.1:8080-2)
org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL [Insert into rescontact (ContactSeq,ResID,LastName,FirstName,ContactLabel,Phone1,Phone2)Values( ?,?,?,?,?,?,?)]; ORA-00001: unique constraint (DOR_RESTINSP.SYS_C0011900) violated
09:31:59,851 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) ; nested exception is java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DOR_RESTINSP.SYS_C0011900) violated
09:31:59,852 ERROR [stderr] (http-localhost/127.0.0.1:8080-2)
09:31:59,852 ERROR [stderr] (http-localhost/127.0.0.1:8080-2)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
09:31:59,852 ERROR [stderr] (http-localhost/127.0.0.1:8080-2)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
09:31:59,852 ERROR [stderr] (http-localhost/127.0.0.1:8080-2)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:660)
09:31:59,852 ERROR [stderr] (http-localhost/127.0.0.1:8080-2)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:909)
09:31:59,853 ERROR [stderr] (http-localhost/127.0.0.1:8080-2)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:970)
09:31:59,853 ERROR [stderr] (http-localhost/127.0.0.1:8080-2)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:980)

Resources