Generator-jhipster: Windows + Elasticsearch error when re-running jhipster project: Error creating bean with name 'userService' defined in file ...

Created on 29 Oct 2019  ยท  14Comments  ยท  Source: jhipster/generator-jhipster

Overview of the issue

Elasticsearch error when re-running jhipster project: Error creating bean with name 'userService' defined in file ...
First time it runs without error. But when I re-run the project I get an error.
When I delete nodes in target/elasticsearch/data/nodes folder it runs succesfully but when I try to re-run again it fails with same error.

2019-10-29 09:49:36.950  INFO 5616 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : Starting GaznaApp on HP with PID 5616 (D:\Projects\JHipster\Gazna\backend\target\classes started by Nury in D:\Projects\JHipster\Gazna\backend)
2019-10-29 09:49:36.954 DEBUG 5616 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : Running with Spring Boot v2.1.9.RELEASE, Spring v5.1.10.RELEASE
2019-10-29 09:49:36.954  INFO 5616 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : The following profiles are active: swagger,dev
2019-10-29 09:49:44.415 DEBUG 5616 --- [  restartedMain] c.ehcache.core.Ehcache-usersByLogin      : Initialize successful.
2019-10-29 09:49:44.431 DEBUG 5616 --- [  restartedMain] c.ehcache.core.Ehcache-usersByEmail      : Initialize successful.
2019-10-29 09:49:44.431 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.User          : Initialize successful.
2019-10-29 09:49:44.446 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Authority     : Initialize successful.
2019-10-29 09:49:44.446 DEBUG 5616 --- [  restartedMain] c.e.c.E.n.gazna.domain.User.authorities  : Initialize successful.
2019-10-29 09:49:44.446 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Region        : Initialize successful.
2019-10-29 09:49:44.446 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Country       : Initialize successful.
2019-10-29 09:49:44.446 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Location      : Initialize successful.
2019-10-29 09:49:44.446 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Department    : Initialize successful.
2019-10-29 09:49:44.462 DEBUG 5616 --- [  restartedMain] c.e.c.E.n.g.domain.Department.employees  : Initialize successful.
2019-10-29 09:49:44.464 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Task          : Initialize successful.
2019-10-29 09:49:44.466 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Task.jobs     : Initialize successful.
2019-10-29 09:49:44.469 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Employee      : Initialize successful.
2019-10-29 09:49:44.471 DEBUG 5616 --- [  restartedMain] c.e.c.E.n.gazna.domain.Employee.jobs     : Initialize successful.
2019-10-29 09:49:44.473 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Job           : Initialize successful.
2019-10-29 09:49:44.476 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Job.tasks     : Initialize successful.
2019-10-29 09:49:44.478 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.JobHistory    : Initialize successful.
2019-10-29 09:49:44.482 DEBUG 5616 --- [  restartedMain] c.nokat.gazna.config.AsyncConfiguration  : Creating Async Task Executor
2019-10-29 09:49:44.581 DEBUG 5616 --- [  restartedMain] c.n.gazna.config.LiquibaseConfiguration  : Configuring Liquibase
2019-10-29 09:49:44.781  WARN 5616 --- [   gazna-task-1] i.g.j.c.liquibase.AsyncSpringLiquibase   : Starting Liquibase asynchronously, your database might not be ready at startup!
2019-10-29 09:49:48.677 DEBUG 5616 --- [   gazna-task-1] i.g.j.c.liquibase.AsyncSpringLiquibase   : Liquibase has updated your database in 3896 ms
2019-10-29 09:49:48.807 DEBUG 5616 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Registering CORS filter
2019-10-29 09:49:48.874  INFO 5616 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Web application configuration, using profiles: swagger
2019-10-29 09:49:48.875  INFO 5616 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Web application fully configured
2019-10-29 09:49:49.112 DEBUG 5616 --- [  restartedMain] c.n.gazna.security.jwt.TokenProvider     : Using a Base64-encoded JWT secret key
2019-10-29 09:49:49.519  INFO 5616 --- [  restartedMain] a.d.j.ElasticsearchJestAutoConfiguration : Create test ES node
2019-10-29 09:49:50.196  WARN 5616 --- [  restartedMain] o.e.deprecation.script.ScriptModule      : Script: returning default values for missing document values is deprecated. Set system property '-Des.scripting.exception_for_missing_value=true' to make behaviour compatible with future major versions.
2019-10-29 09:49:52.238 DEBUG 5616 --- [  restartedMain] i.n.channel.MultithreadEventLoopGroup    : -Dio.netty.eventLoopThreads: 16
2019-10-29 09:49:52.252 DEBUG 5616 --- [  restartedMain] io.netty.channel.nio.NioEventLoop        : -Dio.netty.noKeySetOptimization: false
2019-10-29 09:49:52.253 DEBUG 5616 --- [  restartedMain] io.netty.channel.nio.NioEventLoop        : -Dio.netty.selectorAutoRebuildThreshold: 512
2019-10-29 09:49:52.397 DEBUG 5616 --- [  restartedMain] io.netty.channel.DefaultChannelId        : -Dio.netty.processId: 5616 (auto-detected)
2019-10-29 09:49:52.546 DEBUG 5616 --- [  restartedMain] io.netty.channel.DefaultChannelId        : -Dio.netty.machineId: 14:cc:20:ff:fe:17:c1:25 (auto-detected)
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.numHeapArenas: 16
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.numDirectArenas: 16
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.pageSize: 8192
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxOrder: 11
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.chunkSize: 16777216
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.tinyCacheSize: 512
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.smallCacheSize: 256
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.normalCacheSize: 64
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxCachedBufferCapacity: 32768
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.cacheTrimInterval: 8192
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.cacheTrimIntervalMillis: 0
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.useCacheForAllThreads: true
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.allocator.type: pooled
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.threadLocalDirectBufferSize: 0
2019-10-29 09:49:52.562 DEBUG 5616 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.maxThreadLocalCharBufferSize: 16384
2019-10-29 09:49:59.341 DEBUG 5616 --- [er_worker][T#3]] io.netty.buffer.AbstractByteBuf          : -Dio.netty.buffer.checkAccessible: true
2019-10-29 09:49:59.341 DEBUG 5616 --- [er_worker][T#3]] io.netty.buffer.AbstractByteBuf          : -Dio.netty.buffer.checkBounds: true
2019-10-29 09:50:04.493  WARN 5616 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [D:\Projects\JHipster\Gazna\backend\target\classes\com\nokat\gazna\service\UserService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is org.springframework.data.elasticsearch.ElasticsearchException: Failed to build mapping for user:user
2019-10-29 09:50:04.493  INFO 5616 --- [  restartedMain] a.d.j.ElasticsearchJestAutoConfiguration : Closing Elasticsearch client
2019-10-29 09:50:04.493 DEBUG 5616 --- [er_worker][T#3]] io.netty.buffer.PoolThreadCache          : Freed 1 thread-local buffer(s) from thread: elasticsearch[wejQHpG][http_server_worker][T#3]
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.n.gazna.domain.User.authorities  : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Country       : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Location      : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Department    : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.n.g.domain.Department.employees  : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Region        : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Task          : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Authority     : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Task.jobs     : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.JobHistory    : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Job.tasks     : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.User          : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Job           : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.n.gazna.domain.Employee.jobs     : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Employee      : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.ehcache.core.Ehcache-usersByEmail      : Close successful.
2019-10-29 09:50:05.163 DEBUG 5616 --- [  restartedMain] c.ehcache.core.Ehcache-usersByLogin      : Close successful.
2019-10-29 09:50:05.233 ERROR 5616 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [D:\Projects\JHipster\Gazna\backend\target\classes\com\nokat\gazna\service\UserService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is org.springframework.data.elasticsearch.ElasticsearchException: Failed to build mapping for user:user
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1341)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:847)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
    at com.nokat.gazna.GaznaApp.main(GaznaApp.java:63)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is org.springframework.data.elasticsearch.ElasticsearchException: Failed to build mapping for user:user
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1255)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1175)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)
    ... 22 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is org.springframework.data.elasticsearch.ElasticsearchException: Failed to build mapping for user:user
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:184)
    at org.springframework.data.repository.core.support.RepositoryFactorySupport.lambda$getTargetRepositoryViaReflection$3(RepositoryFactorySupport.java:513)
    at java.base/java.util.Optional.map(Optional.java:265)
    at org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepositoryViaReflection(RepositoryFactorySupport.java:513)
    at org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepositoryViaReflection(RepositoryFactorySupport.java:498)
    at org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactory.getTargetRepository(ElasticsearchRepositoryFactory.java:74)
    at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:305)
    at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:297)
    at org.springframework.data.util.Lazy.getNullable(Lazy.java:211)
    at org.springframework.data.util.Lazy.get(Lazy.java:94)
    at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300)
    at org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactoryBean.afterPropertiesSet(ElasticsearchRepositoryFactoryBean.java:67)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)
    ... 33 common frames omitted
Caused by: org.springframework.data.elasticsearch.ElasticsearchException: Failed to build mapping for user:user
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.putMapping(JestElasticsearchTemplate.java:265)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.putMapping(JestElasticsearchTemplate.java:277)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.putMapping(JestElasticsearchTemplate.java:237)
    at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.putMapping(AbstractElasticsearchRepository.java:100)
    at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.<init>(AbstractElasticsearchRepository.java:88)
    at org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository.<init>(NumberKeyedRepository.java:36)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)
    ... 46 common frames omitted
Caused by: org.springframework.data.elasticsearch.ElasticsearchException: failed to execute action
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.execute(JestElasticsearchTemplate.java:1131)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.executeWithAcknowledge(JestElasticsearchTemplate.java:1136)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.putMapping(JestElasticsearchTemplate.java:262)
    ... 56 common frames omitted
Caused by: java.net.SocketTimeoutException: Read timed out
    at java.base/java.net.SocketInputStream.socketRead0(Native Method)
    at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
    at io.searchbox.client.http.JestHttpClient.executeRequest(JestHttpClient.java:136)
    at io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:70)
    at io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:63)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.execute(JestElasticsearchTemplate.java:1123)
    ... 58 common frames omitted


Process finished with exit code 1

##### **Motivation for or Use Case** After generating jhipster with elasticsearch I imported jdl file and I didn't do any code changes. ##### **Reproduce the error** 1. Generate jhipster with elasticsearch 2. Import jdl file 3. Run (No problem at first run) 4. Stop and Run again 5. Process finished with exit code 1 Note: I am using IntelliJ IDEA Please find the GitHub repository to reproduce the error. https://github.com/nury-garryyev/jhipster ##### **Related issues** #10199 #3958 ##### **Suggest a Fix** I think that the problem with elasticserach. It wants to reproduce the same nodes/indices. When I delete nodes in target/elasticsearch/data/nodes folder it runs succesfully but when I try to re-run again it fails with the same error. ##### **JHipster Version(s)**
[email protected] D:\Projects\JHipster\Gazna\backend
`-- [email protected]

##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**
.yo-rc.json file
{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.nokat.gazna",
      "nativeLanguage": "en"
    },
    "jhipsterVersion": "6.4.1",
    "applicationType": "monolith",
    "baseName": "gazna",
    "packageName": "com.nokat.gazna",
    "packageFolder": "com/nokat/gazna",
    "serverPort": "8080",
    "authenticationType": "jwt",
    "cacheProvider": "ehcache",
    "enableHibernateCache": true,
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "postgresql",
    "prodDatabaseType": "postgresql",
    "searchEngine": "elasticsearch",
    "messageBroker": false,
    "serviceDiscoveryType": false,
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "jwtSecretKey": "",
    "embeddableLaunchScript": false,
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "entitySuffix": "",
    "dtoSuffix": "DTO",
    "otherModules": [],
    "enableTranslation": true,
    "clientPackageManager": "npm",
    "nativeLanguage": "en",
    "languages": [
      "en",
      "ru",
      "tr"
    ],
    "blueprints": [],
    "skipClient": true
  }
}

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory


JDL entity definitions

entity Region {
  regionName String
}
entity Country {
  countryName String
}
/**
 * not an ignored comment
 */
entity Location {
  streetAddress String,
  postalCode String,
  city String,
  stateProvince String
}
entity Department {
  departmentName String required
}
/**
 * Task entity.\n@author The JHipster team.
 */
entity Task {
  title String,
  description String
}
/**
 * The Employee entity.
 */
entity Employee {
  /**
   * The firstname attribute.
   */
  firstName String,
  lastName String,
  email String,
  phoneNumber String,
  hireDate Instant,
  salary Long,
  commissionPct Long
}
entity Job {
  jobTitle String,
  minSalary Long,
  maxSalary Long
}
entity JobHistory {
  startDate Instant,
  endDate Instant,
  language Language
}
enum Language {
  FRENCH,
  ENGLISH,
  SPANISH
}

relationship OneToOne {
  Country{region} to Region,
  Location{country} to Country,
  Department{location} to Location,
  JobHistory{job} to Job,
  JobHistory{department} to Department,
  JobHistory{employee} to Employee
}
relationship OneToMany {
  /**
   * A relationship
   */
  Department{employee} to Employee{department},
  Employee{job} to Job{employee}
}
relationship ManyToOne {
  Employee{manager} to Employee
}
relationship ManyToMany {
  Job{task(title)} to Task{job}
}

service Region, Country, Location, Department, Task, JobHistory with serviceImpl
paginate Employee, JobHistory with infinite-scroll
paginate Job with pagination

Environment and Tools

java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

git version 2.10.2.windows.1

node: v10.16.3

npm: 6.9.0

yeoman: 3.1.0

Browsers and Operating System

Windows 8, Chrome

  • [x] Checking this box is mandatory (this is just to show you read everything)
area java windows

Most helpful comment

Thanks for your feedback.
So the problem is related to Windows.

What I can suggest is :

  • edit your application-dev.yml to use the same Elasticsearch config in application-prod.yml
  • start your own Elasticsearch or use the provided docker-compose file
  • start your app in dev

The goal is to use a real Elasticsearch in dev, instead of an embedded one, as it looks like you got some problem with target / nodes folder

All 14 comments

Your repo doesn't work out of the box. I need to apply this change to make it works:

diff --git a/src/main/resources/config/application-dev.yml b/src/main/resources/config/application-dev.yml
index d4a5d20..cfa3e0f 100644
--- a/src/main/resources/config/application-dev.yml
+++ b/src/main/resources/config/application-dev.yml
@@ -42,8 +42,8 @@ spring:
   datasource:
     type: com.zaxxer.hikari.HikariDataSource
     url: jdbc:postgresql://localhost:5432/gazna
-    username: postgres
-    password: 12345
+    username: gazna
+    password:
     hikari:
       poolName: Hikari
       auto-commit: false

Then I started it 3 or 4 times. Everything is OK. I couldn't reproduce your issue.

10:51:25 in ~/tmp/jhipster on ๎‚  master [!] took 46s 
โžœ mvn
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------------< com.nokat.gazna:gazna >------------------------
[INFO] Building Gazna 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] >>> spring-boot-maven-plugin:2.1.9.RELEASE:run (default-cli) > test-compile @ gazna >>>
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (default-resources) @ gazna ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 38 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ gazna ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 38 resources
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ gazna ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-dependencyConvergence) @ gazna ---
[WARNING] 
Dependency convergence error for org.hdrhistogram:HdrHistogram:2.1.11 paths to dependency are:
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.springframework.boot:spring-boot-starter-actuator:2.1.9.RELEASE
    +-io.micrometer:micrometer-core:1.3.0
      +-org.hdrhistogram:HdrHistogram:2.1.11
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-com.github.vanroy:spring-boot-starter-data-jest:3.2.5.RELEASE
    +-com.github.vanroy:spring-data-jest:3.2.5.RELEASE
      +-org.elasticsearch:elasticsearch:6.4.3
        +-org.hdrhistogram:HdrHistogram:2.1.9

[WARNING] 
Dependency convergence error for org.apiguardian:apiguardian-api:1.0.0 paths to dependency are:
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.junit.jupiter:junit-jupiter-engine:5.3.2
    +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.junit.jupiter:junit-jupiter-engine:5.3.2
    +-org.junit.platform:junit-platform-engine:1.3.2
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.junit.jupiter:junit-jupiter-engine:5.3.2
    +-org.junit.platform:junit-platform-engine:1.3.2
      +-org.junit.platform:junit-platform-commons:1.3.2
        +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.junit.jupiter:junit-jupiter-engine:5.3.2
    +-org.junit.jupiter:junit-jupiter-api:5.3.2
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:problem-violations:0.25.0
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:problem-spring-common:0.25.0
      +-org.apiguardian:apiguardian-api:1.1.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.apiguardian:apiguardian-api:1.1.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:problem:0.23.0
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:jackson-datatype-problem:0.23.0
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:faux-pas:0.8.0
      +-org.apiguardian:apiguardian-api:1.0.0

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability. See above detailed error message.
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.4:prepare-agent (pre-unit-tests) @ gazna ---
[INFO] argLine set to -javaagent:/home/pgrimaud/.m2/repository/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar=destfile=/home/pgrimaud/tmp/jhipster/target/jacoco/test/test.exec -Djava.security.egd=file:/dev/./urandom -Xmx256m
[INFO] 
[INFO] --- properties-maven-plugin:1.0.0:read-project-properties (default) @ gazna ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ gazna ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 119 source files to /home/pgrimaud/tmp/jhipster/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ gazna ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ gazna ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 39 source files to /home/pgrimaud/tmp/jhipster/target/test-classes
[INFO] 
[INFO] <<< spring-boot-maven-plugin:2.1.9.RELEASE:run (default-cli) < test-compile @ gazna <<<
[INFO] 
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.1.9.RELEASE:run (default-cli) @ gazna ---
[INFO] Attaching agents: []
The Class-Path manifest attribute in /home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-runtime-2.3.1.jar referenced one or more files that do not exist: file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-api-2.3.1.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/txw2-2.3.1.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/istack-commons-runtime-3.0.7.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/stax-ex-1.8.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/FastInfoset-1.2.15.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/javax.activation-api-1.2.0.jar

        โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
        โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—
        โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—     โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
  โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•   โ•šโ•โ•โ•โ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•”โ•โ•โ•โ•   โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘
  โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘  โ•šโ–ˆโ–ˆโ•—
   โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•   โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•โ• โ•šโ•โ•       โ•šโ•โ•โ•โ•โ•โ•     โ•šโ•โ•    โ•šโ•โ•โ•โ•โ•โ•โ•โ• โ•šโ•โ•   โ•šโ•โ•

:: JHipster ๐Ÿค“  :: Running Spring Boot 2.1.9.RELEASE ::
:: https://www.jhipster.tech ::

2019-10-29 10:51:37.351  INFO 25194 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : Starting GaznaApp on pgrxps15 with PID 25194 (/home/pgrimaud/tmp/jhipster/target/classes started by pgrimaud in /home/pgrimaud/tmp/jhipster)
2019-10-29 10:51:37.354 DEBUG 25194 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : Running with Spring Boot v2.1.9.RELEASE, Spring v5.1.10.RELEASE
2019-10-29 10:51:37.354  INFO 25194 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : The following profiles are active: dev,swagger
2019-10-29 10:51:40.638 DEBUG 25194 --- [  restartedMain] c.ehcache.core.Ehcache-usersByLogin      : Initialize successful.
2019-10-29 10:51:40.656 DEBUG 25194 --- [  restartedMain] c.ehcache.core.Ehcache-usersByEmail      : Initialize successful.
2019-10-29 10:51:40.660 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.User          : Initialize successful.
2019-10-29 10:51:40.663 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Authority     : Initialize successful.
2019-10-29 10:51:40.667 DEBUG 25194 --- [  restartedMain] c.e.c.E.n.gazna.domain.User.authorities  : Initialize successful.
2019-10-29 10:51:40.671 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Region        : Initialize successful.
2019-10-29 10:51:40.677 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Country       : Initialize successful.
2019-10-29 10:51:40.682 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Location      : Initialize successful.
2019-10-29 10:51:40.686 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Department    : Initialize successful.
2019-10-29 10:51:40.689 DEBUG 25194 --- [  restartedMain] c.e.c.E.n.g.domain.Department.employees  : Initialize successful.
2019-10-29 10:51:40.693 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Task          : Initialize successful.
2019-10-29 10:51:40.696 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Task.jobs     : Initialize successful.
2019-10-29 10:51:40.701 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Employee      : Initialize successful.
2019-10-29 10:51:40.708 DEBUG 25194 --- [  restartedMain] c.e.c.E.n.gazna.domain.Employee.jobs     : Initialize successful.
2019-10-29 10:51:40.715 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Job           : Initialize successful.
2019-10-29 10:51:40.723 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Job.tasks     : Initialize successful.
2019-10-29 10:51:40.729 DEBUG 25194 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.JobHistory    : Initialize successful.
2019-10-29 10:51:40.758 DEBUG 25194 --- [  restartedMain] c.nokat.gazna.config.AsyncConfiguration  : Creating Async Task Executor
2019-10-29 10:51:40.870 DEBUG 25194 --- [  restartedMain] c.n.gazna.config.LiquibaseConfiguration  : Configuring Liquibase
2019-10-29 10:51:41.000  WARN 25194 --- [   gazna-task-1] i.g.j.c.liquibase.AsyncSpringLiquibase   : Starting Liquibase asynchronously, your database might not be ready at startup!
2019-10-29 10:51:42.685 DEBUG 25194 --- [   gazna-task-1] i.g.j.c.liquibase.AsyncSpringLiquibase   : Liquibase has updated your database in 1685 ms
2019-10-29 10:51:43.478 DEBUG 25194 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Registering CORS filter
2019-10-29 10:51:43.541  INFO 25194 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Web application configuration, using profiles: dev
2019-10-29 10:51:43.541  INFO 25194 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Web application fully configured
2019-10-29 10:51:43.773 DEBUG 25194 --- [  restartedMain] c.n.gazna.security.jwt.TokenProvider     : Using a Base64-encoded JWT secret key
2019-10-29 10:51:44.223  INFO 25194 --- [  restartedMain] a.d.j.ElasticsearchJestAutoConfiguration : Create test ES node
2019-10-29 10:51:44.634  WARN 25194 --- [  restartedMain] o.e.deprecation.script.ScriptModule      : Script: returning default values for missing document values is deprecated. Set system property '-Des.scripting.exception_for_missing_value=true' to make behaviour compatible with future major versions.
2019-10-29 10:51:46.193 DEBUG 25194 --- [  restartedMain] i.n.channel.MultithreadEventLoopGroup    : -Dio.netty.eventLoopThreads: 16
2019-10-29 10:51:46.212 DEBUG 25194 --- [  restartedMain] io.netty.channel.nio.NioEventLoop        : -Dio.netty.noKeySetOptimization: false
2019-10-29 10:51:46.212 DEBUG 25194 --- [  restartedMain] io.netty.channel.nio.NioEventLoop        : -Dio.netty.selectorAutoRebuildThreshold: 512
2019-10-29 10:51:46.276 DEBUG 25194 --- [  restartedMain] io.netty.channel.DefaultChannelId        : -Dio.netty.processId: 25194 (auto-detected)
2019-10-29 10:51:46.280 DEBUG 25194 --- [  restartedMain] io.netty.channel.DefaultChannelId        : -Dio.netty.machineId: 9c:b6:d0:ff:fe:fd:74:ed (auto-detected)
2019-10-29 10:51:46.331 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.numHeapArenas: 16
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.numDirectArenas: 16
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.pageSize: 8192
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxOrder: 11
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.chunkSize: 16777216
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.tinyCacheSize: 512
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.smallCacheSize: 256
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.normalCacheSize: 64
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxCachedBufferCapacity: 32768
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.cacheTrimInterval: 8192
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.cacheTrimIntervalMillis: 0
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.useCacheForAllThreads: true
2019-10-29 10:51:46.332 DEBUG 25194 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023
2019-10-29 10:51:46.346 DEBUG 25194 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.allocator.type: pooled
2019-10-29 10:51:46.346 DEBUG 25194 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.threadLocalDirectBufferSize: 0
2019-10-29 10:51:46.347 DEBUG 25194 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.maxThreadLocalCharBufferSize: 16384
2019-10-29 10:51:50.090 DEBUG 25194 --- [er_worker][T#3]] io.netty.buffer.AbstractByteBuf          : -Dio.netty.buffer.checkAccessible: true
2019-10-29 10:51:50.090 DEBUG 25194 --- [er_worker][T#3]] io.netty.buffer.AbstractByteBuf          : -Dio.netty.buffer.checkBounds: true
2019-10-29 10:51:51.439 DEBUG 25194 --- [er_worker][T#3]] i.n.h.c.compression.ZlibCodecFactory     : -Dio.netty.noJdkZlibDecoder: false
2019-10-29 10:51:51.439 DEBUG 25194 --- [er_worker][T#3]] i.n.h.c.compression.ZlibCodecFactory     : -Dio.netty.noJdkZlibEncoder: false
2019-10-29 10:51:53.252 DEBUG 25194 --- [  restartedMain] i.g.j.c.apidoc.SwaggerAutoConfiguration  : Starting Swagger
2019-10-29 10:51:53.260 DEBUG 25194 --- [  restartedMain] i.g.j.c.apidoc.SwaggerAutoConfiguration  : Started Swagger in 8 ms
2019-10-29 10:51:54.092  INFO 25194 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : Started GaznaApp in 17.399 seconds (JVM running for 17.906)
2019-10-29 10:51:54.101  INFO 25194 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : 
----------------------------------------------------------
    Application 'gazna' is running! Access URLs:
    Local:      http://localhost:8080/
    External:   http://127.0.1.1:8080/
    Profile(s):     [dev, swagger]
----------------------------------------------------------
^C[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:55 min
[INFO] Finished at: 2019-10-29T10:53:22+01:00
[INFO] ------------------------------------------------------------------------

10:53:23 in ~/tmp/jhipster on ๎‚  master [!] took 1m 56s 
โžœ mvn
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------------< com.nokat.gazna:gazna >------------------------
[INFO] Building Gazna 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] >>> spring-boot-maven-plugin:2.1.9.RELEASE:run (default-cli) > test-compile @ gazna >>>
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (default-resources) @ gazna ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 38 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ gazna ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 38 resources
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ gazna ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-dependencyConvergence) @ gazna ---
[WARNING] 
Dependency convergence error for org.hdrhistogram:HdrHistogram:2.1.11 paths to dependency are:
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.springframework.boot:spring-boot-starter-actuator:2.1.9.RELEASE
    +-io.micrometer:micrometer-core:1.3.0
      +-org.hdrhistogram:HdrHistogram:2.1.11
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-com.github.vanroy:spring-boot-starter-data-jest:3.2.5.RELEASE
    +-com.github.vanroy:spring-data-jest:3.2.5.RELEASE
      +-org.elasticsearch:elasticsearch:6.4.3
        +-org.hdrhistogram:HdrHistogram:2.1.9

[WARNING] 
Dependency convergence error for org.apiguardian:apiguardian-api:1.0.0 paths to dependency are:
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.junit.jupiter:junit-jupiter-engine:5.3.2
    +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.junit.jupiter:junit-jupiter-engine:5.3.2
    +-org.junit.platform:junit-platform-engine:1.3.2
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.junit.jupiter:junit-jupiter-engine:5.3.2
    +-org.junit.platform:junit-platform-engine:1.3.2
      +-org.junit.platform:junit-platform-commons:1.3.2
        +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.junit.jupiter:junit-jupiter-engine:5.3.2
    +-org.junit.jupiter:junit-jupiter-api:5.3.2
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:problem-violations:0.25.0
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:problem-spring-common:0.25.0
      +-org.apiguardian:apiguardian-api:1.1.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.apiguardian:apiguardian-api:1.1.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:problem:0.23.0
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:jackson-datatype-problem:0.23.0
      +-org.apiguardian:apiguardian-api:1.0.0
and
+-com.nokat.gazna:gazna:0.0.1-SNAPSHOT
  +-org.zalando:problem-spring-web:0.25.0
    +-org.zalando:faux-pas:0.8.0
      +-org.apiguardian:apiguardian-api:1.0.0

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability. See above detailed error message.
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.4:prepare-agent (pre-unit-tests) @ gazna ---
[INFO] argLine set to -javaagent:/home/pgrimaud/.m2/repository/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar=destfile=/home/pgrimaud/tmp/jhipster/target/jacoco/test/test.exec -Djava.security.egd=file:/dev/./urandom -Xmx256m
[INFO] 
[INFO] --- properties-maven-plugin:1.0.0:read-project-properties (default) @ gazna ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ gazna ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 119 source files to /home/pgrimaud/tmp/jhipster/target/classes
^E[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ gazna ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ gazna ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 39 source files to /home/pgrimaud/tmp/jhipster/target/test-classes
[INFO] 
[INFO] <<< spring-boot-maven-plugin:2.1.9.RELEASE:run (default-cli) < test-compile @ gazna <<<
[INFO] 
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.1.9.RELEASE:run (default-cli) @ gazna ---
[INFO] Attaching agents: []
The Class-Path manifest attribute in /home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-runtime-2.3.1.jar referenced one or more files that do not exist: file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-api-2.3.1.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/txw2-2.3.1.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/istack-commons-runtime-3.0.7.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/stax-ex-1.8.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/FastInfoset-1.2.15.jar,file:/home/pgrimaud/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/javax.activation-api-1.2.0.jar

        โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
        โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—
        โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—     โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
  โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•   โ•šโ•โ•โ•โ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•”โ•โ•โ•โ•   โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘
  โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘  โ•šโ–ˆโ–ˆโ•—
   โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•   โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•โ• โ•šโ•โ•       โ•šโ•โ•โ•โ•โ•โ•     โ•šโ•โ•    โ•šโ•โ•โ•โ•โ•โ•โ•โ• โ•šโ•โ•   โ•šโ•โ•

:: JHipster ๐Ÿค“  :: Running Spring Boot 2.1.9.RELEASE ::
:: https://www.jhipster.tech ::

2019-10-29 10:53:34.636  INFO 25765 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : Starting GaznaApp on pgrxps15 with PID 25765 (/home/pgrimaud/tmp/jhipster/target/classes started by pgrimaud in /home/pgrimaud/tmp/jhipster)
2019-10-29 10:53:34.638 DEBUG 25765 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : Running with Spring Boot v2.1.9.RELEASE, Spring v5.1.10.RELEASE
2019-10-29 10:53:34.639  INFO 25765 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : The following profiles are active: dev,swagger
2019-10-29 10:53:38.282 DEBUG 25765 --- [  restartedMain] c.ehcache.core.Ehcache-usersByLogin      : Initialize successful.
2019-10-29 10:53:38.308 DEBUG 25765 --- [  restartedMain] c.ehcache.core.Ehcache-usersByEmail      : Initialize successful.
2019-10-29 10:53:38.313 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.User          : Initialize successful.
2019-10-29 10:53:38.319 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Authority     : Initialize successful.
2019-10-29 10:53:38.325 DEBUG 25765 --- [  restartedMain] c.e.c.E.n.gazna.domain.User.authorities  : Initialize successful.
2019-10-29 10:53:38.331 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Region        : Initialize successful.
2019-10-29 10:53:38.335 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Country       : Initialize successful.
2019-10-29 10:53:38.341 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Location      : Initialize successful.
2019-10-29 10:53:38.345 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Department    : Initialize successful.
2019-10-29 10:53:38.349 DEBUG 25765 --- [  restartedMain] c.e.c.E.n.g.domain.Department.employees  : Initialize successful.
2019-10-29 10:53:38.355 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Task          : Initialize successful.
2019-10-29 10:53:38.360 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Task.jobs     : Initialize successful.
2019-10-29 10:53:38.365 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Employee      : Initialize successful.
2019-10-29 10:53:38.372 DEBUG 25765 --- [  restartedMain] c.e.c.E.n.gazna.domain.Employee.jobs     : Initialize successful.
2019-10-29 10:53:38.380 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Job           : Initialize successful.
2019-10-29 10:53:38.383 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.Job.tasks     : Initialize successful.
2019-10-29 10:53:38.391 DEBUG 25765 --- [  restartedMain] c.e.c.E.nokat.gazna.domain.JobHistory    : Initialize successful.
2019-10-29 10:53:38.439 DEBUG 25765 --- [  restartedMain] c.nokat.gazna.config.AsyncConfiguration  : Creating Async Task Executor
2019-10-29 10:53:38.578 DEBUG 25765 --- [  restartedMain] c.n.gazna.config.LiquibaseConfiguration  : Configuring Liquibase
2019-10-29 10:53:38.718  WARN 25765 --- [   gazna-task-1] i.g.j.c.liquibase.AsyncSpringLiquibase   : Starting Liquibase asynchronously, your database might not be ready at startup!
2019-10-29 10:53:40.793 DEBUG 25765 --- [   gazna-task-1] i.g.j.c.liquibase.AsyncSpringLiquibase   : Liquibase has updated your database in 2074 ms
2019-10-29 10:53:41.677 DEBUG 25765 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Registering CORS filter
2019-10-29 10:53:41.772  INFO 25765 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Web application configuration, using profiles: dev
2019-10-29 10:53:41.773  INFO 25765 --- [  restartedMain] com.nokat.gazna.config.WebConfigurer     : Web application fully configured
2019-10-29 10:53:42.083 DEBUG 25765 --- [  restartedMain] c.n.gazna.security.jwt.TokenProvider     : Using a Base64-encoded JWT secret key
2019-10-29 10:53:42.865  INFO 25765 --- [  restartedMain] a.d.j.ElasticsearchJestAutoConfiguration : Create test ES node
2019-10-29 10:53:43.564  WARN 25765 --- [  restartedMain] o.e.deprecation.script.ScriptModule      : Script: returning default values for missing document values is deprecated. Set system property '-Des.scripting.exception_for_missing_value=true' to make behaviour compatible with future major versions.
2019-10-29 10:53:45.531 DEBUG 25765 --- [  restartedMain] i.n.channel.MultithreadEventLoopGroup    : -Dio.netty.eventLoopThreads: 16
2019-10-29 10:53:45.570 DEBUG 25765 --- [  restartedMain] io.netty.channel.nio.NioEventLoop        : -Dio.netty.noKeySetOptimization: false
2019-10-29 10:53:45.572 DEBUG 25765 --- [  restartedMain] io.netty.channel.nio.NioEventLoop        : -Dio.netty.selectorAutoRebuildThreshold: 512
2019-10-29 10:53:45.664 DEBUG 25765 --- [  restartedMain] io.netty.channel.DefaultChannelId        : -Dio.netty.processId: 25765 (auto-detected)
2019-10-29 10:53:45.675 DEBUG 25765 --- [  restartedMain] io.netty.channel.DefaultChannelId        : -Dio.netty.machineId: 9c:b6:d0:ff:fe:fd:74:ed (auto-detected)
2019-10-29 10:53:45.743 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.numHeapArenas: 16
2019-10-29 10:53:45.744 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.numDirectArenas: 16
2019-10-29 10:53:45.744 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.pageSize: 8192
2019-10-29 10:53:45.744 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxOrder: 11
2019-10-29 10:53:45.744 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.chunkSize: 16777216
2019-10-29 10:53:45.744 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.tinyCacheSize: 512
2019-10-29 10:53:45.744 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.smallCacheSize: 256
2019-10-29 10:53:45.744 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.normalCacheSize: 64
2019-10-29 10:53:45.745 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxCachedBufferCapacity: 32768
2019-10-29 10:53:45.745 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.cacheTrimInterval: 8192
2019-10-29 10:53:45.745 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.cacheTrimIntervalMillis: 0
2019-10-29 10:53:45.745 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.useCacheForAllThreads: true
2019-10-29 10:53:45.745 DEBUG 25765 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023
2019-10-29 10:53:45.764 DEBUG 25765 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.allocator.type: pooled
2019-10-29 10:53:45.765 DEBUG 25765 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.threadLocalDirectBufferSize: 0
2019-10-29 10:53:45.765 DEBUG 25765 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.maxThreadLocalCharBufferSize: 16384
2019-10-29 10:53:49.891 DEBUG 25765 --- [er_worker][T#3]] io.netty.buffer.AbstractByteBuf          : -Dio.netty.buffer.checkAccessible: true
2019-10-29 10:53:49.891 DEBUG 25765 --- [er_worker][T#3]] io.netty.buffer.AbstractByteBuf          : -Dio.netty.buffer.checkBounds: true
2019-10-29 10:53:50.278 DEBUG 25765 --- [er_worker][T#3]] i.n.h.c.compression.ZlibCodecFactory     : -Dio.netty.noJdkZlibDecoder: false
2019-10-29 10:53:50.279 DEBUG 25765 --- [er_worker][T#3]] i.n.h.c.compression.ZlibCodecFactory     : -Dio.netty.noJdkZlibEncoder: false
2019-10-29 10:53:54.403 DEBUG 25765 --- [  restartedMain] i.g.j.c.apidoc.SwaggerAutoConfiguration  : Starting Swagger
2019-10-29 10:53:54.420 DEBUG 25765 --- [  restartedMain] i.g.j.c.apidoc.SwaggerAutoConfiguration  : Started Swagger in 16 ms
2019-10-29 10:53:55.756  INFO 25765 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : Started GaznaApp in 21.789 seconds (JVM running for 22.186)
2019-10-29 10:53:55.768  INFO 25765 --- [  restartedMain] com.nokat.gazna.GaznaApp                 : 
----------------------------------------------------------
    Application 'gazna' is running! Access URLs:
    Local:      http://localhost:8080/
    External:   http://127.0.1.1:8080/
    Profile(s):     [dev, swagger]
----------------------------------------------------------
^C[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  37.157 s
[INFO] Finished at: 2019-10-29T10:54:01+01:00
[INFO] ------------------------------------------------------------------------

10:54:02 in ~/tmp/jhipster on ๎‚  master [!] took 39s 

@nury-garryyev : maybe the problem comes from Windows environment. Can you try our DevBox, which uses Ubuntu, to be sure about the real origin ?

I can't reproduce the error in that repo but in my project I am also getting that error.
I use ubuntu and gradle.

> Task :bootRun
The Class-Path manifest attribute in /home/frodrigues/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-runtime-2.3.1.jar referenced one or more files that do not exist: file:/home/frodrigues/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/jaxb-api-2.3.1.jar,file:/home/frodrigues/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/txw2-2.3.1.jar,file:/home/frodrigues/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/istack-commons-runtime-3.0.7.jar,file:/home/frodrigues/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/stax-ex-1.8.jar,file:/home/frodrigues/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/FastInfoset-1.2.15.jar,file:/home/frodrigues/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.1/javax.activation-api-1.2.0.jar

        โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
        โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—
        โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—     โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
  โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•   โ•šโ•โ•โ•โ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•”โ•โ•โ•โ•   โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘
  โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•    โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘  โ•šโ–ˆโ–ˆโ•—
   โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•   โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•โ• โ•šโ•โ•       โ•šโ•โ•โ•โ•โ•โ•     โ•šโ•โ•    โ•šโ•โ•โ•โ•โ•โ•โ•โ• โ•šโ•โ•   โ•šโ•โ•

:: JHipster ๐Ÿค“  :: Running Spring Boot 2.1.9.RELEASE ::
:: https://www.jhipster.tech ::

2019-10-29 19:04:40.004  WARN 9085 --- [  restartedMain] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8761/config/brandenportal/dev/master": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)
2019-10-29 19:04:40.008  INFO 9085 --- [  restartedMain] p.b.brandenportal.BrandenportalApp       : The following profiles are active: dev
2019-10-29 19:04:42.654 DEBUG 9085 --- [  restartedMain] p.b.b.config.AsyncConfiguration          : Creating Async Task Executor
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils (file:/home/frodrigues/.m2/repository/org/springframework/spring-core/5.1.10.RELEASE/spring-core-5.1.10.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-10-29 19:04:42.759 DEBUG 9085 --- [  restartedMain] p.b.b.config.LiquibaseConfiguration      : Configuring Liquibase
2019-10-29 19:04:43.103  WARN 9085 --- [enportal-task-1] i.g.j.c.liquibase.AsyncSpringLiquibase   : Starting Liquibase asynchronously, your database might not be ready at startup!
2019-10-29 19:04:43.199 DEBUG 9085 --- [  restartedMain] p.b.b.config.CacheConfiguration          : Configuring Hazelcast
2019-10-29 19:04:43.216  WARN 9085 --- [  restartedMain] c.h.instance.HazelcastInstanceFactory    : Hazelcast is starting in a Java modular environment (Java 9 and newer) but without proper access to required Java packages. Use additional Java arguments to provide Hazelcast access to Java internal API. The internal API access is used to get the best performance results. Arguments to be used:
 --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
2019-10-29 19:04:43.259  WARN 9085 --- [  restartedMain] p.b.b.config.CacheConfiguration          : No discovery service is set up, Hazelcast cannot create a cluster.
2019-10-29 19:04:43.384  INFO 9085 --- [  restartedMain] com.hazelcast.instance.AddressPicker     : [LOCAL] [dev] [3.11.4] Prefer IPv4 stack is true, prefer IPv6 addresses is false
2019-10-29 19:04:43.406  INFO 9085 --- [  restartedMain] com.hazelcast.instance.AddressPicker     : [LOCAL] [dev] [3.11.4] Picked [10.56.0.90]:5701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=5701], bind any local is true
2019-10-29 19:04:43.432  INFO 9085 --- [  restartedMain] com.hazelcast.system                     : [10.56.0.90]:5701 [dev] [3.11.4] Hazelcast 3.11.4 (20190509 - d5ad9d4) starting at [10.56.0.90]:5701
2019-10-29 19:04:43.434  INFO 9085 --- [  restartedMain] com.hazelcast.system                     : [10.56.0.90]:5701 [dev] [3.11.4] Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
2019-10-29 19:04:43.434  INFO 9085 --- [  restartedMain] com.hazelcast.instance.Node              : [10.56.0.90]:5701 [dev] [3.11.4] A non-empty group password is configured for the Hazelcast member. Starting with Hazelcast version 3.8.2, members with the same group name, but with different group passwords (that do not use authentication) form a cluster. The group password configuration will be removed completely in a future release.
2019-10-29 19:04:43.784  INFO 9085 --- [  restartedMain] c.h.s.i.o.impl.BackpressureRegulator     : [10.56.0.90]:5701 [dev] [3.11.4] Backpressure is disabled
2019-10-29 19:04:44.477  INFO 9085 --- [  restartedMain] c.h.s.i.o.impl.OperationExecutorImpl     : [10.56.0.90]:5701 [dev] [3.11.4] Starting 4 partition threads and 3 generic threads (1 dedicated for priority tasks)
2019-10-29 19:04:44.543  INFO 9085 --- [  restartedMain] c.h.internal.diagnostics.Diagnostics     : [10.56.0.90]:5701 [dev] [3.11.4] Diagnostics disabled. To enable add -Dhazelcast.diagnostics.enabled=true to the JVM arguments.
2019-10-29 19:04:44.547  INFO 9085 --- [  restartedMain] com.hazelcast.core.LifecycleService      : [10.56.0.90]:5701 [dev] [3.11.4] [10.56.0.90]:5701 is STARTING
2019-10-29 19:04:44.640  WARN 9085 --- [  restartedMain] com.hazelcast.instance.Node              : [10.56.0.90]:5701 [dev] [3.11.4] No join method is enabled! Starting standalone.
2019-10-29 19:04:44.665  INFO 9085 --- [  restartedMain] com.hazelcast.core.LifecycleService      : [10.56.0.90]:5701 [dev] [3.11.4] [10.56.0.90]:5701 is STARTED
2019-10-29 19:04:45.721  INFO 9085 --- [  restartedMain] c.h.h.HazelcastCacheRegionFactory        : Starting up HazelcastCacheRegionFactory
2019-10-29 19:04:45.722  INFO 9085 --- [  restartedMain] c.h.h.i.IHazelcastInstanceFactory        : Using existing HazelcastInstance [brandenportal].
2019-10-29 19:04:46.406 DEBUG 9085 --- [enportal-task-1] i.g.j.c.liquibase.AsyncSpringLiquibase   : Liquibase has updated your database in 3303 ms
2019-10-29 19:04:46.819 DEBUG 9085 --- [  restartedMain] p.b.b.config.CacheConfiguration          : Starting HazelcastCacheManager
2019-10-29 19:04:47.092 DEBUG 9085 --- [  restartedMain] p.b.brandenportal.config.WebConfigurer   : Registering CORS filter
2019-10-29 19:04:47.136  INFO 9085 --- [  restartedMain] p.b.brandenportal.config.WebConfigurer   : Web application configuration, using profiles: dev
2019-10-29 19:04:47.137  INFO 9085 --- [  restartedMain] p.b.brandenportal.config.WebConfigurer   : Web application fully configured
2019-10-29 19:04:47.271 DEBUG 9085 --- [  restartedMain] p.b.b.security.jwt.TokenProvider         : Using a Base64-encoded JWT secret key
2019-10-29 19:04:47.549 DEBUG 9085 --- [  restartedMain] s.a.a.r.p.AwsRegionProviderChain         : Unable to load region from software.amazon.awssdk.regions.providers.SystemSettingsRegionProvider@64d8e956:Unable to load region from system settings. Region must be specified either via environment variable (AWS_REGION) or  system property (aws.region).
2019-10-29 19:04:48.022  INFO 9085 --- [  restartedMain] a.d.j.ElasticsearchJestAutoConfiguration : Create test ES node
2019-10-29 19:04:48.322 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : -Dio.netty.noUnsafe: false
2019-10-29 19:04:48.323 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : Java version: 11
2019-10-29 19:04:48.325 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : sun.misc.Unsafe.theUnsafe: available
2019-10-29 19:04:48.326 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : sun.misc.Unsafe.copyMemory: available
2019-10-29 19:04:48.327 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : java.nio.Buffer.address: available
2019-10-29 19:04:48.330 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : direct buffer constructor: unavailable

java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
        at io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31)
        at io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:224)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:218)
        at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:272)
        at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:92)
        at io.netty.util.ConstantPool.<init>(ConstantPool.java:32)
        at io.netty.util.AttributeKey$1.<init>(AttributeKey.java:27)
        at io.netty.util.AttributeKey.<clinit>(AttributeKey.java:27)
        at org.elasticsearch.transport.netty4.Netty4Transport.<clinit>(Netty4Transport.java:231)
        at org.elasticsearch.transport.Netty4Plugin.getSettings(Netty4Plugin.java:56)
        at org.elasticsearch.plugins.PluginsService.lambda$getPluginSettings$0(PluginsService.java:87)
        at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
        at org.elasticsearch.plugins.PluginsService.getPluginSettings(PluginsService.java:87)
        at org.elasticsearch.node.Node.<init>(Node.java:332)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration$InternalNode.<init>(ElasticsearchJestAutoConfiguration.java:202)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration.createInternalNode(ElasticsearchJestAutoConfiguration.java:169)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration.testClient(ElasticsearchJestAutoConfiguration.java:82)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration$$EnhancerBySpringCGLIB$$bf58e59a.CGLIB$testClient$2(<generated>)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration$$EnhancerBySpringCGLIB$$bf58e59a$$FastClassBySpringCGLIB$$f0f3150d.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
        at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration$$EnhancerBySpringCGLIB$$bf58e59a.testClient(<generated>)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:456)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1255)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1175)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:509)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:303)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1681)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1433)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1255)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1175)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1341)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:847)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
        at pt.branden.brandenportal.BrandenportalApp.main(BrandenportalApp.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)

2019-10-29 19:04:48.331 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : java.nio.Bits.unaligned: available, true
2019-10-29 19:04:48.332 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable

java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @20955380
        at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)
        at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:591)
        at java.base/java.lang.reflect.Method.invoke(Method.java:558)
        at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:334)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:325)
        at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:272)
        at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:92)
        at io.netty.util.ConstantPool.<init>(ConstantPool.java:32)
        at io.netty.util.AttributeKey$1.<init>(AttributeKey.java:27)
        at io.netty.util.AttributeKey.<clinit>(AttributeKey.java:27)
        at org.elasticsearch.transport.netty4.Netty4Transport.<clinit>(Netty4Transport.java:231)
        at org.elasticsearch.transport.Netty4Plugin.getSettings(Netty4Plugin.java:56)
        at org.elasticsearch.plugins.PluginsService.lambda$getPluginSettings$0(PluginsService.java:87)
        at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
        at org.elasticsearch.plugins.PluginsService.getPluginSettings(PluginsService.java:87)
        at org.elasticsearch.node.Node.<init>(Node.java:332)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration$InternalNode.<init>(ElasticsearchJestAutoConfiguration.java:202)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration.createInternalNode(ElasticsearchJestAutoConfiguration.java:169)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration.testClient(ElasticsearchJestAutoConfiguration.java:82)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration$$EnhancerBySpringCGLIB$$bf58e59a.CGLIB$testClient$2(<generated>)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration$$EnhancerBySpringCGLIB$$bf58e59a$$FastClassBySpringCGLIB$$f0f3150d.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
        at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363)
        at com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestAutoConfiguration$$EnhancerBySpringCGLIB$$bf58e59a.testClient(<generated>)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:456)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1255)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1175)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:509)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:303)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1681)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1433)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1255)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1175)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1341)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:847)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
        at pt.branden.brandenportal.BrandenportalApp.main(BrandenportalApp.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)

2019-10-29 19:04:48.338 DEBUG 9085 --- [  restartedMain] i.n.util.internal.PlatformDependent0     : java.nio.DirectByteBuffer.<init>(long, int): unavailable
2019-10-29 19:04:48.338 DEBUG 9085 --- [  restartedMain] i.netty.util.internal.PlatformDependent  : sun.misc.Unsafe: available
2019-10-29 19:04:48.338 DEBUG 9085 --- [  restartedMain] i.netty.util.internal.PlatformDependent  : maxDirectMemory: 4183818240 bytes (maybe)
2019-10-29 19:04:48.339 DEBUG 9085 --- [  restartedMain] i.netty.util.internal.PlatformDependent  : -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
2019-10-29 19:04:48.339 DEBUG 9085 --- [  restartedMain] i.netty.util.internal.PlatformDependent  : -Dio.netty.bitMode: 64 (sun.arch.data.model)
2019-10-29 19:04:48.339 DEBUG 9085 --- [  restartedMain] i.netty.util.internal.PlatformDependent  : -Dio.netty.maxDirectMemory: -1 bytes
2019-10-29 19:04:48.340 DEBUG 9085 --- [  restartedMain] i.netty.util.internal.PlatformDependent  : -Dio.netty.uninitializedArrayAllocationThreshold: -1
2019-10-29 19:04:48.340 DEBUG 9085 --- [  restartedMain] io.netty.util.internal.CleanerJava9      : java.nio.ByteBuffer.cleaner(): available
2019-10-29 19:04:48.340 DEBUG 9085 --- [  restartedMain] i.netty.util.internal.PlatformDependent  : -Dio.netty.noPreferDirect: false
2019-10-29 19:04:48.471  WARN 9085 --- [  restartedMain] o.e.deprecation.script.ScriptModule      : Script: returning default values for missing document values is deprecated. Set system property '-Des.scripting.exception_for_missing_value=true' to make behaviour compatible with future major versions.
2019-10-29 19:04:49.534 DEBUG 9085 --- [  restartedMain] i.n.channel.MultithreadEventLoopGroup    : -Dio.netty.eventLoopThreads: 8
2019-10-29 19:04:49.542 DEBUG 9085 --- [  restartedMain] i.n.u.internal.InternalThreadLocalMap    : -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
2019-10-29 19:04:49.542 DEBUG 9085 --- [  restartedMain] i.n.u.internal.InternalThreadLocalMap    : -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
2019-10-29 19:04:49.546 DEBUG 9085 --- [  restartedMain] io.netty.channel.nio.NioEventLoop        : -Dio.netty.noKeySetOptimization: false
2019-10-29 19:04:49.546 DEBUG 9085 --- [  restartedMain] io.netty.channel.nio.NioEventLoop        : -Dio.netty.selectorAutoRebuildThreshold: 512
2019-10-29 19:04:49.550 DEBUG 9085 --- [  restartedMain] i.netty.util.internal.PlatformDependent  : org.jctools-core.MpscChunkedArrayQueue: available
2019-10-29 19:04:49.565 DEBUG 9085 --- [  restartedMain] io.netty.channel.DefaultChannelId        : -Dio.netty.processId: 9085 (auto-detected)
2019-10-29 19:04:49.566 DEBUG 9085 --- [  restartedMain] io.netty.util.NetUtil                    : -Djava.net.preferIPv4Stack: false
2019-10-29 19:04:49.566 DEBUG 9085 --- [  restartedMain] io.netty.util.NetUtil                    : -Djava.net.preferIPv6Addresses: false
2019-10-29 19:04:49.567 DEBUG 9085 --- [  restartedMain] io.netty.util.NetUtil                    : Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo)
2019-10-29 19:04:49.567 DEBUG 9085 --- [  restartedMain] io.netty.util.NetUtil                    : /proc/sys/net/core/somaxconn: 128
2019-10-29 19:04:49.568 DEBUG 9085 --- [  restartedMain] io.netty.channel.DefaultChannelId        : -Dio.netty.machineId: 38:d5:47:ff:fe:28:2f:2d (auto-detected)
2019-10-29 19:04:49.575 DEBUG 9085 --- [  restartedMain] io.netty.util.ResourceLeakDetector       : -Dio.netty.leakDetection.level: simple
2019-10-29 19:04:49.575 DEBUG 9085 --- [  restartedMain] io.netty.util.ResourceLeakDetector       : -Dio.netty.leakDetection.targetRecords: 4
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.numHeapArenas: 8
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.numDirectArenas: 8
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.pageSize: 8192
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxOrder: 11
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.chunkSize: 16777216
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.tinyCacheSize: 512
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.smallCacheSize: 256
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.normalCacheSize: 64
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxCachedBufferCapacity: 32768
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.cacheTrimInterval: 8192
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.cacheTrimIntervalMillis: 0
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.useCacheForAllThreads: true
2019-10-29 19:04:49.587 DEBUG 9085 --- [  restartedMain] io.netty.buffer.PooledByteBufAllocator   : -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023
2019-10-29 19:04:49.593 DEBUG 9085 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.allocator.type: pooled
2019-10-29 19:04:49.593 DEBUG 9085 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.threadLocalDirectBufferSize: 0
2019-10-29 19:04:49.593 DEBUG 9085 --- [  restartedMain] io.netty.buffer.ByteBufUtil              : -Dio.netty.maxThreadLocalCharBufferSize: 16384
2019-10-29 19:04:53.054 DEBUG 9085 --- [er_worker][T#3]] io.netty.buffer.AbstractByteBuf          : -Dio.netty.buffer.checkAccessible: true
2019-10-29 19:04:53.055 DEBUG 9085 --- [er_worker][T#3]] io.netty.buffer.AbstractByteBuf          : -Dio.netty.buffer.checkBounds: true
2019-10-29 19:04:53.055 DEBUG 9085 --- [er_worker][T#3]] i.n.util.ResourceLeakDetectorFactory     : Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@3be4f694
2019-10-29 19:04:53.138 DEBUG 9085 --- [er_worker][T#3]] io.netty.util.Recycler                   : -Dio.netty.recycler.maxCapacityPerThread: 4096
2019-10-29 19:04:53.138 DEBUG 9085 --- [er_worker][T#3]] io.netty.util.Recycler                   : -Dio.netty.recycler.maxSharedCapacityFactor: 2
2019-10-29 19:04:53.138 DEBUG 9085 --- [er_worker][T#3]] io.netty.util.Recycler                   : -Dio.netty.recycler.linkCapacity: 16
2019-10-29 19:04:53.138 DEBUG 9085 --- [er_worker][T#3]] io.netty.util.Recycler                   : -Dio.netty.recycler.ratio: 8
2019-10-29 19:04:53.177 DEBUG 9085 --- [er_worker][T#3]] rest.suppressed                          : path: /user, params: {index=user}

org.elasticsearch.index.IndexNotFoundException: no such index
        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.indexNotFoundException(IndexNameExpressionResolver.java:719)
        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.innerResolve(IndexNameExpressionResolver.java:671)
        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:627)
        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:163)
        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndexNames(IndexNameExpressionResolver.java:142)
        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndexNames(IndexNameExpressionResolver.java:75)
        at org.elasticsearch.action.admin.indices.get.TransportGetIndexAction.checkBlock(TransportGetIndexAction.java:78)
        at org.elasticsearch.action.admin.indices.get.TransportGetIndexAction.checkBlock(TransportGetIndexAction.java:51)
        at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.doStart(TransportMasterNodeAction.java:136)
        at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.start(TransportMasterNodeAction.java:127)
        at org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:105)
        at org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:55)
        at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:167)
        at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:139)
        at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:81)
        at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:87)
        at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:76)
        at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:407)
        at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.execute(AbstractClient.java:1260)
        at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.getIndex(AbstractClient.java:1361)
        at org.elasticsearch.rest.action.admin.indices.RestGetIndicesAction.lambda$prepareRequest$0(RestGetIndicesAction.java:68)
        at org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:97)
        at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:239)
        at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:335)
        at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:173)
        at org.elasticsearch.http.netty4.Netty4HttpServerTransport.dispatchRequest(Netty4HttpServerTransport.java:538)
        at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:137)
        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
        at org.elasticsearch.http.netty4.pipelining.HttpPipeliningHandler.channelRead(HttpPipeliningHandler.java:68)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
        at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
        at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:287)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:697)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:632)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:549)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:511)
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at java.base/java.lang.Thread.run(Thread.java:834)

2019-10-29 19:04:53.194 DEBUG 9085 --- [  restartedMain] c.g.v.s.jest.mapper.DefaultErrorMapper   : Cannot execute jest action , response code : 404 , error : 404 Not Found , message : null
2019-10-29 19:04:53.293 DEBUG 9085 --- [pdateTask][T#1]] rest.suppressed                          : path: /user, params: {index=user}

org.elasticsearch.ResourceAlreadyExistsException: index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexName(MetaDataCreateIndexService.java:145)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:584)
        at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$IndexCreationTask.execute(MetaDataCreateIndexService.java:283)
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
        at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:639)
        at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:268)
        at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:198)
        at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:133)
        at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150)
        at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188)
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:624)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:244)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:207)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)

2019-10-29 19:04:53.300 DEBUG 9085 --- [er_worker][T#3]] i.n.h.c.compression.ZlibCodecFactory     : -Dio.netty.noJdkZlibDecoder: false
2019-10-29 19:04:53.300 DEBUG 9085 --- [er_worker][T#3]] i.n.h.c.compression.ZlibCodecFactory     : -Dio.netty.noJdkZlibEncoder: false
2019-10-29 19:04:53.325 ERROR 9085 --- [  restartedMain] c.g.v.s.jest.mapper.DefaultErrorMapper   : Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"}],"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"} , message : null
2019-10-29 19:04:53.326  WARN 9085 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [/home/frodrigues/Development/brandenportal-server/build/classes/java/main/pt/branden/brandenportal/service/UserService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"}],"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"} , message : null
2019-10-29 19:04:53.326  INFO 9085 --- [  restartedMain] a.d.j.ElasticsearchJestAutoConfiguration : Closing Elasticsearch client
2019-10-29 19:04:53.331 DEBUG 9085 --- [er_worker][T#3]] io.netty.buffer.PoolThreadCache          : Freed 6 thread-local buffer(s) from thread: elasticsearch[R9P2atT][http_server_worker][T#3]
2019-10-29 19:04:53.429 DEBUG 9085 --- [nnection-reaper] s.a.a.h.a.i.conn.IdleConnectionReaper    : Reaper thread: 

java.lang.InterruptedException: sleep interrupted
        at java.base/java.lang.Thread.sleep(Native Method)
        at software.amazon.awssdk.http.apache.internal.conn.IdleConnectionReaper$ReaperTask.run(IdleConnectionReaper.java:150)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)

2019-10-29 19:04:53.429 DEBUG 9085 --- [nnection-reaper] s.a.a.h.a.i.conn.IdleConnectionReaper    : Shutting down reaper thread.
2019-10-29 19:04:53.430  INFO 9085 --- [  restartedMain] c.h.h.HazelcastCacheRegionFactory        : Shutting down HazelcastCacheRegionFactory
2019-10-29 19:04:53.430  WARN 9085 --- [  restartedMain] c.h.h.i.IHazelcastInstanceFactory        : hibernate.cache.hazelcast.shutdown_on_session_factory_close property is set to 'false'. Leaving current HazelcastInstance active! (Warning: Do not disable Hazelcast hazelcast.shutdownhook.enabled property!)
2019-10-29 19:04:53.434  INFO 9085 --- [  restartedMain] com.hazelcast.core.LifecycleService      : [10.56.0.90]:5701 [dev] [3.11.4] [10.56.0.90]:5701 is SHUTTING_DOWN
2019-10-29 19:04:53.438  INFO 9085 --- [  restartedMain] com.hazelcast.instance.Node              : [10.56.0.90]:5701 [dev] [3.11.4] Shutting down connection manager...
2019-10-29 19:04:53.441  INFO 9085 --- [  restartedMain] com.hazelcast.instance.Node              : [10.56.0.90]:5701 [dev] [3.11.4] Shutting down node engine...
2019-10-29 19:04:53.460  INFO 9085 --- [  restartedMain] com.hazelcast.instance.NodeExtension     : [10.56.0.90]:5701 [dev] [3.11.4] Destroying node NodeExtension.
2019-10-29 19:04:53.460  INFO 9085 --- [  restartedMain] com.hazelcast.instance.Node              : [10.56.0.90]:5701 [dev] [3.11.4] Hazelcast Shutdown is completed in 23 ms.
2019-10-29 19:04:53.485  INFO 9085 --- [  restartedMain] com.hazelcast.core.LifecycleService      : [10.56.0.90]:5701 [dev] [3.11.4] [10.56.0.90]:5701 is SHUTDOWN
2019-10-29 19:04:53.486  INFO 9085 --- [  restartedMain] p.b.b.config.CacheConfiguration          : Closing Cache Manager
2019-10-29 19:04:53.528 ERROR 9085 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [/home/frodrigues/Development/brandenportal-server/build/classes/java/main/pt/branden/brandenportal/service/UserService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"}],"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"} , message : null
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1341)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:847)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
        at pt.branden.brandenportal.BrandenportalApp.main(BrandenportalApp.java:81)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"}],"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"} , message : null
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1255)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1175)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)
        ... 22 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"}],"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"} , message : null
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:184)
        at org.springframework.data.repository.core.support.RepositoryFactorySupport.lambda$getTargetRepositoryViaReflection$3(RepositoryFactorySupport.java:513)
        at java.base/java.util.Optional.map(Optional.java:265)
        at org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepositoryViaReflection(RepositoryFactorySupport.java:513)
        at org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepositoryViaReflection(RepositoryFactorySupport.java:498)
        at org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactory.getTargetRepository(ElasticsearchRepositoryFactory.java:74)
        at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:305)
        at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:297)
        at org.springframework.data.util.Lazy.getNullable(Lazy.java:211)
        at org.springframework.data.util.Lazy.get(Lazy.java:94)
        at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300)
        at org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactoryBean.afterPropertiesSet(ElasticsearchRepositoryFactoryBean.java:67)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)
        ... 33 common frames omitted
Caused by: com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"}],"type":"resource_already_exists_exception","reason":"index [user/jqpvlwOQQ1SIzMYmzIpsVg] already exists","index_uuid":"jqpvlwOQQ1SIzMYmzIpsVg","index":"user"} , message : null
        at com.github.vanroy.springdata.jest.mapper.DefaultErrorMapper.mapError(DefaultErrorMapper.java:30)
        at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.execute(JestElasticsearchTemplate.java:1126)
        at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.executeWithAcknowledge(JestElasticsearchTemplate.java:1136)
        at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndex(JestElasticsearchTemplate.java:197)
        at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndexWithSettings(JestElasticsearchTemplate.java:1345)
        at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndexIfNotCreated(JestElasticsearchTemplate.java:1330)
        at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndex(JestElasticsearchTemplate.java:178)
        at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.createIndex(AbstractElasticsearchRepository.java:96)
        at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.<init>(AbstractElasticsearchRepository.java:87)
        at org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository.<init>(NumberKeyedRepository.java:36)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)
        ... 46 common frames omitted


> Task :bootRun FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootRun'.
> Process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/java'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 22s
6 actionable tasks: 1 executed, 5 up-to-date

@FRodrigues-BrandenPT your issue seems different. It looks more like a jdk 11 specific issue, similar to https://stackoverflow.com/questions/57885828/netty-cannot-access-class-jdk-internal-misc-unsafe Have a look at https://github.com/wso2/streaming-integrator/issues/40

@gmarziou Thank you for your suggestion. I already fixed the netty access but unfortunately the elasticsearch problem still persists.

Made a repo with code that sometimes throws the exception if we re-run.
https://github.com/FRodrigues-BrandenPT/brandenportal-test

@nury-garryyev : maybe the problem comes from Windows environment. Can you try our DevBox, which uses Ubuntu, to be sure about the real origin ?

@pascalgrimaud : I run several times on Ubuntu and it works without errors. You're right. The problem is in the Windows environment.
In our company, we are working on Windows 8. We must fix this problem in order to continue working with JHipster. Any suggestions on how to solve this issue?

Thanks for your feedback.
So the problem is related to Windows.

What I can suggest is :

  • edit your application-dev.yml to use the same Elasticsearch config in application-prod.yml
  • start your own Elasticsearch or use the provided docker-compose file
  • start your app in dev

The goal is to use a real Elasticsearch in dev, instead of an embedded one, as it looks like you got some problem with target / nodes folder

  1. Edited application-dev.yml
  2. Started Elasticsearch
  3. Started app in dev
  4. Error JestElasticsearchException
2019-10-31 13:58:37.420 ERROR 7064 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [D:\Projects\JHipster\Gazna\backend\target\classes\com\nokat\gazna\service\UserService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"parse_exception","reason":"unknown key [index.refresh_interval] for create index"}],"type":"parse_exception","reason":"unknown key [index.refresh_interval] for create index"} , message : null
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1341)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:847)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
    at com.nokat.gazna.GaznaApp.main(GaznaApp.java:63)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"parse_exception","reason":"unknown key [index.refresh_interval] for create index"}],"type":"parse_exception","reason":"unknown key [index.refresh_interval] for create index"} , message : null
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1255)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1175)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)
    ... 22 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; nested exception is com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"parse_exception","reason":"unknown key [index.refresh_interval] for create index"}],"type":"parse_exception","reason":"unknown key [index.refresh_interval] for create index"} , message : null
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:184)
    at org.springframework.data.repository.core.support.RepositoryFactorySupport.lambda$getTargetRepositoryViaReflection$3(RepositoryFactorySupport.java:513)
    at java.base/java.util.Optional.map(Optional.java:265)
    at org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepositoryViaReflection(RepositoryFactorySupport.java:513)
    at org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepositoryViaReflection(RepositoryFactorySupport.java:498)
    at org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactory.getTargetRepository(ElasticsearchRepositoryFactory.java:74)
    at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:305)
    at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:297)
    at org.springframework.data.util.Lazy.getNullable(Lazy.java:211)
    at org.springframework.data.util.Lazy.get(Lazy.java:94)
    at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300)
    at org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactoryBean.afterPropertiesSet(ElasticsearchRepositoryFactoryBean.java:67)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)
    ... 33 common frames omitted
Caused by: com.github.vanroy.springdata.jest.exception.JestElasticsearchException: Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"parse_exception","reason":"unknown key [index.refresh_interval] for create index"}],"type":"parse_exception","reason":"unknown key [index.refresh_interval] for create index"} , message : null
    at com.github.vanroy.springdata.jest.mapper.DefaultErrorMapper.mapError(DefaultErrorMapper.java:30)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.execute(JestElasticsearchTemplate.java:1126)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.executeWithAcknowledge(JestElasticsearchTemplate.java:1136)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndex(JestElasticsearchTemplate.java:197)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndexWithSettings(JestElasticsearchTemplate.java:1345)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndexIfNotCreated(JestElasticsearchTemplate.java:1330)
    at com.github.vanroy.springdata.jest.JestElasticsearchTemplate.createIndex(JestElasticsearchTemplate.java:178)
    at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.createIndex(AbstractElasticsearchRepository.java:96)
    at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.<init>(AbstractElasticsearchRepository.java:87)
    at org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository.<init>(NumberKeyedRepository.java:36)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)
    ... 46 common frames omitted


Process finished with exit code 0

The problem is solved. Thanks.

I used my own Elasticsearch in dev as @pascalgrimaud advised.
But I got an error again. I found a solution for the error in #10003.
I downgraded the Elasticsearch version to 6.4.3.
Finally, it is working without any error.

P.S. The bug is still remaining with an embedded Elasticsearch in the Windows environment.

Good to know.
I can't help as I don't have a Windows machine and lack of time for building a VM with Windows

Thanks for your feedback.
So the problem is related to Windows.

What I can suggest is :

  • edit your application-dev.yml to use the same Elasticsearch config in application-prod.yml
  • start your own Elasticsearch or use the provided docker-compose file
  • start your app in dev

The goal is to use a real Elasticsearch in dev, instead of an embedded one, as it looks like you got some problem with target / nodes folder

This works in Ubuntu, thanks @pascalgrimaud

Here is my workaroud: Add

spring.data.jest.read-timeout

with longer value. Default is 5000ms in com.github.vanroy.springboot.autoconfigure.data.jest.ElasticsearchJestProperties.class.

spring:
  data:
    elasticsearch:
      properties:
        path:
          home: target/elasticsearch
    jest:
      read-timeout: 15000

I have this problem on MAC when I am debugging my APP in STS version 4.6.0-RELEASE. When I change a line of code in STS, the app recompiles but fails to reload and dies because of this exception.

I have to delete the folder elasticsearch in build folder BEFORE making a change in the code (and then the hotloading works).

Also, there is no "read-timeout" setting anywhere (I am using jhipster 6.8.0).

However, the solution above (@pascalgrimaud) to modify application-dev.yml and make it similar to application-prod.yml and use an external elasticsearch version fixed the issue for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frantzynicolas picture frantzynicolas  ยท  3Comments

sdoxsee picture sdoxsee  ยท  4Comments

marcelinobadin picture marcelinobadin  ยท  3Comments

tomj0101 picture tomj0101  ยท  3Comments

trajakovic picture trajakovic  ยท  4Comments